Difference between revisions of "Setting up Java"

From Exilent
Line 26: Line 26:
 
Choose a JVM: Hotspot
 
Choose a JVM: Hotspot
  
Select a platform: your OS
+
Select a platform.
  
Install JDK or JRE.
+
Download JDK or JRE and install.
  
 
https://i.imgur.com/TKZTyeG.png
 
https://i.imgur.com/TKZTyeG.png
Line 36: Line 36:
 
Go to : https://www.oracle.com/technetwork/java/javase/downloads/jdk13-downloads-5672538.html
 
Go to : https://www.oracle.com/technetwork/java/javase/downloads/jdk13-downloads-5672538.html
  
Accept the License Agreemenent
+
Accept the License Agreemenent.
  
Select your platform
+
Select your platform.
  
Download & Install
+
Download and Install.
  
 
https://i.imgur.com/eLKVuZW.png
 
https://i.imgur.com/eLKVuZW.png
  
 
{{See also|Getting started}}
 
{{See also|Getting started}}

Revision as of 07:58, 19 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

AdoptOpenJDK

Go to: https://adoptopenjdk.net

Choose a Version: OpenJDK 11 or 13

Choose a JVM: Hotspot

Select a platform.

Download JDK or JRE and install.

TKZTyeG.png

Oracle JDK

Go to : https://www.oracle.com/technetwork/java/javase/downloads/jdk13-downloads-5672538.html

Accept the License Agreemenent.

Select your platform.

Download and Install.

eLKVuZW.png

See also: Getting started