http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=35
Before trying to create this with JOGL, do you see anything showstoppers in c++ code and not to bother trying Java?
Of course Java Mediaframework is known to be a fragile and hard to make it work on another machine except yours