We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOpenGL and 3D Libraries › OPENGL "broke" under Mac OS 10.4.3
Page Index Toggle Pages: 1
OPENGL "broke" under Mac OS 10.4.3? (Read 946 times)
OPENGL "broke" under Mac OS 10.4.3?
Nov 9th, 2005, 4:20pm
 
anybody knows of a problem with Processing using the OPENGL renderer under Mac OS X 10.4.3? whenever i try to run a sketch i get the following error:

Exception in thread "Thread-2" java.lang.NoClassDefFoundError: processing/core/PGraphics3
at java.lang.ClassLoader.defineClass2(Native Method)

everthing worked fine under 10.4.2 and i can't remember any other relevant changes i made. any suggestions or help would be appreciated! thanks very much in advance!
Re: OPENGL "broke" under Mac OS 10.4.3?
Reply #1 - Nov 10th, 2005, 5:40am
 
have you switched to java 1.5?
Re: OPENGL "broke" under Mac OS 10.4.3?
Reply #2 - Nov 11th, 2005, 9:39am
 
yes:

java -version

java version "1.5.0_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-56)
Java HotSpot(TM) Client VM (build 1.5.0_02-36, mixed mode, sharing)


i had to change the link for "CurrentJDK" under /System/Library/frameworks/JavaVM.framework/Versions/ form 1.4 to 1.5. otherwise no app would run under java 1.5. is that correct? how could i find out what java version processing is running?
Re: OPENGL "broke" under Mac OS 10.4.3?
Reply #3 - Nov 11th, 2005, 3:26pm
 
by that i meant that 1.5 should not be used:
http://processing.org/faq/platforms.html#mac

does it work with 1.4?

if not, are there other installations of jogl on your machine?
Re: OPENGL "broke" under Mac OS 10.4.3?
Reply #4 - Nov 12th, 2005, 10:23am
 
i'm very sorry for any inconvenience. i've found the problem and it was my own fault.
i recently tried to get processing to run in eclipse and followed this step as a preparation to get opengl run in there aswell:
http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Integrate;action=display;num=1128919320

i found out that processing does run the files in ~/lib/java/extensions first which i have forgotten to delete and that caused the error.

(by the way the prob did appear in processing itself, and not in eclipse...)

thank you very much for your help though! and sorry again!
Page Index Toggle Pages: 1