Bom dia,
Gostaria de fazer gráfico 3d e para isso estou tentando usar a api Jzy3d. Inicialmente quero apenas rodar os exemplos, mas não estou conseguindo realizar essa simples tarefa devido a problemas com as “native libraries”.
Este problema é descrito no site (http://www.jzy3d.org/download-0.9.php), mas mesmo seguindo os passos, não consigo executar os exemplos:
Troubleshooting
You run into the common problem "Exception in thread “main” java.lang.UnsatisfiedLinkError: no jogl in java.library.path"
No panic, Jzy3d needs to have JOGL native libraries in the execution path.
Eclipse developers:
Right click on the project, choose “Properties”, then “Java Build Path” and then the “Libraries” tab.
Under the item “jogl.jar - …” select “Native library location: (None)” and click the Edit button.
Press the Workspace… button and select your ./bin/{platform} folder.
Eu segui esses passos e a Exception acima parou, mas agora apareceu outra:
Exception in thread “main” java.lang.NullPointerException
at javax.media.opengl.GLProfile.getProfileMap(GLProfile.java:1584)
at javax.media.opengl.GLProfile.isGL4bcAvailable(GLProfile.java:151)
at javax.media.opengl.GLProfile.glAvailabilityToString(GLProfile.java:242)
at javax.media.opengl.GLProfile.glAvailabilityToString(GLProfile.java:310)
at javax.media.opengl.GLProfile.initProfilesForDefaultDevices(GLProfile.java:1283)
at javax.media.opengl.GLProfile.access$000(GLProfile.java:71)
at javax.media.opengl.GLProfile$1.run(GLProfile.java:117)
at java.security.AccessController.doPrivileged(Native Method)
at javax.media.opengl.GLProfile.initSingleton(GLProfile.java:115)
at javax.media.opengl.GLProfile.validateInitialization(GLProfile.java:1428)
at javax.media.opengl.GLProfile.getProfileMap(GLProfile.java:1580)
at javax.media.opengl.GLProfile.get(GLProfile.java:623)
at javax.media.opengl.GLProfile.getDefault(GLProfile.java:480)
at javax.media.opengl.GLProfile.getDefault(GLProfile.java:486)
at org.jzy3d.global.Settings.<init>(Settings.java:53)
at org.jzy3d.global.Settings.getInstance(Settings.java:18)
at org.jzy3d.demos.Launcher.openDemo(Launcher.java:21)
at org.jzy3d.demos.Launcher.openDemo(Launcher.java:17)
at org.jzy3d.demos.surface.MexicanDemo.main(MexicanDemo.java:20)
Alguém que tenha usado essa api ou jogl estaria apto a resolver esse problema.
Obrigada pela atenção