Davide
Posts: 1
Nickname: davide
Registered: Mar, 2002
|
|
Problem with jar archive
|
Posted: Mar 11, 2002 9:39 AM
|
|
Advertisement
|
Hi, I'm using IAIK JCE 3.0 Evaluation (a package for security) and JDK 1.4.0 to develop a project about signing. I've set the classpath using set CLASSPATH=%classpath%;<my-install-directory>\lib\iaik_idea.jar;
as suggested by IAIK When I launch it using java.exe, it's all right: my project works perfectly. However, when I make a jar archive, it doesn't work. I'm using jar.exe: jar cmf manifest.txt jarfile class1 class2 ... etc.. where manifest.txt contains: Main-Class: SigSystem ("SigSystem" is the main class) When I launch it (using java -jar), project starts, but the following exception it's raised: Exception in thread "main" java.lang.NoClassDefFoundError: iaik/pkcs/pkcs12/PKCS12 at SigSystem.main This is the same exception which is raised if I launch the project without setting classpath (set CLASSPATH=%classpath%..etc etc) Please, help me!
|
|