I have a Java Applet that needs a 3rd party library, but how do I add the jar to the classpath and reference it to the Java Applet?
My third party library is org.apache.commons.lang.StringUtils
Do you want to embed your applet into a website / HTML with the applet tag?
<applet code="de.package.AppletClass"
archive="apache-commons-lang.jar">
</applet>
To compile it in console use:
javac -classpath C:\dev\YourClass.java C:\dev\3thParty.jar