We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello, I would like to be able to code against different versions of processing under netBeans 7.4, version 2.1.1 AND v 1.5.1 to be exact.
I managed to code against the 2.1.1 version (after downloading JOGL2 jars, making a lib out of it, and referencing it under netBeans... works great.. now !).
But it seems like my "old" way to reference the processing 1.5.1 jars (core & opengl) is not working.. Even with the
-Djava.library.path="C:\Tools\processing 1.5.1\modes\java\libraries\opengl\library"
switch, I get a :
"Exception in thread "Animation Thread" java.lang.UnsatisfiedLinkError: no jogl in java.library.path"
I only have the JDK 7.51 installed.. Do I have to reinstall also the JDK 6 ? Should I download JOGL 1 and make a library out of it as I did to make Processing 2.1.1 work under Netbeans on my machine ?
Any help from someone coding against multiple version under an IDE is welcome ;)
Answers
All I know about it is that I'm able to run P1.5.1 under 64-bit Java 7! ^#(^
Yes, me too. But not with the method I used before under NetBeans, .i.e., simply referencing the processing.core.jar and the processing.opengl.jar libraries...
Against P3D, it's workin' fine, but as soon as the renderer is OP
Absolutely not, it is possible to set source at a lower level:
So say you have java jdk7 it is a piece of piss to specify src at java 6 run / set_project configuration / sources / binary configuration etc
Do the same with libraries
Also set two different paths (via add library) one to processing-2 one to processing-1.5
http://martinpblogformasswritingproject.blogspot.co.uk/2011/07/netbeans-for-processing-including.html
Only for processing 1.5 do you need to set runtime library (for opengl), with processing-2.0 just include the appropriate run time jars in the library path.
http://martinpblogformasswritingproject.blogspot.co.uk/2012/07/setting-up-netbeans-72-for-processing-20.html
And.. thank you @monkstone for the article pointer..
It seems I forgot something in my library path in the VM options. - was :
C:\Tools\processing 1.5.1\modes\java\libraries\opengl\library
C:\Tools\processing 1.5.1\modes\java\libraries\opengl\library\windows64
And its working fine so.. thanks !