This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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