On Friday, January 13, 2012 05:13:38 PM Fox Mulder did opine:

> Am 13.01.2012 22:04, schrieb gene heskett:
> > On Friday, January 13, 2012 03:54:18 PM Fox Mulder did opine:
> >> Am 13.01.2012 18:38, schrieb gene heskett:
> >>> How does one run this visolate-2.1.6.jar then?  The usual "java -jar
> >>> visolate-2.1.6.jar" without a valid input filename doesn't output
> >>> any obvious clues to a java newbie:
> >>> gene@coyote pcb2gcode-1.1.4]$ java -jar
> >>> /usr/share/java/visolate-2.1.6.jar Exception in thread "main"
> >>> java.lang.NoClassDefFoundError:
> >>> javax/media/j3d/WakeupCriterion
> >>> 
> >>>         at visolate.Visolate.<init>(Visolate.java:66)
> >>>         at visolate.Visolate.<init>(Visolate.java:61)
> >>>         at visolate.Main.main(Main.java:65)
> >>> 
> >>> Caused by: java.lang.ClassNotFoundException:
> >>> javax.media.j3d.WakeupCriterion
> >>> 
> >>>         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> >>>         at java.security.AccessController.doPrivileged(Native
> >>>         Method) at
> >>>         java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> >>>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at
> >>>         sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301
> >>>         ) at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> >>>         ... 3 more
> >> 
> >> Your are missing the Java3D package. Just download from oracle
> >> website and install it. after that it should run.
> > 
> > Actually it was in the repo for pclos, but wasn't installed.  Tis now.
> > But that seems not to be a lot of help:
> > 
> > [gene@coyote pcb2gcode-1.1.4]$ java -jar
> > /usr/share/java/visolate-2.1.6.jar --help
> > Exception in thread "main" java.lang.NoClassDefFoundError:
> > javax/media/j3d/WakeupCriterion
> > 
> >         at visolate.Visolate.<init>(Visolate.java:66)
> >         at visolate.Visolate.<init>(Visolate.java:61)
> >         at visolate.Main.main(Main.java:65)
> > 
> > Caused by: java.lang.ClassNotFoundException:
> > javax.media.j3d.WakeupCriterion
> > 
> >         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> >         at java.security.AccessController.doPrivileged(Native Method)
> >         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> >         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> >         at
> >         sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> >         at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ...
> >         3 more
> > 
> > The installed java is 1.6.0-sun, but from the pclos repos.
> 
> Seems that java somehow can't find the java3d libs. I tried it in
> windows with the same error message. After instaling java3d it runs
> without problem. You could try the runtime prameter "-cp
> path/to/java3d/libs" to explicitly show java the path to the installed
> libs.
> 
> Caio,
>      Rainer
> 
Would it not be better to just move the .jar where its looking?  It seems 
that /usr/share/java isn't exactly the root java directory.  Let me do an 
ls -R on that tree as it exists on this pclos box:

[root@coyote java]# ls -R
.:
fmj/  gcj-endorsed/  java3d/  visolate-2.1.6.jar

./fmj:
ffmpeg-java-20071012.jar  ffmpeg-java-gpl-20071012.jar  ffmpeg-java-
gpl.jar@  ffmpeg-java.jar@  visolate-2.1.6.jar

./gcj-endorsed:

./java3d:
j3dcore.jar  j3dutils.jar  vecmath.jar

The java3d stuff is in a separate directory. Should I link or move its 
./java3d contents?  Or is there an ENV var that isn't set?

I put a softlink in /etc/alternatives to /usr/share/java/java3d/ as java3d, 
the link looks good and I can ls it, but no change in the error stanza.

Thanks Rainer.

Cheers, Gene
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
My web page: <http://coyoteden.dyndns-free.com:85/gene>
A pretty woman can do anything; an ugly woman must do everything.

------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to