[java] .jar packages
Another quick-''n-simple question
I have a lot of .class files building my applet, and I want to put them all into one .jar archive. But how do I make the browser understand which .jar package to get in order to find the classes?
-------------------------------------------------------------LGPL 3D engine - http://www.sourceforge.net/projects/realityengine
APPLET archive="xxx.jar" code="yyy.class" width=".." height=".."
...
/APPLET
Edited by - Viking on November 15, 2000 6:38:24 AM
...
/APPLET
Edited by - Viking on November 15, 2000 6:38:24 AM
According to my HTML reference, ARCHIVE is Netscape-specific. Is it really generally accepted by all browsers?
-------------------------------------------------------------LGPL 3D engine - http://www.sourceforge.net/projects/realityengine
hmmm.. don''t know. I took the example from "Java Examples in a Nushell".
November 15, 2000 07:30 AM
Yes, I beleive archive is NS specific. You would need a CAB file as well and another option to make it work under both, or have the classfiles in a directory and only use the jar file for netscape.
I''ve never had a problem with IE understanding archive= and opening jar files.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement