How to change the IntelliJ IDEA JDK version?

This article shows you how to update the IntelliJ IDEA to use the new JDK 13. 1. On the menu, clicks File -> Project Structure 2. Platform Settings -> SDKs, add and point to the JDK 13 installed folder. 3. Project Settings -> Project, change both Project SDK and Project language level to JDK 13. …

Read more

Where to download Java JDK source code ?

The JDK source code is inside the src.zip, this article shows you how to get it on Windows, Ubuntu (Linux) and Mac OSX. 1. Windows In Windows, visit the Oracle website and download the JDK (not JRE). Install the JDK and the src.zip is inside the JDK installed folder, for example : C:\Program Files\Java\jdk1.7.0_40\src.zip 2. …

Read more

Download JDK Source code for Mac OS X

The JDK source code is packaged in a src.jar, and should be in the JDK/Home folder. However, some JDK versions in Mac OSX didn’t include the source code or Javadoc. Try find it : sudo find / -name src.jar If you couldn’t find the src.jar, then get it from Apple developer website. 1. Download from …

Read more

Maven : generics are not supported in -source 1.3

Problem Maven as project build tool. Using Java generic function, when build with Maven, get this error message generics are not supported in -source 1.3 (use -source 5 or higher to enable generics) Solution You need to tell Maven to use JDK 1.5 to compile your source code explicitly. Declare Maven compiler plugin (maven-compiler-plugin) in …

Read more

How to install java jdk on fedora core (linux)

How to install java jdk on fedora core? here i provide few steps to demonstrate how it’s work. Installation Setup 1 ) Please visit sun java website to download any java jdk version you like. http://java.sun.com/javase/downloads/index.jsp 2 ) Click download, select Linux platform, language and accept license and continue. 3 ) Select “Linux RPM in …

Read more