bonjour,
j’ai trouvé un tuto pour windows mais pas pour linux.
Dans mon IDE, Help/Install_new_software ? Je n’ai pas trouvé l’adresse sur le net.
Je continue à chercher mais si quelqu’un l’a déjà fait …
merci.
bonjour,
j’ai trouvé un tuto pour windows mais pas pour linux.
Dans mon IDE, Help/Install_new_software ? Je n’ai pas trouvé l’adresse sur le net.
Je continue à chercher mais si quelqu’un l’a déjà fait …
merci.
je me lance :
root@debian:/home/eric# ./j3d-1_5_2-linux-amd64.bin
Extracting...
UnZipSFX 5.50 of 17 February 2002, by Info-ZIP (Zip-Bugs@lists.wku.edu).
creating: lib/
creating: lib/ext/
inflating: lib/ext/vecmath.jar
inflating: lib/ext/j3dcore.jar
inflating: lib/ext/j3dutils.jar
creating: lib/amd64/
inflating: lib/amd64/libj3dcore-ogl.so
Done.
[code]Download and unzip j3d-1_5_2-XXX.zip into a temporary download directory, for example, /tmp. This will create a j3d-1_5_2-XXX subdirectory in /tmp where the downloaded files can be found. The file you need for manual installation is j3d-jre.zip.
Create a folder for the j3d jar files and native libraries, for example, /myhome/j3d, and unzip j3d-jre.zip into this directory as follows:
cd /myhome/j3d
unzip /tmp/j3d-1_5_2-*/j3d-jre.zip
Modify your CLASSPATH environment variable to include the full paths to j3dcore.jar, j3dutils.jar, and vecmath.jar. For example:
export CLASSPATH=.:/myhome/j3d/lib/ext/j3dcore.jar:/myhome/j3d/lib/ext/j3dutils.jar:/myhome/j3d/lib/ext/vecmath.jar
Modify your LD_LIBRARY_PATH environment variable to contain the full path to the lib/ directory. For example, on 32-bit Linux:
export LD_LIBRARY_PATH=/myhome/j3d/lib/i386[/code]
j’ai fait ça, mais après :[code]At this point your Java installation should be able to see the j3d class files. Users of IDEs such as NetBeans and Eclipse should consult the IDE’s documentation to see how to add jar files and native libraries to their current project.
[/code] et là je sais plus. Dans Eclipse Window/Préférences/java/Build_path j’ai indiqué mes classes et ma lib mais ça change rien.
Je rame