I also tried GLProfile.getDefault(), but it only returns a 3.0 context when ran from Eclipse, where as, when I pass GLProfile.GL4bc to GLProfile.get(), I can get a 4.0 context (only when ran from Eclipse with recent JOGL jars. In the web browser, it still creates a 3.0 context).
Ok you will need to change the default Ant version used by Eclipse (go from 1.7 to 1.8.0) and you will need Microsoft Visual Studio or MinGW Compiler Suite, have a look at the "how to build" section in the wiki.
I wanted to use the hosted JARs because they are signed, and I want my applet to run in a sandbox. I'm not sure what is involved in signing them myself.
You can use your own signature, you can sign all JARs including JOGL ones with it.
I can certainty wait for new hosted JARs to get a 4.0 context. I was just wondering if there are plans to update the hosted JARs, or maybe applets are always supposed to contain their own JOGL JARs?
As far as I know, there is no public plan of updating these JARs whereas it would be fine. I assume Sven has good reasons not to update them now.
Edit.: the autobuild works anew thanks to Sven. I advise you to use the latest available build :)