[fedora-java] Installing Java3D on FC4

Joshua Daniel Franklin jdf.lists at gmail.com
Tue Jul 5 17:29:23 UTC 2005


On 7/2/05, Manuel Dahmen wrote:
> I'm new to Fedora and I don't know where to unzip j3d-132-linux-x86.zip
> (archive from Sun).

Are you using Fedora Core 4? Have you installed Sun's JVM too?
If you're using JPackage, build an RPM out of the zip:
http://jpackage.org/rpm.php?id=2607 and then install it.
I also use the below script to link the Java3d files into the default
JVM, otherwise you need to do something like this:

cd /usr/share/java3d/demo/java3d/TextureTest
java -cp `build-classpath-directory /usr/share/java/java3d`:./
-Djava.library.path=/usr/lib MultiTextureTest

 
#!/bin/sh

# 2005-06-15
# Joshua Daniel Franklin <joshuadf at u>
#
# puts the native extention .so and .jar files in the
# current default JRE --- run first time you install
# or switch to a JRE since /usr/lib/jvm/java is a link
# /usr/lib/jvm/java -> /etc/alternatives/java_sdk
# /etc/alternatives/java_sdk -> /usr/lib/jvm/java-1.5.0-sun

for i in $(rpm -ql java3d | grep '.so$' ); do
        ln -s $i /usr/lib/jvm/java/jre/lib/i386
done

for i in $(rpm -ql java3d | grep '.jar$' ); do
        ln -s $i /usr/lib/jvm/java/jre/lib/ext
done
#-----------------

> And: is that all I need to do to create J3D projects in Eclipse? Or is
> there something else to do?

I don't know, though you can certainly try.




More information about the fedora-devel-java-list mailing list