Trouble installing MyRobotLab

75 views
Skip to first unread message

Franz A

unread,
Jun 5, 2025, 9:42:03 AMJun 5
to InMoov
Hoi,
i have no success with installing MRL.

I did everything as supposed, i have the C:\MRL with the .bat,.sh,.jar as shown.

But when i click on the myrobotlab.bat nothing happens.
Shown in a DOS-Prompt there are several issues listed....i.e. no libraries\ directory.

I am running Win11..

Thanks so far for reading

gael langevin

unread,
Jun 5, 2025, 3:25:40 PMJun 5
to Franz A, InMoov
Hello,
what java version did you install?

Gael Langevin
Creator of InMoov
InMoov Robot
@inmoov




--
You received this message because you are subscribed to the Google Groups "InMoov" group.
To unsubscribe from this group and stop receiving emails from it, send an email to inmoov+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/inmoov/f0c084d1-1b2a-490e-a8df-cd9c38c3293dn%40googlegroups.com.

Franz A

unread,
Jun 9, 2025, 10:14:21 AMJun 9
to InMoov
Hmmm,
where are my other postings and the answers from Users ????

I have several JDK installed (in cae of JAVE and ANDROID coding) but installaed also the ...18.

One mentioned to make an own myrobotlab.bat, but i couldn't find the posting anymore...

Regards
Franz

gael langevin

unread,
Jun 9, 2025, 12:01:13 PMJun 9
to InMoov
It could be that Myrobotlab selects java version 1.4, which wouldn't work.
If you have multiple java versions installed, you would need to define which version to run for Myrobotlab.
You need to create .bat file which points to your java23 and to the directory containing myrobotlab.bat
Here is an example:

echo setting java 11 environment

set PATH=%PATH%;C:\java\jdk-23.0.9\bin
REM this start an cmd shell with the appropriate env
cmd /k
REM you can get more elaborate if you want
REM cd to where Nixie is 
REM java -jar myrobotlab.bat

Franz A

unread,
Jun 9, 2025, 5:25:17 PMJun 9
to InMoov
I did as you mentioned.
With that batchfile i get this screen content:
---
C:\mrl\myrobotlab>myrobotlab.bat

C:\mrl\myrobotlab>echo setting java 11 environment
setting java 11 environment

C:\mrl\myrobotlab>set PATH=C:\Program Files\Common Files\Oracle\Java\javapath;C:\Java\jdk-18\bin;C:\mrl\myrobotlab;C:\Users\franz\AppData\Local\Microsoft\WindowsApps;;C:\java\jdk-24\bin;C:\java\jdk-24\bin;C:\java\jdk-24\bin;C:\java\jdk-24\bin

C:\mrl\myrobotlab>REM this start an cmd shell with the appropriate env

C:\mrl\myrobotlab>cmd /k
C:\mrl\myrobotlab>
---

Franz A

unread,
Jun 10, 2025, 3:48:07 AMJun 10
to InMoov
If i replace

java -jar myrobotlab.bat

with

java -jar myrobotlab.jar

then something is happening, a huge amount of lines scrolling ...after a while it stopps with this line:
09:42:03.374 [main] INFO c.m.f.Service [Service.java:2262] runtime info setting virtual to false

after hitting enter it does some more and then stands at the prompt
[runtime@sudden-darth /]#



gael langevin

unread,
Jun 10, 2025, 6:07:07 AMJun 10
to InMoov
Good, it's progressing.
For info, because the prompt doesn't show any activity, the installation seems to stale , but it actually keeps installing dependencies.
I suggest you retry again the installation and let it be until it finalizes the process.
Make sure Chrome is set as default browser.

Franz A

unread,
Jun 10, 2025, 8:06:29 AMJun 10
to InMoov
Chrome is standardbrowser.

This is the screen after starting....and nothing will happen (over hours):

This is the last part i saw, before there is a ASCII screen etc. and many screensides rolling up...
---
....
14:01:14.730 [main] INFO c.m.s.Runtime [Runtime.java:1765] runtime@sudden-darth already registered
14:01:14.733 [main] INFO c.m.i.FileIO [FileIO.java:236] extract(root=/C:/mrl/myrobotlab/myrobotlab.jar, src=resource, dst=null, overwrite=false)
14:01:14.737 [main] INFO c.m.i.FileIO [FileIO.java:266] normalized extract([/C:/mrl/myrobotlab/myrobotlab.jar], [resource], [.])
14:01:14.737 [main] INFO c.m.i.FileIO [FileIO.java:282] ./resource aleady exists - not extracting
14:01:14.738 [main] INFO c.m.s.Runtime [Runtime.java:1668] already in interactive mode
14:01:14.738 [main] INFO c.m.f.Service [Service.java:2737] runtime new locale is de-DE
14:01:14.739 [main] INFO c.m.s.Runtime [Runtime.java:3382] setLogLevel info
14:01:14.739 [main] INFO c.m.s.Runtime [Runtime.java:3385] setLogLevel info
14:01:14.739 [main] INFO c.m.f.Service [Service.java:2262] runtime info setting virtual to false
---

And there it stands - also over nigth

Franz A

unread,
Jun 10, 2025, 9:38:22 AMJun 10
to InMoov
Nothing for hours....when i tap ENTER this appears:
---
15:36:21.134 [runtime-cli] ERROR c.m.f.MethodCache [MethodCache.java:571] getRemoteOrdinalMethods -> class org.myrobotlab.service.Runtime.vtf with ordinal [] does not exist
Exception in thread "runtime" java.lang.NoClassDefFoundError: org/apache/commons/lang3/StringUtils
        at org.myrobotlab.framework.MethodCache.getMethod(MethodCache.java:368)
        at org.myrobotlab.framework.MethodCache.getMethod(MethodCache.java:281)
        at org.myrobotlab.framework.MethodCache.getMethod(MethodCache.java:299)
        at org.myrobotlab.framework.Service.invokeOn(Service.java:1296)
        at org.myrobotlab.framework.Service.invoke(Service.java:1223)
        at org.myrobotlab.framework.Service.run(Service.java:1714)
        at java.base/java.lang.Thread.run(Thread.java:1447)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang3.StringUtils
        at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
        ... 7 more

[runtime@sudden-darth /]#

Behind the # in the last row the cursor is blinking (as in good old CPM and DOS times... ;-)

gael langevin

unread,
Jun 10, 2025, 3:44:57 PMJun 10
to Franz A, InMoov
I just tried a fresh install and all went as expected.
I suspect your previous attempts to install without defining the proper java version might have corrupted some files.
Delete the .ivy2 directory , (its the myrobotlab cache) It will be recreated  when you make a fresh install.
The  myrobotlab cache is located in C:/Users/yourname/.ivy2
Also delete everything (except myrobotlab.bat and myrobotlab.jar) in your directory myrobotlab-1.1.1605.
And finally run your special bat file to define the java version.

Gael Langevin
Creator of InMoov
InMoov Robot
@inmoov



You received this message because you are subscribed to a topic in the Google Groups "InMoov" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/inmoov/NkKeDmljopc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to inmoov+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/inmoov/af515600-705a-4452-8829-e56e2f8e24edn%40googlegroups.com.

gael langevin

unread,
Jun 10, 2025, 6:04:37 PMJun 10
to InMoov
The  myrobotlab cache is located in C:/Users/yourname/.ivy2
If there is no .ivy2 that means the install did not proceed at all.

Franz A

unread,
Jun 11, 2025, 3:59:50 AMJun 11
to InMoov
I tried all the described help on 2 computers.
None of them has a directory named .ivy2 (and i marked in the explorer to show also hidden elements).

I cant believe that it is so hard to install this MRL...must there some ports be free in the firewall or what could that problems cause ?

Merci beaucoup so far for your help.
8 years ago i installed it without problems....

gael langevin

unread,
Jun 11, 2025, 5:10:45 AMJun 11
to Franz A, InMoov
It's hard to evaluate what is wrong with your PC. 
MRL is installed on many devices every week without issues, it is normally pretty straight forward.
Are your java versions allowed to access private and public networks?

Gael Langevin
Creator of InMoov
InMoov Robot
@inmoov



gael langevin

unread,
Jun 11, 2025, 5:23:52 AMJun 11
to InMoov
Maybe your bat file for selecting the java version is not proper. Here is how mine is looking:

Capture d’écran 2025-06-11 111945.pngCapture d’écran 2025-06-11 112016.png

Franz A

unread,
Jun 11, 2025, 5:31:52 AMJun 11
to InMoov
Yes, all networks.

I did as you say, delete all of the content instead the named ones.
After starting again at once there a 3 directrories build up in c:\mrl\myrobotlab:
- data
- libraries
- ressource

For now it stands again at the point
---
11:24:15.418 [main] INFO c.m.f.Service [Service.java:2262] runtime info setting virtual to false
---

i see your are using a .bat for starting the myrobotlab.bat: what is the content of that file ?



Franz A

unread,
Jun 11, 2025, 5:34:29 AMJun 11
to InMoov
Oops...frustrated i set the java to 14.0.1 - TADAAA ! (so far ;-) )

Franz A

unread,
Jun 11, 2025, 7:04:22 AMJun 11
to InMoov
Also on my Developer NB it is inst
alling now :-)
This file works....some " to much there...
---
@ECHO ON

rem TODO move vars to top
rem TODO have --id as an optional var

set APPDIR=%CD%
echo APPDIR=%APPDIR%

set CLASSPATH="%CLASSPATH%;%APPDIR%\target\classes\*;%APPDIR%\libraries\jar\*;%APPDIR%\myrobotlab.jar"

echo CLASSPATH=%CLASSPATH%

rem TODO - option to package jdk for now use bin in path
set JAVA=JAVA
rem C:\java\jdk-26\bin
path=%path%;C:\java\jdk-26\bin

rem Processing/Arduino handle this in an array - no need for now
set JAVA_OPTIONS=-Djava.library.path=libraries/native -Djna.library.path=libraries/native -Dfile.encoding=UTF-8

IF NOT "%*"=="" (
    echo "USER SUPPLIED ARGS"
    %JAVA% %JAVA_OPTIONS% -cp %CLASSPATH% org.myrobotlab.service.Runtime %*
) ELSE (

    IF EXIST "libraries/repo.json" (
        echo "libraries/repo.json exists."
    ) ELSE (
        echo "libraries/repo.json does not exist."
        %JAVA% %JAVA_OPTIONS% -cp %CLASSPATH% org.myrobotlab.service.Runtime --install
    )

    %JAVA% %JAVA_OPTIONS% -cp %CLASSPATH% org.myrobotlab.service.Runtime --log-level info -s log Log security Security webgui WebGui intro Intro python Python

)

Franz A

unread,
Jun 11, 2025, 8:35:48 AMJun 11
to InMoov
On both computers Myrobolab is now running....many many thanks to Geal and the others that helped me.
Its like always: never give up !

Now i have issues uploading MRLCOMM.ino to the Mega2560...but that's another story....

gael langevin

unread,
Jun 11, 2025, 11:50:26 AMJun 11
to Franz A, InMoov
Finally it is installed!
In most cases if you cannot upload the MRLComm.ino, you need to downgrade of Arduino.exe.
I use version Arduino 1.8.15 and it uploads just fine.

Gael Langevin
Creator of InMoov
InMoov Robot
@inmoov



Reply all
Reply to author
Forward
0 new messages