> setenv CLASSPATH '/usr/bin/jogl/jogl.jar'
try:
setenv CLASSPATH '/usr/bin/jogl/jogl.jar:.'
Main Topics
Browse All Topicshi experts,
i'm installing jogl on my mac os x 10.4.7 and the following is my set up:
.cshrc:
setenv CLASSPATH '/usr/bin/jogl/jogl.jar'
setenv DYLD_LIBRARY_PATH '/usr/bin/jogl'
inside my /usr/bin/jogl folder i have libjogl.jnilib, libjogl_cg.jnilib, libjogl_awt.jngilib, jogl.jar and META-INF folder.
after setting up in this way, i am able to compile a given jogl/java file. however, when i try to run it i got this error: "Exception in thread "main" java.lang.NoClassDefFoundE
So, please help me... i've been working on it for hours... and still cant fix it..
thanks
r6
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
sorry object didnt see ur comment just then, yep i've managed to compile and run the java/jogl file:) with your suggestion.
ok so, i understand that . specifies the current working directory, but say if i do not define any CLASSPATH env var, i'm still able to run normal java file in any current working directory. But with my previous CLASSPATH definition without the . at the end, im not able to run any java file? I'm kinda confused... because it seems java is not using CLASSPATH at all, then why the . matters in this case?
r6
Business Accounts
Answer for Membership
by: CEHJPosted on 2006-08-14 at 10:55:51ID: 17312137
Make sure 'firstAttempt' (which should really be 'FirstAttempt'in Java) is on your classpath
/classpath .html
http://mindprod.com/jgloss