I have a problem, this call
URL fileURL = getClass().getResource(resourcePath);
works on Windows (7 64b) but not on linux (Ubuntu 13.10 64b) where it returns null.
Why? File is there and the string is the following (relative path)
String resourcePath = "/tut01/shaders/vertex_shader.glsl"
Both file are in my home
Edit: The project was freshly cloned and I forgot to clean & build, sorry for that.. So now it founds them. However it is strange because even if I modify, let's say, the vertex_shader.glsl, my program will refer always to the old version, every time I edit it, I need to do clean & build in order to see the changes... Why? On windows I don't have to do that..
resourcePath
, I guess. – Carrelli