Hi,
i am currently working on a java project using lwjgl and slick-util to load textures from .png images.
I am using windows 7 myself and everything works fine, so i tried to give the project as a closed beta to some people on the internet and one of them is using linux.
He said that when trying to run the application he gets the following error:
Quotejava.lang.RuntimeException: Resource not found: Resources/Graphics/System/ui.png
at org.newdawn.slick.util.ResourceLoader.getResourceAsStream(ResourceLoader.java:69)
at view.Textures.load_textures(Textures.java:36)
at misc.MainGDG.main(MainGDG.java:29)
But for everybody who is using windows (any version) it works fine.
Of course, the folder with the images is there and the opengl context works too; the display is created.
My first guess is to make sure the capitalization is correct. Windows' filesystem is not case-sensitive, but Linux's is. In other words, on Linux, the directories and filenames must all have the exact same casing.
Quote from: Fool Running on February 18, 2013, 14:22:22
My first guess is to make sure the capitalization is correct. Windows' filesystem is not case-sensitive, but Linux's is. In other words, on Linux, the directories and filenames must all have the exact same casing.
That worked, thank you very much.