Page 1 of 1

RMIR on Ubuntu 12.04 Exception in thread "main" ja

Posted: Mon Feb 02, 2015 2:26 pm
by jmcgee
So I had some issues getting RMIR to recognize Parallel port on this machine but got all that sorted our nicely, uploading and downloading from remotes, everything working great.

I go to terminal, change to directory the extracted files live:

Now when I do
sudo bash rmir.sh

It returns

Exception in thread "main" java.lang.NoClassDefFoundError: files/JP1/RM203A28
Caused by: java.lang.ClassNotFoundException: files.JP1.RM203A28
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:323)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
Could not find the main class: files/JP1/RM203A28. Program will exit.

Posted: Mon Feb 02, 2015 4:25 pm
by jmcgee
Fixed. I believe the solution was to put the files in a path that had no spaces.. Although I didn't move any files between it working, and not. Maybe I had quotes on the command line.