Jsampler Fantasia: Java: Exception in thread etc.

You're new to the LinuxSampler world? You don't know where to start and nothing works? Here's the place to ask for help.
Post Reply
TheOnlyJoey
Newbie
Posts: 3
Joined: Tue Oct 07, 2008 12:10 am

Jsampler Fantasia: Java: Exception in thread etc.

Post by TheOnlyJoey » Tue Oct 07, 2008 12:16 am

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

grishata
Developer
Posts: 138
Joined: Thu Jan 24, 2008 7:21 pm
Location: Bulgaria
Contact:

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

Post by grishata » Tue Oct 07, 2008 12:52 am

How to run jsampler is explained in details here.
How do you try to run fantasia?

TheOnlyJoey
Newbie
Posts: 3
Joined: Tue Oct 07, 2008 12:10 am

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

Post by TheOnlyJoey » Tue Oct 07, 2008 1:15 am

Exactly what the documentation said

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

grishata
Developer
Posts: 138
Joined: Thu Jan 24, 2008 7:21 pm
Location: Bulgaria
Contact:

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

Post by grishata » Tue Oct 07, 2008 2:07 am

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?

TheOnlyJoey
Newbie
Posts: 3
Joined: Tue Oct 07, 2008 12:10 am

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

Post by TheOnlyJoey » Tue Oct 07, 2008 6:17 pm

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

Post Reply