|
阅读:1647回复:7
[求助]怎样在linux下安装java虚拟机??
上午依照下面步骤安装了java虚拟机,但是没有安装成功,想要看到的网页还是打不开!怎么办??
Java Plug-In Install Instructions ================================= Only Mozilla 1.5 and Netscape 7.1 Linux browsers are support with Sun Java 1.4.2_03 plugin. You have been directed to this page because you have failed on of the requirement test. Please insure that you are using one of the supported browsers and that the Java plugin is Sun Java 1.4.2_03 The i386 version of J2SE 1.4.2_03 uses the HotSpot Client VM by default. The HotSpot Server VM can be enabled with the '-server' switch. Requirements * i586 compatible system * glibc 2.2.5 or newer * kernel 2.4.18 or newer * XFree 4.2 or newer * libstdc++ from gcc-3.2 or newer (only needed for the gcc-3.2 Java build) * Mozilla 1.0 or newer built with gcc-2.95 or gcc-3.2 depending on which Java build you use (needed only for the Java Plug-In) Installation Instructions: * Download Sun Java 1.4.2_03 * When prompted, save the file to your hard drive (i.e. /tmp) * From the shell, su to root * Copy binary to the standard Java install directory (i.e. /usr/java) * Set the executable bit on j2re-1_4_2_03-linux-i586.bin $ chmod u+x j2re-1_4_2_03-linux-i586.bin * Install the binary by running: $ ./j2re-1_4_2_03-linux-i586.bin Create a symbolic link to the Java plugin in the browser's plugin directory. Depending on where the Java plugin is installed and where Mozilla or Netscape is installed, type something like the following: # If your system has GCC 3.2 (RedHat 8 or 9) do: $ ln -s /usr/java/j2re1.4.2_03/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /usr/local/mozilla/plugins/libjavaplugin_oji.so # Otherwise: $ ln -s /usr/java/j2re1.4.2_03/plugin/i386/ns610/libjavaplugin_oji.so /usr/local/mozilla/plugins/libjavaplugin_oji.so Note: * It has to be a symbolic link, copying libjavaplugin_oji.so will NOT work. * If you have other version of Java plugin installed before, please delete pluginreg.dat file generated by Mozilla browser (eg. in /root/.mozilla ) vv |
|
|
|
1C#
发布于:2005-08-19 16:19
Re:[求助]怎样在linux下安装java虚拟机??
为什么米有人帮助我啊,??~!?~ |
|
|
|
2C#
发布于:2005-08-23 10:59
Re:[求助]怎样在linux下安装java虚拟机??
??? |
|
|
|
3C#
发布于:2005-08-23 11:39
Re:[求助]怎样在linux下安装java虚拟机??
Linux 下Mozilla 和Netscape 访问XXXXXXXXXXX 操作手册
一. 系统要求 1. i586系统 2. glibc 2.2.5或者更高版本 3. kernel 2.4.18或者更高版本 4. XFree 4.2或者更高版本 5. gcc-3.2或者更高版本 (仅为安装gcc-3.2 Java) 6. Mozilla 1.0 或者Netscape 7.1以上版本 二. 操作步骤 (1) 只安装Mozilla的情况下 1./usr下建立java目录 2.将文件j2re-1.4.2-rc1-linux-i586-gcc2.95.bin拷贝到这个目录下 3.Java目录下运行 chmod u+x j2re-1.4.2-rc1-linux-i586-gcc2.9.5bin 4.Java目录下运行 ./ j2re-1.4.2-rc1-linux-i586-gcc2.9.5.bin 5.运行 ln -s /usr/java/j2re1.4.2/plugin/i386/mozilla/libjavaplugin_oji.so /usr/lib/mozilla-1.2.1/plugins/ 6.运行Mozilla访问Netilla (2) 只安装Netscape的情况下 1./usr下建立java目录 2.将文件j2re-1.4.2-rc1-linux-i586-gcc3.2.bin拷贝到这个目录下 3.Java目录下运行 chmod u+x j2re-1.4.2-rc1-linux-i586-gcc3.2bin 4.Java目录下运行 ./ j2re-1.4.2-rc1-linux-i586-gcc3.2.bin 5.运行 ln -s /usr/java/j2re1.4.2/plugin/i386/mozilla/libjavaplugin_oji.so /usr/local/netscape/plugins/ 6.运行Netscape访问Netilla (3)即安装Mozilla又安装Netscape的情况下 1. /usr下建立java目录 2. /usr/java 下建立backup目录 3. 将文件j2re-1.4.2-rc1-linux-i586-gcc2.95.bin 和文件j2re-1.4.2-rc1-linux-i586-gcc3.2.bin 拷贝到这个目录下 4. java目录下运行 chmod u+x j2re-1.4.2-rc1-linux-i586-gcc3.2.bin 5. java目录下运行 chmod u+x j2re-1.4.2-rc1-linux-i586-gcc2.9.5.bin 6. java目录下运行 ./ j2re-1.4.2-rc1-linux-i586-gcc3.2.bin 7. 拷贝 /usr/java/j2re1.4.2/plugin/i386/mozilla/libjavaplugin_oji.so文件到/usr/java/backup 目录 8. 删除/usr/java/j2re1.4.2/ 9. 执行 ./ j2re-1.4.2-rc1-linux-i586-gcc2.9.5.bin 10. 将/usr/java/backup/libjavaplugin_oji.so 文件拷贝到/usr/java/j2re1.4.2/plugin/i386/netscape4/ 11. 执行 ln -s /usr/java/j2re1.4.2/plugin/i386/mozilla/libjavaplugin_oji.so /usr/lib/mozilla-1.2.1/plugins/ 12. 执行 ln -s /usr/java/j2re1.4.2/plugin/i386/netscape4/libjavaplugin_oji.so /usr/local/netscape/plugins/ 注: libjavaplugin_oji.so 只能进行链接,拷贝文件不起作用 翻译了!其实不翻译谁看不懂啊!可就是没成功过! |
|
|
|
4C#
发布于:2005-08-23 11:58
Re:[求助]怎样在linux下安装java虚拟机??
超级自言自语贴. |
|
|
|
5C#
发布于:2005-08-23 11:58
Re:[求助]怎样在linux下安装java虚拟机??
顶!!!! |
|
|
|
6C#
发布于:2005-08-26 09:12
Re:[求助]怎样在linux下安装java虚拟机??
mozilla的firefox装在什么目录下来啊??找了好久了,只要找到安装目录,做个连接就好了。谁知道,我的系统是Red flag 桌面4.1 。谢谢兄弟们了! |
|
|