Java Tutorial - Setup

This tutorial will show how to setup the Java JDK (Java SE Development Kit) and how to setup the variables needed to run Minecraft, ForgeGradle and Eclipse.

This tutorial is made for Flan's Mod 5.0, and Minecraft 1.8., ForgeGradle 1.8-11.14.3.1502 is used. But all steps shown here are also working with ForgeGradle for MC 1.72 and 1.7.10.

I used the last Src version. The newer Mdk version seems to be not ok currently (22.09.2015).

 

Preparations:

  1. Internet must be available the whole time during installation.

 

1. Setup Java

  1. Go to http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html


  2. Select the version for your system and download it.


  3. Execute the just downloaded file.


  4. Let all options marked. This will install JDK and JRE as well.


  5. This installation will start with the JRE.


  6. This will take few minutes.


  7. After this, the JDK will be installed.


  8. When this is also finished, then close the setup.

 

2. Setup Java Windows System Variables

  1. Now we have to set the windows system variables. For this go to start and right-click on Computer. Then select properties.


  2. Select Avanced Systemsettings.


    1. Click the Advanced tab, Click the Environment Variables button


  3. You will see you system variables.


  4. Select Path and edit the entry till it also contains the path to the bin folder inside the java folder. The bin folder contains the executable files. E.g. c:\Program Files\Java\jdk1.8.0_60\bin; Use ";" to seperate the paths from the next one.


  5. Select JAVA_HOME (or create it with new) and edit the entry till it also contains the path to the java folder, e.g. c:\Program Files\Java\jdk1.8.0_60\


  6. Save the Settings with OK. Your system is now ready to run java.

 

Comments (0)

There are no comments posted here yet

Leave your comments

Posting comment as a guest. Sign up or login to your account.
Attachments (0 / 3)
Share Your Location
 
Latest Forum Posts
 
Latest Blog Posts
 
User Online
 
User Menu