-
-
Notifications
You must be signed in to change notification settings - Fork 150
Making sure you have the right Java version
airsquared edited this page Jun 27, 2020
·
14 revisions
- Make sure you have Java installed. (how to install Java)
- Open the terminal or command prompt and enter
java -d64 -version
.
It will output something like:
java version "1.8.0_202"
Java(TM) SE Runtime Environment (build 1.8.0_202-b08)
Java HotSpot(TM) 64-Bit Server VM (build 25.202-b08, mixed mode)
This output could be different for you.
- Make sure your java version is
1.8.0
(Java 8), Java 9 and higher is not supported at this time (unless it includes JavaFX/OpenJFX). - If it says
This java instance does not support a 64-bit JVM
, make sure you installed 64-bit Java. (the online installer does not install 64-bit Java, use the offline 64-bit installer)
- If you don't, install Java again using this tutorial. (you can install this alongside your existing Java installation and it shouldn't cause any problems)