![]() And I’m getting a Java 9 error so clearly, I still have something pointing to Java 9 on system. Importing had the same problem though. There is at least one known error with Java 9 and Buildship. That “helped” in that I got a different error:Ĭaused by: .LocationAwareException: Unable to make protected void () accessible: module java.base does not “opens ” to unnamed module time it created the project on disk and merely didn’t import it. ![]() Since I had done this in the past, I had to: Then I updated the Buildship plugin in Eclipse. Re-installing Eclipse and not installing/updating any plugins.Checked my versions against what is known to work.A new workspace (my teammate teases me that my workspace was around when Obama got elected – I often do an upgrade in place).Adding a system JAVA_HOME environment variable pointing to Java 8.Remove all Java 9 JDKs from the Eclipse workspace preferences.I tried the following things that didn’t help: I have Gradle installed on the command line and it works fine. : Could not fetch model of type ‘BuildEnvironment’ using Gradle distribution ‘’.Ĭaused by: : Unable to make protected () accessible: module java.base does not “opens java.lang” to unnamed module got a similar error when trying to import an existing Gradle project. After all, you just need to run: File > New > Gradle Project And if I had never installed Java 9 on my computer, that would have been the case. (and not everything I needed to know was in my memory).Įclipse Oxygen comes with Gradle installed so I thought this would be easy. Which means my laptop setup has changed enough for it to be an adventure. For example, I compared eGradle and Buildship here. ![]() I’ve used Gradle before although not a ton.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |