Go Down

Topic: xubuntu 10.04 and arduino 0022 not running (Read 1 time) previous topic - next topic

larryp

root@LTS104:~# uname -a
Linux LTS104 2.6.32-36-generic #79-Ubuntu SMP Tue Nov 8 22:29:26 UTC 2011 i686 GNU/Linux
root@LTS104:~# arduino
Exception in thread "main" java.lang.NoClassDefFoundError: processing/app/Base
Caused by: java.lang.ClassNotFoundException: processing.app.Base
        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: processing.app.Base. Program will exit.
root@LTS104:~#

root@LTS104:~# java  -version
java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.10) (6b20-1.9.10-0ubuntu1~10.04.2)
OpenJDK Client VM (build 19.0-b09, mixed mode, sharing)
root@LTS104:~#



What do I need to change? This working code needs something canged dealing with java, I think

SurferTim

Did you install Arduino from the Ubuntu repository?

larryp

I have tried both ubuntu and arduino repositories with the same results. The posting was from the ubuntu. and the java was from ubuntu. I have tried prior versions of arduino code with the same  results.

SurferTim

Maybe this link will help. Seems to be your problem.
http://processing.org/discourse/yabb2/YaBB.pl?num=1245438653

larryp

Yes, it seems similar to problem but I do not know where to look and what to change.

Go Up