Page 1 of 1

Jsampler Fantasia: Java: Exception in thread etc.

Posted: Tue Oct 07, 2008 12:16 am
by TheOnlyJoey
Hey all.

Im trying to execute Jsampler Fantasia on debian etch but getting the next error:

Exception in Thread "main" java.lang.NoClassDefFoundError: fantasia/jar

Anyone knows the solution?

Thanks

Re: Jsampler Fantasia: Java: Exception in thread etc.

Posted: Tue Oct 07, 2008 12:52 am
by grishata
How to run jsampler is explained in details here.
How do you try to run fantasia?

Re: Jsampler Fantasia: Java: Exception in thread etc.

Posted: Tue Oct 07, 2008 1:15 am
by TheOnlyJoey
Exactly what the documentation said

By java -jar
or java alone and both dont work.

Re: Jsampler Fantasia: Java: Exception in thread etc.

Posted: Tue Oct 07, 2008 2:07 am
by grishata
TheOnlyJoey wrote:Im trying to execute Jsampler Fantasia on debian etch but getting the next error:

Exception in Thread "main" java.lang.NoClassDefFoundError: fantasia/jar
This exception is thrown when you don't use -jar option:
java Fantasia.jar
what error do you get when start fantasia with -jar, as it should be:
java -jar Fantasia.jar

Are you sure you use java version 6 or later?

Re: Jsampler Fantasia: Java: Exception in thread etc.

Posted: Tue Oct 07, 2008 6:17 pm
by TheOnlyJoey
Hmm that can be the problem.

Using java5.. will try 6 later (damn it.. its bigger then 5.. want to use as small as posible)
Anyone knows if i can run it with a different version other then the SUN java branche?

BTW using -jar gives same error only longer