I have written a Java applet class and made a small HTML page to include it via the <applet>-tag.
(This is running locally on my disk drive for the moment)
This works well, that is, the applet is being loaded properly.
But the applet depends on external libraries (jars).
E.g. i imported org.apache.batik.swing.JSVGCanvas;
Of course, I have all the jars here and testing the applet from within Eclipse works fine.
But the browser (Firefox) doesn’t seem to find the jars.
How do i tell the browser where to search for the external jars?
I tried setting CLASSPATH in the user environment variables. without success.
This is on windows XP, running JRE 1.6.
I have written a Java applet class and made a small HTML page to
Share
Applet is executed in clients machine, so having libs in CLASSPATH won’t help.
Libs should be in “archive” attribute: