Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Hello everyone, I have a java openGL program that will not run. Everytime I try

ID: 3747447 • Letter: H

Question

Hello everyone, I have a java openGL program that will not run. Everytime I try to do so, I recieve:

java.lang.NoSuchMethodError: com.jogamp.common.os.Platform.initSingleton()V

at com.jogamp.opengl.GLProfile.<clinit>(GLProfile.java:147)

at GraphicsScene.main(GraphicsScene.java:343)

I have spent the past few hours trying to find a fix via google and jogl docs but have not succeeded. I have tried different/older builds of jogl and that has not worked as well. I am hoping another set of eyes with greater knowledge of jogl can assist me. Thanks

JAR File:

link: https://jogamp.org/deployment/jogamp-current/archive/

file name: "jogamp-all-platforms.7z 2015-10-10 05:03 53M"

//file is marked with a "?"

GraphicsScene.java

Explanation / Answer

Sol: Try this. It works for me.

GraphicsScene.java

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote