The reference programming language is Java 8, the platform version is JDK 11
The corresponding implementation can be downloaded from AWS’s web site at: https://docs.aws.amazon.com/corretto/latest/corretto-11-ug/downloads-list.html
Recommended version: 64bit for your system.
The reference IDE version is Eclipse IDE – 2020-12 R
Can be downloaded from Eclipse web site at the following URL: https://www.eclipse.org/downloads/packages/release/2020-12/r
The recommended version is Eclipse IDE for Java Developers
When choosing between 32 and 64 bits be consistent with the version you picked for the Java platform.
After installing Eclipse, you must also install the Subclipse plugin as explained here.
From a command line prompt write java -version
, you should get the system default version (Note: it could be not the 11 you installed but a newer one).
If the java
command is not found but you did installed it, try finding the location
If you had previously installed a newer version of Java it is possible that the system defaults to that version. Here is a list of possible location for the JVM executable:
Mac OS X
From command line (Terminal), type the command: /usr/libexec/java_home -v 11
to get the actual path or `/usr/libexec/java_home --verbose
to get a list of installed versions.
/Library/Java/JavaVirtualMachines/amazon-corretto-11.jdk/Contents/Home
Windows
From a command line (Cmd), type the command where java
to the the actual path
C:\Program Files\Java\jdk1.11\bin\java.exe
Linux
From a shell, type the command readlink -f $(which java)
to get the actual path.
/usr/lib/jvm/java-11-corretto-amd64/bin/java
If no installation could be found try re-installing.
A final check can be performed trying to run the JVM (that is located inside the bin
subfolder) with the -version
flag, e.g.:
/Library/Java/JavaVirtualMachines/amazon-corretto-11.jdk/Contents/Home/bin/java -version
C:\Program Files\Java\jdk11\bin\java.exe -version