I have been trying to get out project base working on Java 10 with jigsaw modules, but JOGL keeps failing on me, and I cannot find any help online.
Note whole project compiles and works fine with no module-info.java file, and I managed to get working module link between two different projects (not EVERYTHING is broken).
JOGL project (A) has following module-info.java and maven dependencies. Then there is another project (B) using JOGL project, but having no access to any JOGL types (they are not exported anyway). Project B runs stuff from project A. Project B is not modular (yet).
Well maven compiles the project just fine (bot compile and execution run with no errors as expected), and afaik it uses java compiler directly, no eclipse involved. There must be some secret setting in eclipse project.
Current version of jogl is not modular? At least eclipse claims it is not (not that it should be a problem).
It seems from all jogamp tutorials that you are using eclipse as well, do you have a minimum working example of jogl app as complete workspace perchance? I could at least try to load that and in case it works as-is on my machine, I can work my way down through all differences it nothing else.
Will try to make something of the sort tomorrow, see if I can replicate the problem on something I can share here.
Some of us use multiple IDEs, I use mainly Eclipse and Netbeans but my GNU Linux distribution provides only OpenJDK 1.8. You can try my own projects, T.U.E.R uses Ant and JogAmp's Ardor3D Continuation uses Maven, both work fine in Eclipse but note that I have never tested them with a very recent version of Eclipse.
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1
Was not able to google much about it (except it is know by some to be java 9 related JOGL issue, advising not to use java 9 - helpful).
I created repo (https://github.com/kaisevoj/jogl-test) with minimal sample code that produces exception above with module-info.java present, but runs fine without it - that makes me believe this is bound to be issue connected to modularization.
I tested my solution in command line under Windows 10 several months ago with Java 1.9 under Windows and it worked flawlessly, I succeeded in running a simple example showing a rotating triangle drawn in a GLCanvas. How do you pass the exports?
P.S: Put the exports into the right module info file.