My Oracle Support Banner

Generate Jar File causes NoClassDefFoundError sun/security/tools/JarSigner (Doc ID 393306.1)

Last updated on APRIL 04, 2025

Applies to:

Oracle Applications DBA - Version 11.5.10.0 to 11.5.10.2 [Release 11.5.10]
Information in this document applies to any platform.

Symptoms

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

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

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


LOG FILE
----------
File name <adadmin.log>

Error:
-------
Executing: /.../app/j2se1_5_0_6/jdk1.5.0_06/bin/java sun.security.tools.JarSigner -keystore
******** -storepass ******** -keypass ******** -sigfile CUST -signedjar
/.../app/oracle/frmtcomn/java/oracle/apps/fnd/jar/fndnetcharts.jar.sig
/.../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 - /.../app/oracle/frmtcomn/java.

adogjf() Unable to generate jar files under JAVA_TOP

Changes

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)

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.