Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  Getting a strange new error  (Read 961 times)
0 Members and 2 Guests are viewing this topic.
Offline Kakashi266

Jr. Member
**

Posts: 55



« on: 2011-08-16 23:58:24 »

So I finally muddled through my code and fixed the problems caused by updating. But here's one that happens when I try to compile:

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
Exception in thread "main" java.lang.UnsatisfiedLinkError: com.jogamp.common.jvm.JVMUtil.initialize(Ljava/nio/ByteBuffer;)Z
        at com.jogamp.common.jvm.JVMUtil.initialize(Native Method)
        at com.jogamp.common.jvm.JVMUtil.<clinit>(JVMUtil.java:59)
        at javax.media.opengl.GLProfile.<clinit>(GLProfile.java:1145)
        at javax.media.opengl.awt.GLCanvas.<init>(GLCanvas.java:232)
        at javax.media.opengl.awt.GLCanvas.<init>(GLCanvas.java:182)
        at javax.media.opengl.awt.GLCanvas.<init>(GLCanvas.java:172)
        at Engine.Engine.<init>(Engine.java:93)
        at Engine.Engine.main(Engine.java:87)
Java Result: 1


I have... no idea.

Offline counterp

Full Member
**

Posts: 235
Medals: 11



« Reply #1 on: 2011-08-17 00:07:34 »

set path for native lib
Offline Kakashi266

Jr. Member
**

Posts: 55



« Reply #2 on: 2011-08-17 00:15:22 »

Yeah after further reading I realized that too. I thought I had set it.

Games published by our own members! Go get 'em!
Offline Kakashi266

Jr. Member
**

Posts: 55



« Reply #3 on: 2011-08-17 00:32:03 »

Alright I definitely set the native path, and my game definitely still does not work.

Offline counterp

Full Member
**

Posts: 235
Medals: 11



« Reply #4 on: 2011-08-17 00:46:56 »

You sure the path is correct? Or that you have the right libraries? Try an absolute path if you aren't to test if that's the issue C:/my/native/libs/windows
Offline Kakashi266

Jr. Member
**

Posts: 55



« Reply #5 on: 2011-08-17 01:07:05 »

I did use an absolute path. Did nothing.

Offline cylab

JGO Kernel
*****

Posts: 1940
Medals: 27



« Reply #6 on: 2011-08-17 03:57:36 »

Seems you have a version mismatch between the jogl/jogamp jars and dlls. Try to update all files again with the latest version.

Mathias - I Know What [you] Did Last Summer!
Offline Kakashi266

Jr. Member
**

Posts: 55



« Reply #7 on: 2011-08-17 10:33:55 »

Well I slept on the problem, and then just now I fixed it. The first time I installed OpenGL it was using an automatic plug-in. So naturally, doing it manually, I forgot the gluegen part. Then, I realized that Netbeans itself had the native library path set in it's config from the plug-in. So rather than mess with that, I just said, "Screw it," and replaced the old natives in that directory with the new one. Slapped f6, and my game popped up in all its updated glory. Thanks for the help, guys!

Pages: [1]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.073 seconds with 20 queries.