|
楼主 |
发表于 2008-11-17 03:47:54
|
显示全部楼层
资料1中提到:
All JDK builds require access to the previously released JDK 5.0, this is often called a bootstrap JDK. The JDK 5.0 binaries can be downloaded from Sun's JDK 5.0 download site. For build performance reasons is very important that this JDK be made available on the local disk of the machine doing the build. You should always set ALT_BOOTDIR to point to the location of the bootstrap JDK installation, this is the directory pathname that contains a bin, lib, and include It's also a good idea to also place its bin directory in the PATH environment variable, although it's not required.
即对jdk6的编译需要用到 jdk5, 我从http://java.sun.com/j2se/1.5.0/download.html
下载了java_ee_sdk-5_01-linux.bin,
但是安装不了。。。
出错信息如下所示:
[root@~]#./java_ee_sdk-5_01-linux.bin
./java_ee_sdk-5_01-linux.bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
我知道是共享库的问题。
我机上的是libstdc++.so.6,版本太高的。。。
如下可知,我机上的版本是libstdc++.so.6
ls /usr/lib/libstdc++.*
/usr/lib/libstdc++.a /usr/lib/libstdc++.so /usr/lib/libstdc++.so.6.0.8
/usr/lib/libstdc++.la /usr/lib/libstdc++.so.6
这样的话,java_ee_sdk-5_01-linux.bin用啥办法能装到我机子上呢? |
|