Accessibility

TechNote

ColdFusion MX 7: Resolving InvocationTargetException error during Updater installation on Linux

Issue


ColdFusion MX 7 updater installations may result in a "Warning: -Xmx50331648 not understood. Ignoring." message. The full stack is as follows:

 Warning: -Xmx50331648 not understood. Ignoring.
		
Warning: -Xms16777216 not understood. Ignoring.
Invocation of this Java Application has caused an
InvocationTargetException. This application will now exit. (LAX)

Stack Trace:

 java.lang.NoClassDefFoundError: while resolving class: ZeroGe
		
at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0)
at _Jv_ResolvePoolEntry(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)
at ZeroGd.<clinit>() (Unknown Source)
at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0)
at _Jv_ResolvePoolEntry(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)
at com.zerog.ia.installer.LifeCycleManager.a(boolean) (Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.b(java.lang.String[]) (Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.a(java.lang.String[]) (Unknown Source)
at com.zerog.ia.installer.Main.main(java.lang.String[]) (Unknown Source)
Caused by: java.lang.ClassNotFoundException: com.apple.mrj.MRJOSType not found in
[file:/tmp/install.dir.6465/InstallerData/, file:/tmp/install.dir.6465/InstallerData/installer.zip,
file:/usr/share/java/libgcj-3.4.6.jar, file:./, core:/]
at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
at gnu.gcj.runtime.VMClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.5.0.0)
at _Jv_FindClass(_Jv_Utf8Const, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
at _Jv_BytecodeVerifier.verify_instructions_0() (/usr/lib/libgcj.so.5.0.0)
at _Jv_VerifyMethod(_Jv_InterpMethod) (/usr/lib/libgcj.so.5.0.0)
at _Jv_PrepareClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
at _Jv_WaitForState(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)
at java.lang.VMClassLoader.linkClass0(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
...9 more

(:6465): Gtk-WARNING **: cannot open display:

Reason


This error occurs because the installer is using the default JVM that is installed on the machine. Many times this is a 1.2.x version of the JVM. ColdFusion MX 7 requires at least the 1.4.2_05 or higher JVM, but is not supported on 1.5._XX JVMs.

Solution


To work around the problem, use the command line parameter LAX_VM to specify the Java executable file to use during the installation. The following example uses the updater2 installer:

./coldfusion-70-updater2-lin.bin LAX_VM /$JAVA_HOME/bin/java

Additional Information


ColdFusion MX 7: Complete System Support Matrix

AlertThis content requires Flash

To view this content, JavaScript must be enabled, and you need the latest version of the Adobe Flash Player.

Download the free Flash Player now!

Get Adobe Flash Player

Creative Commons License

Search Support


Document Details

ID:kb400465

Products Affected:

coldfusion