Re: How to import Blender models into JOGL?
Posted by
Estajxo on
Jul 05, 2012; 5:43pm
URL: https://forum.jogamp.org/How-to-import-Blender-models-into-JOGL-tp4025391p4025429.html
In the output entry there is indeed "bin". But when I remove it and restart Eclipse, I cannot start the application because of a NoClassDefFoundError, same as when I remove it from within Eclipse (which Eclipse does not allow, in fact).
I read in another forum that getResource works well in Linux, but not quite (or not always) in other OSs. As my screenshot reveals, I use Windows...
gouessej wrote
Don't give up, you're close to the solution.
I really liked this sentence, thanks a lot! Now I only need to live up to it...
gouessej wrote
Edit.: You have to use getResource() and getResourceAsStream() or you will be unable to use JARs to package your game :s
Thanks for the hint, at some point this is what I will need to do. I already open files at another point with a FileReader, so I will have to change this, too, once I figured out how.