Skip to main content
GameDev.net gamedev.net
🔒 Locked

[java] Applet and Jar file

Started by jolyqr Sep 17, 2006 at 12:53 PM 3 replies 650+ views
Original Post
jolyqr
jolyqr
Basically I have created an applet. I would like to create a jar file of it. The main function of the applet is located in org\jdesktop\j3d\examples\applet3d\. The class containing the main is named Applet3D.class. When the above folders are not compressed in Jar, I don't have any problems to run the applet. I just have to put the following line in the HTML file : org/jdesktop/j3d/examples/applet3d/Applet3D.class I have put the folders of my applet in a Jar folder "applet3d.jar". Now I do not know how to run the applet... cheers
Bimble Bob
Bimble Bob
You need to add the Archive parameter to the APPLET tag if I'm not mistaken.

So something like:

It's not a bug... it's a feature!
jolyqr
jolyqr
i'm gonna try...


thanks
jolyqr
jolyqr
thanks a lot, it works.
Bimble Bob
Bimble Bob
Happy to help when I can :)
It's not a bug... it's a feature!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.