Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (769)
Games in Android Showcase (230)
games submitted by our members
Games in WIP (856)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Getting a strange new error  (Read 5936 times)
0 Members and 1 Guest are viewing this topic.
Offline Kakashi266

Junior Devvie





« Posted 2011-08-17 03: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

Senior Devvie


Medals: 11



« Reply #1 - Posted 2011-08-17 04:07:34 »

set path for native lib
Offline Kakashi266

Junior Devvie





« Reply #2 - Posted 2011-08-17 04:15:22 »

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

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Kakashi266

Junior Devvie





« Reply #3 - Posted 2011-08-17 04:32:03 »

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

Offline counterp

Senior Devvie


Medals: 11



« Reply #4 - Posted 2011-08-17 04: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

Junior Devvie





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

I did use an absolute path. Did nothing.

Offline cylab

JGO Kernel


Medals: 187



« Reply #6 - Posted 2011-08-17 07: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

Junior Devvie





« Reply #7 - Posted 2011-08-17 14: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]
  ignore  |  Print  
 
 

 
EgonOlsen (1672 views)
2018-06-10 19:43:48

EgonOlsen (1709 views)
2018-06-10 19:43:44

EgonOlsen (1159 views)
2018-06-10 19:43:20

DesertCoockie (1585 views)
2018-05-13 18:23:11

nelsongames (1186 views)
2018-04-24 18:15:36

nelsongames (1709 views)
2018-04-24 18:14:32

ivj94 (2533 views)
2018-03-24 14:47:39

ivj94 (1758 views)
2018-03-24 14:46:31

ivj94 (2836 views)
2018-03-24 14:43:53

Solater (971 views)
2018-03-17 05:04:08
Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08

Deployment and Packaging
by gouessej
2018-08-22 08:03:45

Deployment and Packaging
by philfrei
2018-08-20 02:33:38

Deployment and Packaging
by philfrei
2018-08-20 02:29:55

Deployment and Packaging
by philfrei
2018-08-19 23:56:20

Deployment and Packaging
by philfrei
2018-08-19 23:54:46
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!