Reputation: 4667
I need to make a java applet I can embed in a web page with no security warnings and uses OpenGL.
I have been working with JOGL 1.x so far and the code runs great, however I can't embed it without security warnings, and even then it doesn't run unless you change your java config to allow signed and unsigned code to mix...
I know JOGL 1.x is somewhat abandoned, so what should I use instead? I heard there were lots of problems with 2.x, additionally I think it will require a security warning...
Is there something else I can use to expose OpenGL, that I can use unsigned so there's no warnings?
Upvotes: 1
Views: 705
Reputation: 4667
To answer my own question for the sake of closure: No. Due to security changes in Java since JOGL1 was developed you can't get the access needed without security authorization, and due to the way older things were written specifically JOGL1 it appears you have to bypass java's security entirely to make it work. The end result is JOGL1 is dead dead dead unless you configure java on the specific system to allow any code to run in any way (it breaks even if you authorize it, you have to turn security off entirely, which is obviously a terrible idea and in no way distributable)
Upvotes: 1
Reputation: 283783
If you are distributing JOGL as part of your applet, why aren't you signing it with your certificate?
Or are you trying not to take responsibility for code hosted on your website that you ask your visitors to run?
Upvotes: 1
Reputation: 162297
How about using WebGL? Since WebGL is fully integrated into the DOM you can use it also from a Java applet.
Upvotes: 0