Re: [fedora-java] Installing Java3D on FC4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@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.


[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux