Hello everyone, sorry but I am new at this and I just had double by pass surgery two months ago so my head is still in a fog.

I wanted to download My Robot Lab and install it on to Linux 12.04 after watching Greg's video on youtube.  So I went to myrobotlab.org and clicked on the download tab just like in the video. I downloaded the latest ver 1.0.107 of the zip, tar.gz and jar file. I unpacked each into there separate folder on to my desktop but I could not find the myrobotlab.bat or .sh (shell script) files to click on like in the video so I am at a lose. I also tried looking for a ./configure when unpacking the tar.gz file in the terminal program but could not find one as well. I have looked through some of the text files that unpacked but none seem to have the answers I needed to get things installed.

Kwatters was helping me earler today and said the program was just a java appt. The video said that I needed java 1.5 or higher to run the software and I think I now have java-7 loaded but not sure if it is runing so I did a terminal search for 7 and this is what I came up with.

kenn@kenn-RJ028AV-ABA-a1510y:~$ apt-cache search java 7
brltty - Access software for a blind person using a braille display
ecj - standalone version of the Eclipse Java compiler
ecj-gcj - standalone version of the Eclipse Java compiler (native version)
libasm3-java - Java bytecode manipulation framework
libbcmail-java - Bouncy Castle generators/processors for S/MIME and CMS
libecj-java - Eclipse Java compiler (library)
libecj-java-gcj - Eclipse Java compiler (native library)
libjson-perl - module for manipulating JSON-formatted data
libjson-xs-perl - module for manipulating JSON-formatted data (C/XS-accelerated)
libstax-java-doc - Javadoc API for libstax-java
babel-doc - Scientific Interface Definition Language (SIDL) suite documentation
balazar - adventure/action game Balazar -- Arkanae II, reforged scepters
gimp-plugin-registry - repository of optional extensions for GIMP
js2-mode - Emacs mode for editing Javascript programs
libasm-java - Java bytecode manipulation framework
libasm2-java - Java bytecode manipulation framework
libbiojava-java - Java API to biological data and applications
libbiojava-java-demos - Example programs for BioJava
libbiojava1.7-java - Java API to biological data and applications
libcommons-fileupload-java-doc - Javadoc API documentation for Commons FileUploads
libezmorph-java - Java library for transforming an Object to another Object
libfelix-gogo-command-java-doc - Documentation for Apache Felix Gogo Command bundle
libfelix-gogo-runtime-java-doc - Documentation for Apache Felix Gogo Runtime bundle
libfelix-gogo-shell-java-doc - Documentation for Apache Felix Gogo Shell bundle
libgdcm2.0 - Grassroots DICOM runtime libraries
libgeronimo-jpa-2.0-spec-java - Geronimo JSR-317 Java Persistence (JPA) 2.0 Spec API
libgeronimo-jpa-2.0-spec-java-doc - Documentation for libgeronimo-jpa-2.0-spec-java
libghc-hjavascript-dev - Haskell abstract syntax for a subset of JavaScript - GHC libraries
libghc-hjavascript-prof - Haskell abstract syntax for a subset of JavaScript - GHC profiling libraries
libghc-language-javascript-dev - JavaScript parser
libghc-language-javascript-prof - JavaScript parser; profiling data
libgroovy1.7.2-java - Agile dynamic language for the Java Virtual Machine
libjasperreports3.7-java - Java reporting generator library
libjasperreports3.7-java-doc - Java reporting generator library - documentation
libjson-pp-perl - module for manipulating JSON-formatted data (Pure Perl)
libjson-simple-java - Simple, lightweight and efficient JSON toolkit for Java
libjsr107cache-java - Java API for caching
libopenjpa-java - Java Persistence 2.0 API (JPA) implementation library
libopenjpa-java-doc - Documentation for libopenjpa-java
libpdf-reuse-perl - Reuse and mass produce PDF documents
libpostgresql-jdbc-java - Java database (JDBC) driver for PostgreSQL
libpostgresql-jdbc-java-doc - Java database (JDBC) driver for PostgreSQL (documentation)
librepository-java-doc - abstraction library for accessing hierachic bulk content -- documentation
libsidl-1.4.0 - Scientific Interface Definition Language (SIDL) C(++)/FORTRAN runtime
libsidl-dev - Scientific Interface Definition Language (SIDL) C(++)/FORTRAN runtime devel
libsidl1.4.0-java - Scientific Interface Definition Language (SIDL) Java runtime
libtomcat7-java - Servlet and JSP engine -- core libraries
libwoodstox-java - High-performance XML processor
omegat - Computer Assisted Translation (CAT) tool
openjdk-7-jdk - OpenJDK Development Kit (JDK)
python-sidl - Scientific Interface Definition Language (SIDL) Python runtime
tomcat7 - Servlet and JSP engine
tomcat7-common - Servlet and JSP engine -- common files
eucalyptus-java-common - Elastic Utility Computing Architecture - Common Java package
openjdk-7-jre - OpenJDK Java runtime, using Hotspot JIT
openjdk-7-jre-headless - OpenJDK Java runtime, using Hotspot JIT (headless)
java-package - Utility for creating Java Debian packages
python-json-patch - library to apply JSON patches - python 2.x transitional package
python-jsonpatch - library to apply JSON patches - python 2.x
python3-json-patch - library to apply JSON patches - python 3.x transitional package
python3-jsonpatch - library to apply JSON patches - python 3.x
kenn@kenn-RJ028AV-ABA-a1510y:~$
 

I think I have everything loaded I just need to know how and which file to run because it is all different from what is in the video now.

here is a link to the video: https://www.youtube.com/watch?v=Q9t_ZXwVmhU

Thank you for any and all help.

 

GroG

9 years ago

Hi Kenn and Welcome ! :)

Posting is better than the shoutbox for a couple reason.  Shoutbox is very "temporary", with a post more than a couple people can contribute and it will persist - possibly for the next person who has a similar question.

So let's start with the video .. heh .. that was made in 2011  .. Dog years are 7 to 1, but Computer Years are nearly 30 to 1 ... so that was like 150 years ago !!!   Lots has changed.

Change #1   You want Java 1.7 .. type the following to install it

sudo apt-get install openjdk-7-jdk 

verify in the terminal type

java -version

if it does not come back with a 1.7 in the response somewhere you have multiple versions, you will want to select the "default" one to be 1.7.  You can do this with this nifty utility:

sudo update-alternatives --config java

read about details here if you want 

Change #2   There are no more scripts to start..    Just download the myrobotlab.jar (only file you need) and in the terminal where you downloaded it type ....  

java -jar myrobotlab.jar

 

Hopefully this will help you out..

Hi Grog,

Thank you for the reply, I think I finaly got the java updated.

Here is what I did this morning.

kenn@kenn-RJ028AV-ABA-a1510y:~$ type java
java is /usr/bin/java
kenn@kenn-RJ028AV-ABA-a1510y:~$ ls -1 /usr/bin/java
/usr/bin/java
kenn@kenn-RJ028AV-ABA-a1510y:~$ ls -l /etc/alternatives/java
lrwxrwxrwx 1 root root 45 Aug 25  2012 /etc/alternatives/java -> /usr/lib/jvm/java-6-openjdk-i386/jre/bin/java
kenn@kenn-RJ028AV-ABA-a1510y:~$ sudo update-alternatives --config javac
[sudo] password for kenn:
update-alternatives: error: no alternatives for javac.
kenn@kenn-RJ028AV-ABA-a1510y:~$ sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/java-7-oracle/jre/bin/java" 1
update-alternatives: error: alternative path /usr/lib/jvm/java-7-oracle/jre/bin/java doesn't exist.
kenn@kenn-RJ028AV-ABA-a1510y:~$ sudo update-alternatives --config java
There are 2 choices for the alternative java (providing /usr/bin/java).

  Selection    Path                                           Priority   Status
------------------------------------------------------------
* 0            /usr/lib/jvm/java-6-openjdk-i386/jre/bin/java   1061      auto mode
  1            /usr/lib/jvm/java-6-openjdk-i386/jre/bin/java   1061      manual mode
  2            /usr/lib/jvm/java-7-openjdk-i386/jre/bin/java   1051      manual mode

Press enter to keep the current choice[*], or type selection number: 2
update-alternatives: using /usr/lib/jvm/java-7-openjdk-i386/jre/bin/java to provide /usr/bin/java (java) in manual mode.
kenn@kenn-RJ028AV-ABA-a1510y:~$ java -version
java version "1.7.0_75"
OpenJDK Runtime Environment (IcedTea 2.5.4) (7u75-2.5.4-1~precise1)
OpenJDK Client VM (build 24.75-b04, mixed mode, sharing)
kenn@kenn-RJ028AV-ABA-a1510y:~$
 

------------------------------------------------------------------------------------------------------------------------------

Now when I did the myrobotlab.jar this happen.

kenn@kenn-RJ028AV-ABA-a1510y:~/Desktop$ java -jar myrobotlab.jar
1.0.107
starting bootstrap
0    [main] INFO  class org.myrobotlab.framework.Bootstrap  - ============== spawn begin ==============
276  [main] INFO  class org.myrobotlab.framework.Bootstrap  -

Bootstrap starting spawn 2015.04.08:08:42:06
545  [main] INFO  class org.myrobotlab.framework.Bootstrap  - Bootstrap PID 5214
548  [main] INFO  class org.myrobotlab.framework.Bootstrap  - jvmArgs []
552  [main] INFO  class org.myrobotlab.framework.Bootstrap  - in args []
555  [main] INFO  class org.myrobotlab.framework.Bootstrap  - protected domain /home/kenn/Desktop/myrobotlab.jar
558  [main] INFO  class org.myrobotlab.framework.Bootstrap  - platform x86.32.linux
590  [main] INFO  class org.myrobotlab.framework.Bootstrap  - total physical memory returned is 874 Mb
591  [main] INFO  class org.myrobotlab.framework.Bootstrap  - /usr/lib/jvm/java-7-openjdk-i386/jre/bin/java
600  [main] INFO  class org.myrobotlab.framework.Bootstrap  - -Djava.library.path=libraries/native:libraries/native/x86.32.linux
601  [main] INFO  class org.myrobotlab.framework.Bootstrap  - -cp
610  [main] INFO  class org.myrobotlab.framework.Bootstrap  - ./:./myrobotlab.jar:./libraries/jar/*
613  [main] INFO  class org.myrobotlab.framework.Bootstrap  - org.myrobotlab.service.Runtime
616  [main] INFO  class org.myrobotlab.framework.Bootstrap  - -service
617  [main] INFO  class org.myrobotlab.framework.Bootstrap  - gui
620  [main] INFO  class org.myrobotlab.framework.Bootstrap  - GUIService
620  [main] INFO  class org.myrobotlab.framework.Bootstrap  - python
621  [main] INFO  class org.myrobotlab.framework.Bootstrap  - Python
621  [main] INFO  class org.myrobotlab.framework.Bootstrap  - spawning -> [/usr/lib/jvm/java-7-openjdk-i386/jre/bin/java -Djava.library.path=libraries/native:libraries/native/x86.32.linux -cp ./:./myrobotlab.jar:./libraries/jar/* org.myrobotlab.service.Runtime -service gui GUIService python Python ]
1113 [StreamGobbler_OUTPUT] INFO  class org.myrobotlab.framework.StreamGobbler  - OUTPUT>> 1.0.107
1409 [StreamGobbler_OUTPUT] INFO  class org.myrobotlab.framework.StreamGobbler  - OUTPUT>> createAndStartServices service count 2
1851 [StreamGobbler_OUTPUT] INFO  class org.myrobotlab.framework.StreamGobbler  - OUTPUT>> getting remote file from https://raw.githubusercontent.com/MyRobotLab/repo/master/serviceData.js…
8297 [StreamGobbler_ERROR] INFO  class org.myrobotlab.framework.StreamGobbler  - ERROR>> Exception in thread "main" java.lang.NoClassDefFoundError: org/python/core/PyObject
8305 [StreamGobbler_ERROR] INFO  class org.myrobotlab.framework.StreamGobbler  - ERROR>>     at java.lang.Class.forName0(Native Method)
8306 [StreamGobbler_ERROR] INFO  class org.myrobotlab.framework.StreamGobbler  - ERROR>>     at java.lang.Class.forName(Class.java:191)
8307 [StreamGobbler_ERROR] INFO  class org.myrobotlab.framework.StreamGobbler  - ERROR>>     at org.myrobotlab.framework.Peers.getPeers(Peers.java:122)
8313 [StreamGobbler_ERROR] INFO  class org.myrobotlab.framework.StreamGobbler  - ERROR>>     at org.myrobotlab.framework.Peers.getPeers(Peers.java:116)
8314 [StreamGobbler_ERROR] INFO  class org.myrobotlab.framework.StreamGobbler  - ERROR>>     at org.myrobotlab.framework.repo.Repo.isServiceTypeInstalled(Repo.java:333)
8318 [StreamGobbler_ERROR] INFO  class org.myrobotlab.framework.StreamGobbler  - ERROR>>     at org.myrobotlab.service.Runtime.createService(Runtime.java:1439)
8319 [StreamGobbler_ERROR] INFO  class org.myrobotlab.framework.StreamGobbler  - ERROR>>     at org.myrobotlab.service.Runtime.create(Runtime.java:1375)
8320 [StreamGobbler_ERROR] INFO  class org.myrobotlab.framework.StreamGobbler  - ERROR>>     at org.myrobotlab.service.Runtime.createAndStartServices(Runtime.java:1247)
8331 [StreamGobbler_ERROR] INFO  class org.myrobotlab.framework.StreamGobbler  - ERROR>>     at org.myrobotlab.service.Runtime.main(Runtime.java:2093)
8332 [StreamGobbler_ERROR] INFO  class org.myrobotlab.framework.StreamGobbler  - ERROR>> Caused by: java.lang.ClassNotFoundException: org.python.core.PyObject
8336 [StreamGobbler_ERROR] INFO  class org.myrobotlab.framework.StreamGobbler  - ERROR>>     at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
8354 [StreamGobbler_ERROR] INFO  class org.myrobotlab.framework.StreamGobbler  - ERROR>>     at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
8356 [StreamGobbler_ERROR] INFO  class org.myrobotlab.framework.StreamGobbler  - ERROR>>     at java.security.AccessController.doPrivileged(Native Method)
8357 [StreamGobbler_ERROR] INFO  class org.myrobotlab.framework.StreamGobbler  - ERROR>>     at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
8360 [StreamGobbler_ERROR] INFO  class org.myrobotlab.framework.StreamGobbler  - ERROR>>     at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
8368 [StreamGobbler_ERROR] INFO  class org.myrobotlab.framework.StreamGobbler  - ERROR>>     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
8369 [StreamGobbler_ERROR] INFO  class org.myrobotlab.framework.StreamGobbler  - ERROR>>     at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
8369 [StreamGobbler_ERROR] INFO  class org.myrobotlab.framework.StreamGobbler  - ERROR>>     ... 9 more
 

2138245 [main] INFO  class org.myrobotlab.framework.Bootstrap  - Bootstrap finished spawn 2015.04.08:09:17:44
leaving bootstrap
 

Now I do get a shell program running with a Welcome, gui and runtime tab but no services or custom tabs. I think all these Error might have to do with that because it looks like it was going along okay.

Thank you for your help, Kenn.

 

GroG

9 years ago

In reply to by Kenn

Progress !  That's great...

You get all the services installed by clicking on the runtime->system->install all

Okay I think I get this, to run the software each time you have to go into the terminal, change to the correct directory and type java -jar myrobotlab.jar which starts the shell program and runs the software. Wonder if I can make a short cut?

Okay so I clicked on runtime->system->install all and this is what I got.

info retrieved cc.arduino.1.0 for x86.32.linux
info unzipping libraries/zip/MRLComm.zip
info unzipped libraries/zip/MRLComm.zip
info retrieve com.adafruit.motorshield.1.0
info retrieved com.adafruit.motorshield.1.0 for x86.32.linux
info unzipping libraries/zip/arduino.zip
info unzipped libraries/zip/arduino.zip
info retrieve com.adafruit.servodriver.1.0
info retrieved com.adafruit.servodriver.1.0 for x86.32.linux
info unzipping libraries/zip/arduino.zip
info unzipped libraries/zip/arduino.zip
info retrieve com.googlecode.chatterbot.1.2.1
info retrieved com.googlecode.chatterbot.1.2.1 for x86.32.linux
info retrieve com.googlecode.simpleopenni.1.96
info retrieved com.googlecode.simpleopenni.1.96 for x86.32.linux
info retrieve com.leapmotion.2.1.3
info retrieved com.leapmotion.2.1.3 for x86.32.linux
info unzipping libraries/zip/linux32.zip
info unzipped libraries/zip/linux32.zip
info retrieve com.mxgraph.jgraph.1.6.1.2
info retrieved com.mxgraph.jgraph.1.6.1.2 for x86.32.linux
info retrieve com.pi4j.pi4j.0.0.5
info retrieved com.pi4j.pi4j.0.0.5 for x86.32.linux
info retrieve com.sun.java3d.1.5.1
info retrieved com.sun.java3d.1.5.1 for x86.32.linux
info unzipping libraries/zip/x86.32.linux.zip
info unzipped libraries/zip/x86.32.linux.zip
info retrieve com.sun.jna.3.2.2
info retrieved com.sun.jna.3.2.2 for x86.32.linux
info retrieve com.sun.speech.freetts.1.2
info retrieved com.sun.speech.freetts.1.2 for x86.32.linux
info retrieve com.wolfram.alpha.1.1
info retrieved com.wolfram.alpha.1.1 for x86.32.linux
info retrieve edu.cmu.sphinx.4-1.0beta6
info retrieved edu.cmu.sphinx.4-1.0beta6 for x86.32.linux
info retrieve edu.northwestern.topcodes.1.0
error unresolved dependency: edu.northwestern.topcodes#topcodes;1.0: java.text.ParseException: [[Fatal Error] ivy-1.0.xml.original:12:46: Element type "artifact" must be followed by either attribute specifications, ">" or "/>". in file:/home/kenn/.repo/edu.northwestern.topcodes/topcodes/ivy-1.0.xml.original
]
info retrieve gnu.io.rxtx.2.1-7r2
info retrieved gnu.io.rxtx.2.1-7r2 for x86.32.linux
info unzipping libraries/zip/x86.64.linux.zip
info unzipped libraries/zip/x86.64.linux.zip
info retrieve it.sauronsoftware.cron4j.2.2.5
info retrieved it.sauronsoftware.cron4j.2.2.5 for x86.32.linux
info retrieve javaFlacEncoder.FLAC_FileEncoder.0.1
info retrieved javaFlacEncoder.FLAC_FileEncoder.0.1 for x86.32.linux
info retrieve javax.speech.recognition.1.0
info retrieved javax.speech.recognition.1.0 for x86.32.linux
info retrieve javax.vecmath.1.5.1
info retrieved javax.vecmath.1.5.1 for x86.32.linux
info retrieve javazoom.jl.player.1.0.1
info retrieved javazoom.jl.player.1.0.1 for x86.32.linux
info retrieve net.java.games.jinput.20120914
error unresolved dependency: net.java.games.jinput#jinput;20120914: java.text.ParseException: Problem occurred while parsing ivy file: Cannot add artifact 'arm.32.linux.zip' to configuration 'arm.32.linux' of module net.java.games.jinput#jinput;20120914 because this configuration doesn't exist! in file:/home/kenn/.repo/net.java.games.jinput/jinput/ivy-20120914.xml.original
info retrieve net.sourceforge.opencv.2.4.10
info retrieved net.sourceforge.opencv.2.4.10 for x86.32.linux
info unzipping libraries/zip/lbpcascades.zip
info unzipped libraries/zip/lbpcascades.zip
info unzipping libraries/zip/hogcascades.zip
info unzipped libraries/zip/hogcascades.zip
info unzipping libraries/zip/haarcascades.zip
info unzipped libraries/zip/haarcascades.zip
info retrieve net.sourceforge.tess4j.1.1
info retrieved net.sourceforge.tess4j.1.1 for x86.32.linux
info unzipping libraries/zip/tessdata.zip
info unzipped libraries/zip/tessdata.zip
info retrieve org.alicebot.ab.0.0.6.26
info retrieved org.alicebot.ab.0.0.6.26 for x86.32.linux
info unzipping libraries/zip/ProgramAB.zip
info unzipped libraries/zip/ProgramAB.zip
info retrieve org.apache.commons.httpclient.4.2.5
info retrieved org.apache.commons.httpclient.4.2.5 for x86.32.linux
info retrieve org.apache.solr.4.10.2
info retrieved org.apache.solr.4.10.2 for x86.32.linux
info retrieve org.bytedeco.javacv.0.10
info retrieved org.bytedeco.javacv.0.10 for x86.32.linux
info retrieve org.eclipse.paho.1.0
info retrieved org.eclipse.paho.1.0 for x86.32.linux
info retrieve org.fife.autocomplete.2.0.4
info retrieved org.fife.autocomplete.2.0.4 for x86.32.linux
info retrieve org.fife.rsyntaxtextarea.2.0.4.1
info retrieved org.fife.rsyntaxtextarea.2.0.4.1 for x86.32.linux
info retrieve org.java_websocket.websocket.1.2
info retrieved org.java_websocket.websocket.1.2 for x86.32.linux
info retrieve org.jfugue.music.4.0.3
info retrieved org.jfugue.music.4.0.3 for x86.32.linux
info retrieve org.jivesoftware.smack.3.3.0
info retrieved org.jivesoftware.smack.3.3.0 for x86.32.linux
info retrieve org.op.chess.1.0.0
info retrieved org.op.chess.1.0.0 for x86.32.linux
info retrieve org.python.core.2.5.2
info retrieved org.python.core.2.5.2 for x86.32.linux
info retrieve org.saintandreas.jovr.0.3.2.4
info retrieved org.saintandreas.jovr.0.3.2.4 for x86.32.linux
info retrieve org.tritonus.share.sampled.floatsamplebuffer.0.3.6
info retrieved org.tritonus.share.sampled.floatsamplebuffer.0.3.6 for x86.32.linux
info retrieve org.twitter4j.twitter.3.0.5
info retrieved org.twitter4j.twitter.3.0.5 for x86.32.linux
info retrieve wiiuse.wiimote.0.12b
info retrieved wiiuse.wiimote.0.12b for x86.32.linux
finished processing updates
 

Okay I only see two Error's hopefully they wont cause much problems.

Thank you, Kenn.

 

short way to launch if it's executable is to double click on it...

if it s not type :

chmod +x myrobotlab.jar

hope it helps

 

Ale

Thank you for the reply Alessandruino,

I also found this web page https://help.ubuntu.com/community/UnityLaunchersAndDesktopFiles

I figure having a short cut to open the program each time would be better in the long run, but first I think I will try and put everything into one folder instead of all over the desktop.

Next I need to see if I can hook up a Parallax Servo Controller because that is all I have at the moment plus it has 16 ports.

Thank you, Kenn.