1

I'm developing Java project with JOGL, but when I'm trying to execute my project I'll got the following message:

Catched FileNotFoundException: E:\Eclipse\Projects\FuzzyProject\lib\jogl2-rc10\gluegen-natives-windows-i586.jar (Can't find file), while TempJarCache.bootstrapNativeLib() of jar:file:/E:/Eclipse/Projects/FuzzyProject/lib/jogl2-rc10/gluegen-natives-windows-i586.jar!/ (file:/E:/Eclipse/Projects/FuzzyProject/lib/jogl2-rc10/ + gluegen-natives-windows-i586.jar)
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: no gluegen-rt in java.library.path

How can I fix this problem?

malcoauri
  • 11,904
  • 28
  • 82
  • 137

2 Answers2

1

From console java -Djava.library.path=<path to native library> -jar (if jar) <name of jar or class>

From code just System.loadLibrary(<path to native library>)

From Eclipse: Run Configuration -> Arguments -> VM Argiments->-Djava.library.path=<path to native library>

Sergii Zagriichuk
  • 5,389
  • 5
  • 28
  • 45
1

I assume you're running this from eclipse and on a windows machine, so have a look here: I installed JOGL but why wont Eclipse recognize my hello world program?

For gluegen, have a look here: java.lang.UnsatisfiedLinkError: no gluegen-rt in java.library.path RCP Application

Community
  • 1
  • 1
Thomas
  • 87,414
  • 12
  • 119
  • 157