when i run my build.xml file under Eclipse platform i have the following error :
[signjar] Signing Jar : D:\server_app_java\deploy\Fiche25.jar [signjar] java.lang.NoClassDefFoundError: sun/security/tools/JarSigner [signjar] Exception in thread "main"
so i try to launch jarsigner by "cmd" command and found this :
jarsigner works well if i specify the jdk absolute path like this C:\j2sdk1.4.2_04\jarsigner.exe ... whatever the starting folder i use, but if i just use "jarsigner.exe....." i have the same error message than eclipse console.
I don't understand all other exe files under C:\j2sdk1.4.2_04 folder work fine whithout the absolute path (cause the environment variable path is set to this folder) but jarsigner doesn't
any idee ?
Joined: Nov 16, 2004
ouppsss !! i forgot a folder in my message
from cmd i use "C:\j2sdk1.4.2_04\bin\jarsigner.exe ...." that's ok within the path does not work