Difference between revisions of "Setting up Java"

From Exilent
Line 22: Line 22:
 
Go to: https://adoptopenjdk.net
 
Go to: https://adoptopenjdk.net
 
   
 
   
Choose a Version: OpenJDK 11 or 14
+
Choose a Version: OpenJDK 11 (LTS) or OpenJDK 14 (Latest)
  
 
Choose a JVM: Hotspot
 
Choose a JVM: Hotspot
Line 29: Line 29:
  
 
Download JDK or JRE and install.
 
Download JDK or JRE and install.
 
https://i.imgur.com/TKZTyeG.png
 
  
 
=== Oracle JDK===
 
=== Oracle JDK===

Revision as of 21:00, 21 April 2020

Exilent requires Java 11+ JRE/JDK installed. On Mac it best works with Oracle JDK 13.

Verify default Java version

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

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 (Mac)

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

To do this, download the installer of the java that you currently have installed, run it and select uninstall.

Installing Java

AdoptOpenJDK

Go to: https://adoptopenjdk.net

Choose a Version: OpenJDK 11 (LTS) or OpenJDK 14 (Latest)

Choose a JVM: Hotspot

Select a platform.

Download JDK or JRE and install.

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