Is it possible to declare an applet's classpath into the JAR and not into the applet tag ?
- by Laurent K
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 !