Is it possible to declare an applet's classpath into the JAR and not into the applet tag ?
Posted
by Laurent K
on Stack Overflow
See other posts from Stack Overflow
or by Laurent K
Published on 2010-05-10T14:30:19Z
Indexed on
2010/05/10
14:34 UTC
Read the original article
Hit count: 253
I'm building an applet with a quite big classpath. (externalLib1.jar, externalLib2.jar
, etc.)
MyApplet.jar
, the applet's jar contains a Manifest.MF including a ClassPath attribute listing all the required jars.
ClassPath = externalLib1.jar externalLib2.jar externalLib3.jar externalLib4.jar etc.jar
Is there a way to load the applet without listing all the jars in the <applet>
tag ?
I would like to have :
<applet code="MyApplet.class" codebase="mycodeBase" archive="MyApplet.jar"/>
and not :
<applet code="MyApplet.class" codebase="mycodeBase" archive="MyApplet.jar,externalLib1.jar,externalLib2.jar,externalLib3.jar,externalLib4.jar,etc.jar"/>
Is there a way to achieve this ?
Did I miss something, somewhere ?
Thank you for your help !
© Stack Overflow or respective owner