Setup for Intermediate/Advanced Java (Java 11+) Training
Required Software
- Intel-compatible processor (with reasonably recent hardware).
- Memory: 8GB min recommended
- Disk Space: Free disk space for software installs (generally minimum 2GB)
- Operating System: Windows OS (Any modern version - e.g. Windows 10. - labs have not been tested on Windows 8 variants)
- Zip utility (you can use 7-zip, an open source zip utility, if you don't already have one - http://www.7-zip.org/)
- Adobe Acrobat Reader: http://get.adobe.com/reader/
- Internet access
Instructions
Download and Install Java
- Download the Amazon Coretto 11 JDK. Scroll through the list of download links to find your operating system. Click on the download link for your operating system. For example, for Windows x64 download the .msi file.
- Install the JDK on your computer. For example, for Windows x64 double click the .msi file to install the JDK.
- 3. Create or modify environment variables as appropriate for your OS. This will add an environment variable JAVA_HOME, and modify your path to include the jdk bin folder
- JAVA_HOME:
- Right click My Computer and choose Properties > click the Advanced tab > click the Environment Variables button
- In the bottom half of the dialog, click New to add a new System variable
- Variable name: JAVA_HOME (this is case-sensitive)
- Variable value: C:\Program Files\Amazon Coretto\jdk11.0.9_12 (your version number might be slightly different, – please double-check this path – probably best to copy and paste it).
- Click OK
- Path:
- Find this existing entry in the bottom half of the Environment Variables button, and click Edit
- Click in the Variable value field and move your cursor all the way to the left (pressing Home on your keyboard should do this quickly for you)
- Check whether the value below is already present, or add it at the beginning if necessary (make sure you get all of this, including the trailing semicolon, with no spaces):
%JAVA_HOME%\bin;
- Click OK repeatedly (likely in 3 different dialogs) until all the dialogs close.
- JAVA_HOME:
- Open a terminal prompt, type the below, and press Enter
javac -version
- You should get a message that tells you the version. If the command is not found, you did something wrong.
- Close the terminal prompt. You’re done installing Java
Install Eclipse 2020-03 (or later) for Enterprise Java Developers (Windows OS - 64 bit only)
Later or earlier editions should work fine. NOTE: You need at least the 2018-12 edition for full Java 11 support, so don’t use an earlier one if using Java 11.
- Download Eclipse from: https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/2020-03/R/eclipse-jee-2020-03-R-incubation-win32-x86_64.zip
- If you have problems with the above link, follow the instructions below:
- Go to https://www.eclipse.org/downloads/packages/release/2020-03/r
- Look for the heading “Eclipse IDE 2020-03 R Packages” and the download areas below it. This is below the top banner on the page. Do NOT use the Download button in the banner.
- Find the section for “Eclipse IDE for Enterprise Java Developers”
- Click the link next to Windows 64 bit
- For Windows (64 bit only) the file will have a name like eclipse-jee-2020-03-R-incubation-win32-x86_64.zip
- If you have problems with the above link, follow the instructions below:
- Extract:
- Unzip the file to C:\ or to another convenient location.
- Test
- Execute the program (double click on the eclipse.exe executable, or a shortcut for it)
- Accept the default workspace, and let it load
- Quit Eclipse
- That’s it. You’re done installing Eclipse.
Courses and Class Files
This setup page is used for the following course:
Courses
- Intermediate/Advanced Java Training.
- All students should download the following class files: