Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1265609
  • 博文数量: 264
  • 博客积分: 10772
  • 博客等级: 上将
  • 技术积分: 2325
  • 用 户 组: 普通用户
  • 注册时间: 2007-07-25 11:54
文章分类

全部博文(264)

文章存档

2012年(4)

2011年(51)

2010年(31)

2009年(57)

2008年(51)

2007年(70)

分类: LINUX

2010-12-21 11:57:19

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.() (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

阅读(2100) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~