Florian Schneider wrote:
>I was just trying to find a possibility to include the Java3D libraries
>with the jar file that holds my own classes. By now, I am just copying the
>Java3D- and JOGL-related .jar-files into the jar- file that contains my own
>classes. Furthermore, I copy the JOGL- related .jnilib-files into the jar.
>I tried not specify a classpath in the manifest file as well as specifying
>one. I tried to invoke java with the -classpath option and without it.
>Additionally I tried invoking java with
>-Djava.library.path='path/to/jnilib' without success.
>
>I am doing something wrong because my code doesn't work. When I put the
>libraries into /Library/Java/Extensions everything is fine, of course.
>
>Do you have any ideas? Help would be greatly appreciated.
Didn't you ask this same question a month or so ago?
The answer is that extension jars override your classpath jars, and J3D is
installed as an extension. Search the archives for keywords:
java extension
Also search the archives for:
ListClassLoaders
for a command-line tool that lists the order of classpath and extension jars.
-- GG
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden