Unexpected results of creating module-info.java [message #1794049] |
Wed, 22 August 2018 23:51 |
Patrick Moran Messages: 141 Registered: March 2018 |
Senior Member |
|
|
I just installed Photon on a new computer, and downloaded Java, etc. Then I tried making a simple program. Before it let me use WindowBuilder it popped up a screen offering to "Create a new module-info.java file." Why. should I do that? Well, give it a try. When Eclipse made the requested skeleton GUI program, the code was all marked up with red. None of the imports would be able to pull up the required information.
After a fair amount of frustration I discovered that if I did not make the module-info file then the imports all worked appropriately.
If this is a feature, I don't get it.
I found an article that explains these module-info files for those of us who have not been in the Java development interest group for years:
https://blogs.itemis.com/en/musings-about-jigsaw-the-java-9-module-system
[Updated on: Thu, 23 August 2018 16:05] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.08594 seconds