-
-
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 (LTS) version:
Download from https://www.oracle.com/java/technologies/downloads/#jdk21-windows
jdk-21_windows-x64_bin.exe
Alternative Free JAVA (LTS) 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-21\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 21.0.3 2024-04-16 LTS
Java(TM) SE Runtime Environment (build 21.0.3+7-LTS-152)
Java HotSpot(TM) 64-Bit Server VM (build 21.0.3+7-LTS-152, mixed mode, sharing)
-
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!