How to upgrade the following from JOGL 1.1 to JOGL 2.X ?

GL2.GL_GLOBAL_ALPHA_SUN
GL2.GL_VARIABLE_A_NV
GL2.GL_UNSIGNED_IDENTITY_NV
GL2.GL_SPARE0_NV
GL2.GL_DISCARD_NV
GL2.GL_CONSTANT_COLOR0_NV
GL2.GL_FILTER4_SGIS

etc…

In other words, how to modify J3d-core JoglPipeline.java to make it compilable?

Please, urgently…

Best Regards
JIA