Well I can't help you with JOGL but with LWJGL its more or less like:
ContextAttribs cAttribs = new ContextAttribs(3,3).withProfileCore(true); // Object containing context data.
PixelFormat pFormat = new PixelFormat(8,24,8); // 8 bit alpha, 8 bit stencil, 24 bit depth.
Display.create(pFormat, cAttribs); // Create the window with a context and pixel format.
And that should be it. You can set a specific display mode (ie, resolution, refresh rate) after creating the display or before, its up to you.
Are you sure about the version of the context you're running on? JOGL should provide some method to check that.
Now that I remember... I think I saw an user with similar issues, the shader compiler complained about the layout qualifiers, so he had to enable the extension by hand in the shader. I think the syntax for enabling GLSL extension was to insert this line on the shaders:
#extension ARB_explicit_attrib_location : enable