
- COMMAND LINE JAVA SE DEVELOPMENT KIT 10 INSTALLATION INSTALL
- COMMAND LINE JAVA SE DEVELOPMENT KIT 10 INSTALLATION CODE
If that’s not the case on your system, post on Piazza to get help configuring your prompt. On a well-configured system, your current directory is displayed as part of the prompt that the system shows when it’s ready to receive a command.


Prints out the current directory, if you’re not sure where you are. to move to the parent directory of your current directory. If you’re in a directory that has a subdirectory called hello, then cd hello moves into that subdirectory. Select Java 10, click “Edit…”, and in the “Default VM arguments” box enter: -ea (which stands for enable assertions).
COMMAND LINE JAVA SE DEVELOPMENT KIT 10 INSTALLATION CODE
Go to Java → Compiler and set “Compiler compliance level” to 10.Īssertions are a great tool for keeping your code safe from bugs, but Java has them off by default. In preferences, go to Java → Installed JREs.Įnsure that “Java SE 10” or “10.0.2” is the only one checked. Make sure Eclipse is configured to use Java 10. Windows and Linux: go to Window → Preferences. Wait for the progress spinner at the bottom of the Eclipse window to complete. Settings for Checkstyle and other plug-ins. No tabs: use spaces instead of tabs, so your code looks the same in all editors regardless of how that editor displays tab characters.Ĭompiler warnings: enable extra warnings for mistakes you must avoid in this class. Go to Help → Perform Setup Tasks… and click Finish to set 6.031 defaults, including: When Eclipse launches, you can dismiss the welcome screen by clicking Workbench in the top right corner. Select a directory as workspace: the installer automatically launches Eclipse, which will prompt you for a workspace location.Įclipse will store configuration data in this folder. When the installer is done, click Finish to close it. Unsigned Content: during the installation, you will be asked to confirm the installation of 6.031’s unsigned plug-ins. (If you change either of these, you must use locations with no spaces in their names.įor example, using “Program Files” on Windows will not work.)
COMMAND LINE JAVA SE DEVELOPMENT KIT 10 INSTALLATION INSTALL
That folder will go inside the root install folder - by default, your home directory, but you can Browse to pick a different one. Variables: if you want, you can change the installation folder name. Projects: do not select anything, click Next. The product Eclipse for 6.031 should be selected. (If asked whether to “keep the installer in a permanent location,” click No.)

Click the hamburger menu in the top right corner.
