Difference between revisions of "Setting up Java"

From Exilent
Line 32: Line 32:
 
=== Mac ===
 
=== Mac ===
 
Open up a Terminal.
 
Open up a Terminal.
* Use the search icon in the top right corner
+
* use the search icon in the top right corner
* Type Terminal and open it
+
* type Terminal and open it
  
 
Type: '''java -version'''
 
Type: '''java -version'''

Revision as of 11:19, 20 August 2018

Install Java

Exilent currently works only with Java 8.

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

Make sure to accept the License Agreement.

Q4rcBvf.png

Download and install. Restart your computer if its required.

Default Java version

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

In order to run Exilent you have to make sure you have Java 8 set as default.

Verify your default Java version

Ther are are several ways to do it.

https://www.java.com/en/download/help/version_manual.xml

Windows

Open up a Command Prompt.

  • Start - Command Prompt

Type: java -version

The default Java version will be printed out. 1.8.0_xxx is Java 8.

giWilQt.png

Mac

Open up a Terminal.

  • use the search icon in the top right corner
  • type Terminal and open it

Type: java -version

The default Java version will be printed out. 1.8.0_xxx is Java 8.

Set default Java version

Windows

Installing any Java 8 (JRE of JDK) should be set as default.

Mac

Installing a Java 8 JRE wont be set as default so you will have to install Java 8 JDK.