Problem with jorbis-0.0.12 and java 1.5.0_05


I updated Java to 1.5.0_05 and now I get the following error:

Exception in thread "Thread-1" java.lang.NoClassDefFoundError: com/jcraft/jorbis

Seems like jogg and jorbis are not on the classpath. Also no jInput, though that's probably not required.

Is it possible you were sticking jars in your java directory previously?

jorbis-0.0.12.jar might be in .native , as far as I can see it's still not on the classpath. Just add it to the classpath like the rest of the libs.

It was on the command line, but the problem was the Class-Path property in the client.jar manifest.

I changed the command line now to:

java -Xmx512m -Djava.library.path=.native -jar client.jar

The rest is done in the manifest.

What confused me is that neither the manifest statement nor the command line arguments changed the "java.class.path" property but all the classes are loaded now.