Login  Register

Re: Java 3D in eclipse Mac OSX not functioning

Posted by everythingConnected on Feb 02, 2015; 10:13am
URL: https://forum.jogamp.org/Java-3D-in-eclipse-Mac-OSX-not-functioning-tp4033010p4033977.html

Thanks for your help once again. Have just been googling the manifest option and impacts on classpath and becoming slightly confused. Could you send me a link to the paragraph you mention please?

Just so you know what I am doing in case I am making other mistakes. I have a jar created in eclipse on a PC. The manifest file simply says:

Manifest-Version: 1.0
Main-Class: main.MyDriver
SplashScreen-Image: images/splash.jpg

This works fine on a PC, and simply needs to run on a Mac. Other Java (non Java3D) programs I have run fine on a mac by simply double clicking the relevant jar file. However this doesnt work in Java3D on a Mac. All I want to do is to get my Jar to run on my friends Mac - ideally via a double click. Will this be possible with the current Java3D / Mac OS systems?

When you say 'update the classpath attribute of the manifest' could you give me a tip please. And surely if I affected the classpath via the manifest file this would have an impact on the jar files portability?


Dont worry, your blog instructions are the clearest information I have found and are much appreciated. There is a lot of conflicting advice out there, due to the various versions that have been run of Java3D over the years. As said, I have been through the Mac and cleared all the dirty installs I have put in, to the best of my knowledge. I have been using Java3D for nearly 10 years and so unfortunately the old ways of installing the various old versions have become common, and were the first things I tried due to habit with PC's. They also work fine on a PC, and I am not a normal Mac user, and having spent far too much of my time on this problem already am unlikely to become one:-)