Login  Register

Re: ZipException / classpath problem with jocl trying to run HelloJOCL

Posted by nyholku on Nov 20, 2013; 9:17am
URL: https://forum.jogamp.org/ZipException-classpath-problem-with-jocl-trying-to-run-HelloJOCL-tp4030658p4030662.html

Hi Julien,

thanks for answering and pointing to the wiki page I had not found.

However meanwhile something I read from somewhere solved the problem. I had gluegen.jar in my Eclipse project Libraries definitions and for some reason that messed things up. Removing it makes the program run.

Interestingly in my other project that works I do have gluegen.jar and it still works. Confusing...maybe order of libraries or something. I need to investigate this further.

As to your comment about the  'why - jar and not -classpath', I'm not using neither as I'm on Eclipse. The last line of my post was an accidental copy paste from you wiki:

http://jogamp.org/wiki/index.php/JOCL_FAQ#Getting_Started

which I incidentally think is not quite correct. Apart from the -jar/-cp issue it also tells you that JWS based test can be run to test for proper installation. In my experience it is next to impossible to for mortals to get JWS work on latest Mac OS X  with all the Oracle / Apple messing of the Java scene going on :( JWS seems to be, if not dead, then buried alive in Mac.