webtop在redhat5上的安装问题

今天在Redhat上安装webtop2.2,运行安装脚本:./install.sh,后发现报出如下错误:

Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...

Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)

Stack Trace:
java.lang.NoClassDefFoundError: com.zerog.ui.gui.liteweight.ZGGridBagContainer
   at java.lang.Class.initializeClass(libgcj.so.7rh)
   at java.lang.Class.initializeClass(libgcj.so.7rh)
   at ZeroGic.a(DashoA10*..)
   at ZeroGic.<init>(DashoA10*..)
   at ZeroGhv.a(DashoA10*..)
   at com.zerog.ia.installer.AAMgr.a(DashoA10*..)
   at com.zerog.ia.installer.LifeCycleManager.h(DashoA10*..)
   at com.zerog.ia.installer.LifeCycleManager.a(DashoA10*..)
   at com.zerog.ia.installer.Main.main(DashoA10*..)
   at java.lang.reflect.Method.invoke(libgcj.so.7rh)
   at com.zerog.lax.LAX.launch(DashoA10*..)
   at com.zerog.lax.LAX.main(DashoA10*..)
Caused by: java.lang.IncompatibleClassChangeError: ZeroGsl
   at java.lang.VMClassLoader.defineClass(libgcj.so.7rh)
   at java.lang.ClassLoader.defineClass(libgcj.so.7rh)
   at java.security.SecureClassLoader.defineClass(libgcj.so.7rh)
   at java.net.URLClassLoader.findClass(libgcj.so.7rh)
   at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.7rh)
   at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
   at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
   at java.lang.Class.initializeClass(libgcj.so.7rh)
   ...11 more


  经查证,原来是selinux的问题,解决办法有两种如下:
1.使用命令setenforce 0临时将selinux关闭,恢复的话使用命令:setenforce 1
2.要么编辑/etc/selinux/config文件,如下:
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#       enforcing - SELinux security policy is enforced.
#       permissive - SELinux prints warnings instead of enforcing.
#       disabled - No SELinux policy is loaded.
SELINUX=enforcing
将SELINUX=enforcing修改为SELINUX=disabled后重新启动系统。

你可能感兴趣的:(职场,selinux,休闲,webtop)