Difference between revisions of "Setting up Java"
From Exilent
Line 1: | Line 1: | ||
− | Exilent currently supports only Java | + | Exilent currently supports only Java 8 JRE/JDK. |
+ | * JRE (Java Runtime Environment): enough to run Java applications | ||
+ | * JDK (Java Development Kit): has some extra tools for Java development | ||
If you install a new Java version on your computer it is possible that it doesnt get set as default so an older version of Java would be still the default Java runner. So when you double click a JAR file it would be executed on this version of Java. | If you install a new Java version on your computer it is possible that it doesnt get set as default so an older version of Java would be still the default Java runner. So when you double click a JAR file it would be executed on this version of Java. | ||
Line 13: | Line 15: | ||
https://i.imgur.com/giWilQt.png | https://i.imgur.com/giWilQt.png | ||
+ | |||
+ | == Set default Java version == | ||
+ | On Windows installing any Java (JRE of JDK) should be set as default. | ||
+ | |||
+ | On Mac installing a JRE wont be set as default so you will have to install JDK. |
Revision as of 11:06, 28 July 2018
Exilent currently supports only Java 8 JRE/JDK.
- JRE (Java Runtime Environment): enough to run Java applications
- JDK (Java Development Kit): has some extra tools for Java development
If you install a new Java version on your computer it is possible that it doesnt get set as default so an older version of Java would be still the default Java runner. So when you double click a JAR file it would be executed on this version of Java.
In order to run Exilent you have to make sure you have Java 8 set as default.
Verify your default Java version
Open up a terminal where you can type commands (Windows: Start - Command Prompt, Mac: Finder - Terminal).
Type: java -version
The default Java version will be printed out (Java 8 181).
Set default Java version
On Windows installing any Java (JRE of JDK) should be set as default.
On Mac installing a JRE wont be set as default so you will have to install JDK.