LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Java applet not working (https://www.linuxquestions.org/questions/linux-software-2/java-applet-not-working-309096/)

amwink 04-02-2005 08:48 PM

Java applet not working
 
I'm not sure if this is the right forum... Anyway here is my question:

I'm trying to run a jar file (java applet), but it crashes:

Code:

amwink@schwarz:~> java -jar SearchAndView.jar
Exception in thread "main" java.lang.NoClassDefFoundError: BlowfishJ/BlowfishOutputStream
        at SViewFrame.<init>(SViewFrame.java:67)
        at SearchAndView.main(SearchAndView.java:96)

I tried to run as root and upgraded to the lastest version of JRE (1.5.0_02-b09), but I still get this error.

I'm running Slack 10.1 (kernel 2.4.29).

Any ideas?

Tks.

amwink

saravkrish 04-02-2005 09:29 PM

Obviously, you are missing the class called BlowfishOutputStream (which I think belongs to the BlowfishJ package). I tried to find the package on the net but wasn't able to. I spent only about 5 mins. So google for it and download it and use something like

java -cp <BlowFishJ jar file you downloaded> -jar SearchAndView.jar

Thats should work I guess!

Edit 1:
Check out this page. Might be just what you need now!

-Sarav

amwink 04-03-2005 09:54 AM

Thanks a lot for your help.

I downloaded the blowfish-j (v. 2.12), put the blowfish jar file in the same dir of my applet an run exactly as you explained, but I received the same error message. I tried also version 2.14, but it doesn't work as well.


All times are GMT -5. The time now is 05:10 PM.