My Oracle Support Banner

Signing .jar Files for 11g / SIGN_WEBUTIL.BAT Command Results in Error "The Syntax of the Command is Incorrect" (Doc ID 1076945.1)

Last updated on MARCH 29, 2022

Applies to:

Oracle Forms - Version and later
Information in this document applies to any platform.





The courtesy script was provided to Oracle Forms customers as an example demonstrating how custom jar files such as jacob.jar can be signed with a self signed certificate.  Once the script is successfully run the first time a self-signed certificate is created as defined in the script and the jar file specified is signed. The focus of this document is to discuss how to use the and the resulting keystore file to create signatures for use with Forms 11g. 

Note:  The courtesy script was primarily designed to make signing jacob.jar a one step process.  Once you've run it, the resulting keystore can be used to sign other jar files and this is the focus of this note.  However, if you wish to sign more than one custom jar file or sign your jar files with a certificate from a recognized Trusted Certificate Authority then we recommend you use the following note:

<Note 2065434.1> Jar File Signing for Forms – Addressing JRE Java Security Warnings such as “Do you want to run this application?", "Application Blocked by Java Security","Running this application may be a security risk", etc

In Forms 11g, when trying to sign jacob.jar (or any other jar file) with the provided sign_webutil.bat the following message may be encountered :

ORACLE_INSTANCE\bin\sign_webutil.bat %ORACLE_HOME%\forms\java\jacob.jar
The syntax of the command is incorrect.


The sign_webutil.bat that comes with Forms 11g allows users to specify their own KEYSTORE_PASSWORD and JAR_KEY_PASSWORD

In addition, there are changes related to Jar File signing beginning in the April 2013 CPU patch which may affect your Forms application. Please carefully read <note 1594575.1> and <Note 1542463.1> and the links to the Java Security related information in those notes.


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

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