日期:2014-05-16  浏览次数:20895 次

fc6下安装jb2006,出现问题???
bash-3.1#   ./install_linux.sh
Preparing   JBuilder   2006   installation   ...
You   have   new   mail   in   /var/spool/mail/root
bash-3.1#   Exception   in   thread   "main "   java.lang.UnsatisfiedLinkError:   /root/jb.install.vm/lib/i386/libawt.so:   libXp.so.6:   cannot   open   shared   object   file:   No   such   file   or   directory
                at   java.lang.ClassLoader$NativeLibrary.load(Native   Method)
                at   java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1560)
                at   java.lang.ClassLoader.loadLibrary(ClassLoader.java:1477)
                at   java.lang.Runtime.loadLibrary0(Runtime.java:788)
                at   java.lang.System.loadLibrary(System.java:834)
                at   sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
                at   java.security.AccessController.doPrivileged(Native   Method)
                at   java.awt.Toolkit.loadLibraries(Toolkit.java:1437)
                at   java.awt.Toolkit. <clinit> (Toolkit.java:1458)
                at   java.awt.Color. <clinit> (Color.java:250)
                at   javax.swing.plaf.metal.MetalTheme. <clinit> (MetalTheme.java:32)
                at   javax.swing.plaf.metal.MetalLookAndFeel.getCurrentTheme(MetalLookAndFeel.java:1294)
                at   javax.swing.plaf.metal.MetalLookAndFeel.createDefaultTheme(MetalLookAndFeel.java:1226)
                at   javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:1233)
                at   javax.swing.UIManager.setLookAndFeel(UIManager.java:394)
                at   javax.swing.UIManager.setLookAndFeel(UIManager.java:424)
                at   com.borland.integration.tools.launcher.launcher.main(Unknown   Source)

bash-3.1#  


我以前在rh9下装过jb2006呀,为什么在fc6上不能安装了呢???



------解决方案--------------------
看上去像是找不到libXp.so.6这个库文件,有资料说可以通过安装X Server解决,就是你安装FC系统的时候选择上图形界面。

另外还有资料说可以用FC6的yum查找安装库文件:
FC6的yum完全可以很轻松的取得任何缺少的软件包
例如缺少libXp.so.6时,使用
# yum -y install libXp.so.6
进行安装。