Not sure what's going on, you haven't listed any error messages you may be seeing :) It should complain about not finding the libraries or something.
You should do it exactly like the command lines at the bottom of the page at
https://jogamp.org/wiki/index.php/Setting_up_a_JogAmp_project_in_your_favorite_IDE#Compile_and_run_your_project_from_the_command_line