Difference between revisions of "Setting up Java"

From Exilent
Line 17: Line 17:
 
https://i.imgur.com/giWilQt.png
 
https://i.imgur.com/giWilQt.png
  
1.8 means java 8, if you anything else then you need to follow the next steps.
+
1.8.x means Java 8, if you have anything else then you need to follow the next steps.
  
 
== Installing java 8 ==
 
== Installing java 8 ==

Revision as of 06:56, 4 April 2019

Exilent currently works only with Java 8 (JRE/JDK).

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.

MfTVcxq.png

If you get errors about unrecognized option and not being able to create Java Virtual Machine then its possible that you have Java 9+ installed and set as default.

* Java HotSpot(TM) 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
* Unrecognized option: -Xincgc
* Error: Could not create the Java Virtual Machine.
* Error: A fatal exception has occurred. Program will exit.

Verify default java version

Open up a Command Prompt/Terminal and type java -version. This will print out the current default java version.

giWilQt.png

1.8.x means Java 8, if you have anything else then you need to follow the next steps.

Installing java 8