Difference between revisions of "Setting up Java"

From Exilent
Line 19: Line 19:
 
== Installing latest Java ==
 
== Installing latest Java ==
  
Search for '''java 13 jdk''' in Google.
+
Go to: https://adoptopenjdk.net
 +
 +
Choose a Version: OpenJDK 11 or 13
  
[https://www.google.com/search?q=java+13+jdk https://www.google.com/search?q=java+13+jdk]
+
Choose a JVM: Hotspot
  
It should be the first result (Java SE Development Kit 13 - Downloads - Oracle).
+
Select a platform: your OS
  
*Accept the License Agreement
+
https://i.imgur.com/TKZTyeG.png
*Select the version you need (Linux/Mac/Windows).
 
*Download and install it.  
 
*Restart your computer if it says its required.
 
  
 
{{See also|Getting started}}
 
{{See also|Getting started}}

Revision as of 19:10, 16 October 2019

Exilent requires Java 11+ JRE/JDK installed.

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.

LnxBqAX.png

12.x.x means Java 12.

Removing other Java versions

If you are on Mac you might have to remove other versions of Java.

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

Installing latest Java

Go to: https://adoptopenjdk.net

Choose a Version: OpenJDK 11 or 13

Choose a JVM: Hotspot

Select a platform: your OS

TKZTyeG.png

See also: Getting started