Re: Dealing with the outdated java3d libraires on Mac
Posted by
runiter on
Mar 15, 2014; 12:39am
URL: https://forum.jogamp.org/Dealing-with-the-outdated-java3d-libraires-on-Mac-tp4031866p4031907.html
Easiest way I could find was to use jarjar tool to rename all j3d packages in all the jar files. It's very easy to use and will save you time from recompiling Java3D yourself.
The tool is here:
https://code.google.com/p/jarjar/wiki/CommandLineDocsI made the following rule.txt file:
rule javax.media.j3d.** javax1.media.j3d.@1
rule com.sun.j3d.** com1.sun.j3d.@1
I made a bat file with the following command lines:
java -jar jarjar-1.4.jar process rules.txt java3d\j3dcore.jar java3d-jarjar\j3dcore.jar
java -jar jarjar-1.4.jar process rules.txt java3d\j3dutils.jar java3d-jarjar\j3dutils.jar
java -jar jarjar-1.4.jar process rules.txt java3d\vecmath.jar java3d-jarjar\vecmath.jar