发新话题
打印

Eclipse和JBuilder的安装问题

Eclipse和JBuilder的安装问题

从Fedora转到Gentoo上后,一直无法运行Eclipse和Jbuilder.
   
  我是这样安装Eclipse
  emerge sun-sdk
  安装了1.4.6的java-sdk.
  从Eclipse网站下载了Eclipse 3.0 ,3.0.1, 3.0.2,解开包后.
   
  现象:在选择了workspace之后,就只见Eclipse的启动画面在屏幕上,不动了。而且Cpu的使用率一直居高。
   
  后来用 emerge eclipse-sdk 的方式安装(下载了26个之多的Dependency package)。也是出现同样的问题。
  
后经人提可能是GTK的问题,因为我下载的版本是GTK版本的Eclipse. 试了一下MOTIF版本的Eclipse,可以正常运行。但界面实在太难看。可不知道怎么修改GTK(没有概念)。

  安装JBuilder 2005
   用 mount -o loop -t iso9660 jbuildera.iso /mnt/iso 将iso文件mount到一个路径。
  在当前路径下 ./install_linux.sh
  只选择安装JBuilder2005.选择完毕后,点Next。几秒钟后,安装成功。出现如下提示:
  # Warning: Cannot convert string "-b&h-lucida-medium-r-normal-sans-*-1 40-*-*-p-*-iso8859-1" to type FontStruct
  Command to execute: /mnt/iso/Disk1/InstData/Linux/VM/install.bin
  New Process Thread Created
  Command to execute: /mnt/iso/Disk1/InstData/Linux/VM/install.bin
   
  直接去/mnt/iso/Disk1/InstData/Linux/VM 执行 ./install.bin 这回出现下面这些提示。
  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...
  nawk: error while loading shared libraries: libdl.so.2: cannot open shared objec t file: No such file or directory
  dirname: error while loading shared libraries: libc.so.6: cannot open shared obj ect file: No such file or directory
  /bin/ls: error while loading shared libraries: librt.so.1: cannot open shared ob ject file: No such file or directory
  basename: error while loading shared libraries: libc.so.6: cannot open shared ob ject file: No such file or directory
  dirname: error while loading shared libraries: libc.so.6: cannot open shared obj ect file: No such file or directory
  basename: error while loading shared libraries: libc.so.6: cannot open shared ob ject file: No such file or directory
  hostname: error while loading shared libraries: libc.so.6: cannot open shared ob ject file: No such file or directory
   
  Launching installer...
   
  grep: error while loading shared libraries: libc.so.6: cannot open shared object  file: No such file or directory
/tmp/install.dir.12913/Linux/resource/jre/bin/java: error while loading shared l ibraries: libpthread.so.0: cannot open shared object file: No such file or direc tory
  
  请问这到底是哪里的问题呀?
  谢谢。      

TOP

JBuilder2005安装问题已解决。
原因是install.bin检查NPTL出错。
解决:
找到相应的install.bin文件(我的情况:第一张光盘的Disk1/InstData/Linux/VM to run install.bin)

将文件中所有的
linux_LD_ASSUME_KERNEL_hack=1
改成
linux_LD_ASSUME_KERNEL_hack=0

注:install.bin文件包含有shell script和二进制代码。所以修改时需用二进制编辑器(如:ghex2,hexedit).      

TOP

发新话题