My Oracle Support Banner

OC4J Startup Encountering Error "execve()" When Using JavaVM Startup Flag -D64 (Doc ID 368973.1)

Last updated on OCTOBER 12, 2020

Applies to:

Oracle Containers for J2EE - Version to [Release AS10g to AS10gR3]
Oracle Solaris on SPARC (64-bit)
Oracle Solaris on SPARC (32-bit)
Sun Solaris SPARC (64-bit)Sun Solaris SPARC (32-bit)
Solaris Operating System (SPARC 64-bit)Solaris Operating System (SPARC 32-bit)


You are using the OC4J component of an Application Server release and have added "-d64" as a JVM command line flag via the "java-options" data element in the "start-parameters" for an OC4J instance. Your configuration file opmn.xml looks like:

  id="java-options" value="-server -d64$ORACLE_HOME/j2ee/<oc4jName>/config/java2.policy"

After modifying opmn.xml with the above, you have to ensure that the running OPMN process is updated with the new configuration. When running the command opmnctl reload to do so you find the OC4J instance you have configured no longer starts up successfully. The error reported is:

execve(): No such file or directory
Error trying to exec ORACLE_HOME/jdk/bin/sparcv9/java.
Check if file exists and permissions are set correctly.
Failed to start a 64-bit JVM process from a 32-bit JVM.
Verify all necessary J2SE components have been installed.
(Solaris SPARC 64-bit components must be installed after 32-bit components.)

It can be necessary to increase the level of logging for the OPMN. To do so follow this steps:




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.