-
-
Notifications
You must be signed in to change notification settings - Fork 109
How to setup JAVA to install MyRobotLab succesfully
Uninstall your current JAVA from your computer, you can use the "IObit Uninstaller Free" for it if you don't have an unstaller yet.
On windows 10/11: completely remove C:\Users\%user%\.ivy
and empty the trashbin.
Reboot your computer to be sure everything is clean and ok.
Oracle Java version:
Download from https://www.oracle.com/nl/java/technologies/javase/jdk11-archive-downloads.html
jdk-11.0.21_windows-x64_bin.exe
Alternative Free JAVA version:
Download from https://adoptium.net/temurin/releases/?os=windows&arch=x64&package=jre
OpenJDK21U-jre_x64_windows_hotspot_21.0.3_9.msi
(activate all options during installation)
And install it..
-
If you have installed the Oracle Java version: execute this in the Administrator Command Prompt:
setx PATH "C:\Program Files\Java\jdk-11\bin;%PATH%"
-
If you have installed the Alternative Free JAVA version: nothing to do, PATH environment variabele has already been set by the installer
Note: You can also add this additional environment variable manually by opening the Windows Configuration tool and searching for Environment Variables, you can then delete any old JAVA variables and add the new ones at the top.
Reboot your computer again
Execute this in the Command Prompt:
java --version
-
If you have installed the Oracle Java version, you should see this:
java 11.0.21 2023-10-17 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.21+9-LTS-193)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.21+9-LTS-193, mixed mode)
-
If you have installed the Alternative Free JAVA version, you should see this:
openjdk 21.0.3 2024-04-16 LTS
OpenJDK Runtime Environment Temurin-21.0.3+9 (build 21.0.3+9-LTS)
OpenJDK 64-Bit Server VM Temurin-21.0.3+9 (build 21.0.3+9-LTS, mixed mode, sharing)
Download Myrobotlab: https://github.com/MyRobotLab/myrobotlab/releases
Create a folder: c:\mrl
Extract the downloaded myrobotlab.zip file in it.
After extracting your will see a couple of files and folders, for example:
C:\mrl\myrobotlab-1.1.1539\myrobotlab.bat
C:\mrl\myrobotlab-1.1.1539\myrobotlab.jar
Execute this in the Command Prompt:
c:
cd C:\mrl\myrobotlab-1.1.1539
myrobotlab.bat
After the installation is complete (which may take a while), the Chrome browser will be launched and the MRL dashboard will appear. If no further errors are reported at the top right of the MRL dashboard, you can start with MRL!