Setup for Java Modules and New Features
Required Software
- Required: 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 - Windows 10, 10, etc. - labs have not been tested on Windows 8 variants)
- Recommended: Internet access
- Recommended: Class machines networked together - allows students to access a shared network directory.
- Required: Zip utility. A good free one is 7-zip
- Required: Adobe Acrobat Reader
Instructions
Lab Files
Each student must have lab files installed (links to these files are generally sent separately via e-mail).
- Extract the lab files to a location conveniently accessible to the student (e.g. C:\ )
- If using folder other than C:\, make sure that students know where they are.
Install Java Development Kit – JDK 11 (11.0.6)
- Note that any JDK 11 version should work fine. Other close later Java versions (e.g. Java 12 or 13) should be fine also, but have not been tested.
- From https://www.oracle.com/technetwork/java/javase/downloads/jdk11-downloads-5066655.html download the installer file for your OS
- File name is something like: jdk-11.0.6_windows-x64_bin.exe
- Run the installer and take all defaults.
- 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\Java\jdk-11.0.6 (or adjust to the actual path where you installed the JDK – 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 2019-12 (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:
- Try a direct link first:
- https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/2019-12/R/eclipse-jee-2019-12-R-win32-x86_64.zipIf you have problems with a direct link, follow the instructions below
- Go to https://www.eclipse.org/downloads/packages/release/2019-12/r
- Look for the heading “Eclipse IDE 2019-12 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-2019-12-R-win32-x86_64.zip
- Extract:
- Unzip the file - Can extract to C:\, or other location convenient to student (as long as they know it, and can access it)
- 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: