Can not start myrobotlab

ghost

10 years 10 months ago

here's everything from command prompt that shows up from running the batch file....

 

C:\myrobotlab>myrobotlab.bat
 
C:\myrobotlab>REM Proxy configuration
 
C:\myrobotlab>REM the following will allow mrl to update and check the repo if i
ts behind a firewall
 
C:\myrobotlab>REM -Dhttp.proxyHost=webproxy -Dhttp.proxyPort=8080 -Dhttp.proxyUs
erName="myusername" -Dhttp.proxyPassword="mypassword" -Dhttps.proxyHost=webproxy
 -Dhttps.proxyPort=8080
 
C:\myrobotlab>REM start javaw starts java without another shell window on window
s
 
C:\myrobotlab>REM to display system out messages enable logging or run simply as
 java ..<parameters>..
 
C:\myrobotlab>set PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C
:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program Files (x86)\ATI Technologi
es\ATI.ACE\Core-Static;c:\Program Files (x86)\Common Files\Roxio Shared\DLLShare
d\;C:\PROGRA~2\PUBLIS~1\Office;C:\Program Files (x86)\nodejs\;C:\Users\John\AppD
ata\Roaming\npm;C:\myrobotlab\libraries\native\x86.32.windows;C:\myrobotlab\libr
aries\native\x86.64.windows
 
C:\myrobotlab>start javaw -Djava.library.path="libraries/native/x86.32.windows;l
ibraries/native/x86.64.windows"  -cp "libraries/jar/*;libraries/jar/x86.64.windo
ws/*;libraries/jar/x86.32.windows/*;" org.myrobotlab.service.Runtime -service gu
i GUIService python Python
 
C:\myrobotlab>

ghost

10 years 10 months ago

after all that runs a Java Virtual Machine error pops up that says: Could not find the main class: org.myrobotlab.service.Runtime. Program will exit

Alessandruino

10 years 10 months ago

Hi ghost!!! and welcome in MyRobotLab.

Another user had the same error and the problem was that he didn't install Java JDK7.

So if you haven't java or if you have an old version of Java, MyRobotLab will not start...

Often we install the Java plug-in for the browser instead of the java jdk7!

 

First step to solve the problem : Check if you have java and what version it is!!!

1) Open the command line, CMD as shown in the picture

2)Write  java -version    in the command line

3) If appear a text like that you have java!!! so you can see the version 1.X where X is the version. In this case i have 1.7 version so i have java 7

4) if you have a warn message, which says that the program could not be found or you have a older version than 7(for example6)... so it's the time to DOWNLOAD AND INSTALL JAVA JDK7 from this link http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

choosing the Windows x64 version.

Install java and then try another time with java -version (in CMD) and something will automagically appear

Let us know if it works for you

 

Best Regards

Alessandruino

 

ghost

10 years 10 months ago

thanks Alessandruino, that was part of my problem right there....never trust java update.