Hi!
Use a GL3 backward compatible context and it will work because GL3bc and GL4bc extends the interface GL2. If you really want to use GL3 forward compatible context, you have to use something else. Rami and Sven have written an API to draw some text with shaders, tehy could talk about it better than me.
Anyway, if you want, I can have a look at the source code of TextRenderer to see whether I can modify it a bit to make it work in your case but I'm not sure it is possible. Best regards.
Edit.: In some places in the source code of TextRenderer, GL2 can be replaced by GL2GL3. I advise you to copy/paste TextRenderer and check it by yourself. Otherwise, look at com.jogamp.graph.font.