2. Setup Local Environment - potatoscript/java GitHub Wiki
The following are the steps to set up the environment for developing JAVA.
-
Get the JAVA SE from https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html for free. Get the version depend on your operating system.
-
After download and install the JAVA SE on your machine, you will need to set up your machine to let it point to the "bin" directory of the JAVA SE that installed. To do this you need to set it as your machine's environment variables as below:
■ Right-click on "PC" and select "Properties". (as shown in the image below)
■ Click the "System Detail Setting" in the next popup window as shown below.
■ In the next window, select the "Detail Setting" then click the "Environment Variables" button as shown below.
■ Next Double Click on "Path" and press the "New" button and key in the Java "bin" address as shown below:
■ press OK and restart your machine and you are done.