Difference between revisions of "Setting up Java"

From Exilent
Line 17: Line 17:
 
To do this, navigate to '''/Library/Java/JavaVirtualMachines/''' in your file explorer and delete the folders which are not Java 8.
 
To do this, navigate to '''/Library/Java/JavaVirtualMachines/''' in your file explorer and delete the folders which are not Java 8.
  
== Install Java 8 ==
+
== Install Java 12 ==
  
 
Search for '''java 8 jdk''' in Google.  
 
Search for '''java 8 jdk''' in Google.  
Line 23: Line 23:
 
[https://www.google.com/search?q=java+8+jdk https://www.google.com/search?q=java+8+jdk]
 
[https://www.google.com/search?q=java+8+jdk https://www.google.com/search?q=java+8+jdk]
  
It should be the first result (Java SE Development Kit 8).
+
It should be the first result (Java SE Development Kit 12 - Downloads - Oracle).
  
 
*Accept the License Agreement
 
*Accept the License Agreement

Revision as of 11:32, 4 May 2019

Exilent requires the latest Java 12 JDK.

There can be several Java versions installed on your computer. When you double click a JAR file it will be executed on the Java version which is set as default.

RhBjx8v.png

Verify default Java version

Open up a Command Prompt/Terminal and type java -version. This will print out the current default Java version.

giWilQt.png

1.8.x means Java 8, if you have anything else then you need to follow the next steps.

Removing other Java versions

If you are on Mac you must remove other versions of Java before installing Java 8.

To do this, navigate to /Library/Java/JavaVirtualMachines/ in your file explorer and delete the folders which are not Java 8.

Install Java 12

Search for java 8 jdk in Google.

https://www.google.com/search?q=java+8+jdk

It should be the first result (Java SE Development Kit 12 - Downloads - Oracle).

  • Accept the License Agreement
  • Select the version you need (Linux/Mac/Windows). You should pick the x64 version over the x86.
  • Download and install it.
  • Restart your computer if it says its required.

See also: Downloads