Help! Java path error when creating native binary exes...
Posted by Tom Bombadil on Feb 20, 2012; 10:13am
URL: https://forum.jogamp.org/Help-Java-path-error-when-creating-native-binary-exes-tp3760329.html
Hello there,
I've been struggling along with JOGL for the last few months, using it for simulations for a java physics engine I'm building as an exploratative project. I decided to package up an easily distributable demo to showcase my current progress but have come unstuck...
I followed Wade Walker's excellent tutorial on creating native binary .exes (which entailed porting my code from Netbeans to Eclipse and AWT to SWT using AWT-SWT bridge) and can now run the code successfully from within Eclipse, but when I export the project the .exe doesn't run correctly: a window appears as normal, but the JOGL view tab simply displays the error: "Could not create the view: no gluegen-rt in java.library.path"
I've fiddled and tweaked and tried to ensure that the project includes the right libraries; the .jar files do appear in the plugins folder as I would expect so I'm a bit stumped as to why it doesn't run.
Anyone got any ideas? More than happy to provide source / further info, but not sure what you'd need to see!
Thanks!
Tom