How to handle 2 or more .jar files with an applet

Hey out there

I have created an ftpClient application that uses "jakarta ftpClient". It works fine as an JFrame application ?But when I converted the Application into an JApplet I get the following Exception:

java.lang.NoClassDefFoundError: org/apache/commons/net/ftp/FTPClient

I have bundled the main application into a .jar file (Application,jar). But I don't know how to handle the 2 jakarta .jar files with my JApplet?

I Tried to append the 2 jakarta .jar files to the Application.jar with the following code:

jar cvf Application.jar 1.class 2.class? commons-net-1.4.1.jar jakarta-oro-2.0.8.jar

But with the same result / Exception (I have signed the Jar file!)

Can anyone help me

Allan / DK

[755 byte] By [X999a] at [2007-11-27 1:42:37]
# 1
this is not directly a security related question, but jars within jars won't be found by the JRE; they won't appear in the classpath.Some googling: http://forum.java.sun.com/thread.jspa?threadID=740123&messageID=4245964
_warper_a at 2007-7-12 0:59:29 > top of Java-index,Security,Signed Applets...