Hello :),
I’m developing the applet http://analisegrafica.net/applet.html.
Some people report Java can’t find the Main class, but it works on my Windows and Linux environments.
I checked browser/Java/SO versions and all was equal to mine. What’s wrong?
Should I use JOGL 2? Is there a specific Topic about?
Is there a Netbeans plugin for JOGL 2?
That site is REALLY confusing. I tried to DL JOGL and I ended up with an archive with HUNDREDS of dlls & jar files in it. How the hell am I supposed to know which ones are needed?
Sorry but kaffeine was speaking about JOGL as far as I know, we are in the “JOGL Development” section, I assume you only did a mistake.
Several tutorials allowing to setup JOGL within Eclipse are available in the Wiki and Wade Walker has been working on an OSGI bundle for Eclipse too which is going to be a nice addition ;D
(didnt think id need to start a new topic as this one is at the top, know its a bit old)
I cannot for the life of me install this. I even have the book ‘Learning Java Bindings for OpenGL (JOGL)’, which I’m starting to fear may be useless. I just want to get it working in netbeans for windows
I think these are all I need? Then I have a project in netbeans
“F:\Documents and Settings\PATH\NetBeansProjects\testProject\build\classes”
I know how to add library and choose the jars, but where should I put these files in relation to what I have? Assuming I then create a library called ‘jogl’ and add my 2 jars in netbeans, what would my VM options be
'-Djava.library.path=“F:\Documents and Settings\PATH…?”
If anyone can help it’d be much appreciated, in the mean time I’ll keep persevering.
It’s a royal pain in the ass to set up java.library.path in eclipse, since as far as I can tell, there’s no way to edit on a per-project basis the defaults for every launcher. IDEA and Netbeans have pretty much the same idea, and I find their interface a whole lot nicer, especially with my “sandbox” projects which have some 20-odd main classes and thus potentially 20 launchers.
I do like the native attachment feature, and prefer going that route for the native libs (see, I do have good things to say about Eclipse!) That of course only takes care of one aspect of launch configuration – anything else and you’re still going through a bureaucratic mess.
import javax.media.opengl.GLCanvas; - cannot find symbol
import com.sun.opengl.util.Animator; - package does not exist
When using the previous example, why does it no longer work? Also, could anyone give me a few lines of code just so I can test if its working, because I’m not sure if this error is here as iGLCanvas was removed, or I cocked it up.
Edit: Fixed it now… seems the imports are all just completely different. Basically EVERY example I have found no longer works, everything being different. Not a single example in my book works either.
Is it worth me just getting an older version (e.g. the one in my book), or perhaps I should switch to LWJGL… would I still have this problem?