> It will be nice if you could write down > what kind of operations you have done to > get the correct installation and send it > to other people on the listserver. > Ok, I attached a file with a way, that should hopefully work. But I am not sure because I had to mix several of my tries and tips from at least three persons. Desiree
How to install Java3D on Linux: (I am working on SuSE Linux 6.3 (xf86-3.3.6)) Download the following from blackdown: Java3D 1.1.3 http://www.blackdown.org/java-linux/jdk1.2-status/java-3d-status.html JDK 1.2.2 http://www.blackdown.org/java-linux/jdk1.2-status/jdk1.2-status.html First step: Installation of Java2: % cd /usr/local % chmod +x <path>/jdk-1.2.2-RC4-linux-i386-glibc-2.1.2.sh % <path>/jdk-1.2.2-RC4-linux-i386-glibc-2.1.2.sh try this with a demo applet Second step: Installing Mesa: Download the Mesa-3.1-3rh61.i386.rpm from ftp://ftp.falsehope.com/pub/Mesa/Attic/ I know that it is for RedHat 6.1. But hope it will work for SuSE. You install it by: rpm -ivh Mesa-3.1-3rh61.i386.rpm ( I had to add an additionally option: rpm -ivh --replacefiles Mesa-3.1-3rh61.i386.rpm ) If you need it uninstalled you just say: rpm -e Mesa-3.1-3rh61.i386.rpm Third step: Installation of Java3D: Installation: ------------- cd $installdir # see note below tar xvIf java3d1_1_3-RC1-linux-sdk.tar.bz2 where $installdir is the directory where JDK1.2.2 was extracted. Once the release has been extracted, you may want to run one of the example programs. cd $installdir/jdk1.2.2/demo/java3d/test_program java test_program Where test_program is the program you wish to run (e.g., HelloUniverse). If you get an error message about a missing symbol (glTexImage3D), then please try again after: mv $installdir/jdk1.2.2/jre/lib/i386/libJ3D.so $installdir/jdk1.2.2/jre/lib/i386/libJ3D.so.TEXTURE_3D mv $installdir/jdk1.2.2/jre/lib/i386/libJ3D.so.no_TEXTURE_3D $installdir/jdk1.2.2/jre/lib/i386/libJ3D.so Maybe you do have problems with missing fonts then try: You will need the URW fonts as suggested on the Blackdown homepage. Do a Save As on the link marked 'here' on the following page: http://www.gimp.org/fonts.html. Unbundle this software, and copy it to your X11 URW fonts directory, which for me is: cp URW/* /usr/lib/X11/fonts/URW/ There are instructions on the side referring to the x86config In my first try I also changed the Librarypath and did a softlink for Mesa, I don't know if thats necessary, because I change the Mesa in the meantime: 14) Go to the directory /usr/local/lib 15) Create softlink from libGL.so.1.2.0 to libMesaGL.so.3 (libMesaGL.so.3->libGL.so.1.2.0) ln -s libGL.so.1.2.0 libMesaGL.so.3 16) Add /usr/local/lib directory to your LD_LIBRARY_PATH path setenv LD_LIBRARY_PATH .:/local/lib:/usr/lib:/usr/lib/X11:/usr/local/lib or incrementally setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:/usr/local/lib 17) Got to the directory //homes/nikom/work/Java/jdk1.2/demo/java3d/ and run the software from those subdirectories Hopefully this will help you to get Java3D to work!
