In jogl JavaDoc there is an offset integer. Is this for the string array or for the indices array?. In the demos you are using the functions glBindProgramARB()… I can’t find more info with google. help…
I assume you’re talking about this version:
public void glShaderSource(int shader, int count, java.lang.String[] string, int[] length, int length_offset);
The length_offset is an offset into the int[] length array.