Eclipse - OpenGL - java.library.path
in
Integration and Hardware
•
2 years ago
So I know this has been asked before around, but I feel this time has some different factors.
Running the program (as a java application, not an applet) from eclipse works fine. Exporting it as a Mac application works fine, on my computer. It's only when I try and run the exported program on another computer that I get the "no jogl in java.library.path" message.
I have all my .jnilib files in a folder in my project. I went under buildPath->libraries for the project properties and set the native library location for jogl and glugen. I've tried using -Djava.library.path both in the projects default VM arguments, and in the VM arguments set at export.
Now obviously this isn't an immediate problem keeping me from working on it, but it will need to be fixed by the time I'm passing it to other people for testing.
Any thoughts?
Edit: as a side note, while I have the .jnilibs in a folder, my .jars are just sitting in the main directory, next to src, bin, data, etc. Does that matter?
Edit2: Just moved them into their own lib/ folder, evidently it does not affect anything. :P
Running the program (as a java application, not an applet) from eclipse works fine. Exporting it as a Mac application works fine, on my computer. It's only when I try and run the exported program on another computer that I get the "no jogl in java.library.path" message.
I have all my .jnilib files in a folder in my project. I went under buildPath->libraries for the project properties and set the native library location for jogl and glugen. I've tried using -Djava.library.path both in the projects default VM arguments, and in the VM arguments set at export.
Now obviously this isn't an immediate problem keeping me from working on it, but it will need to be fixed by the time I'm passing it to other people for testing.
Any thoughts?
Edit: as a side note, while I have the .jnilibs in a folder, my .jars are just sitting in the main directory, next to src, bin, data, etc. Does that matter?
Edit2: Just moved them into their own lib/ folder, evidently it does not affect anything. :P
3