Generate Jar File causes NoClassDefFoundError sun/security/tools/JarSigner

(Doc ID 393306.1)

Last updated on SEPTEMBER 09, 2016

Applies to:

Oracle Application Install - Version to [Release 11.5.10]
Information in this document applies to any platform.
***Checked for relevance on 30-Nov-2012***


On 11.5.10.CU2 in Production:
When attempting to generate jar file using adadmin
the following error occurs.

Exception in thread "main" java.lang.NoClassDefFoundError: sun/security/tools/JarSigner

The issue can be reproduced at will with the following steps:
1. Generate jar file using adadmin

File name <adadmin.log>

Executing: /d11/app/j2se1_5_0_6/jdk1.5.0_06/bin/java -keystore
******** -storepass ******** -keypass ******** -sigfile CUST -signedjar
/d11/app/oracle/frmtcomn/java/oracle/apps/fnd/jar/fndnetcharts.jar.uns Towersperrin

ERROR: JarSigner subcommand exited with status 1

No standard output from jarsigner

JarSigner error output:
Exception in thread "main" java.lang.NoClassDefFoundError: sun/security/tools/JarSigner

Done Analyzing/Generating jar files : Wed Sep 27 2006 07:13:30

Errors have occurred; exiting with status 1

Failed to generate product JAR files in JAVA_TOP - /d11/app/oracle/frmtcomn/java.

adogjf() Unable to generate jar files under JAVA_TOP


Installed JDK 1.5

$ADJVAPRG -version
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Server VM (build 1.5.0_06-b05, mixed mode)


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms