If you already have a Java JDK/SDK or JRE, that is, a Java/Software Development Kit or Java Runtime Environment, installed, then you may have to take care to uninstall them or leave them alone!
It is recommended that you have the lastest version of Netscape 4.7x, which at this time of writing, is 4.76, if you plan to install the Java PlugIn for netscape. It works, but you may (or may not) experience Segmentation Faults when leaving a page that contained a Java 3D applet.
Assuming your are logged in as root and have downloaded the Java packages from blackdown.org into the root home directory, /root, do:
Install the Java 2 SDK (1.2.2) and Java 3D (1.2) extension:
cd /usr/local tar -xvyf ~/j2sdk-1.2.2-FCS-linux-i386-glibc-2.1.3.tar.bz2 ln -s jdk1.2.2 jdk cd jdk tar -xvyf ~/java3d1_2-FCS-linux-i386-sdk.tar.bz2 cd jre/lib/ext cp j3d* .. cp vecmath.jar .. cd /usr/local chown -R root:root jdk1.2.2 |
Edit /etc/profile, add:
JAVA_HOME=/usr/local/jdk PATH=$PATH:$JAVA_HOME/bin export JAVA_HOME PATH |
Install the Java PlugIn for netscape:
-- source profile to set JAVA_HOME and PATH source /etc/profile cd chmod u+x JavaPlugIn-1.2.2-FCS-linux-i386-glibc-2.1.3.run ./JavaPlugIn-1.2.2-FCS-linux-i386-glibc-2.1.3.run -- each user has to run this file to install the plugin - it is per user, not global netscape & |
The next step is to configure the Java PlugIn. It comes with a configuration applet.
netscape ~/.netscape/java/ControlPanel.html & -- the Control Panel for JavaPlugIn should load |
/usr/local/jdk1.2.2/jre |
Test Java 3D demos:
cd $JAVA_HOME/demo/java3d/GearTest java GearBox & -- runs as normal java application netscape GearBox_plugin.html & -- runs in netscape as an applet |
If all works well, you should have a complete Java Developement and Runtime Environment for both normal apps and high-performance 3D apps. See http://java.sun.com/ for further information about Java and the Java 3D extension.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |