Unable to run installDist for example
See original GitHub issueHello, I am running your example in the examples
directory. Upon attempting to execute this command:
./gradlew installDist
, I get an error:
java.lang.IllegalAccessError: class org.gradle.internal.compiler.java.ClassNameCollector (in unnamed module @0x42aeb68d) cannot access class com.sun.tools.javac.code.Symbol$TypeSymbol (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.code to unnamed module @0x42aeb68d
Issue Analytics
- State:
- Created 2 years ago
- Comments:10
Top Results From Across the Web
Error when running gradle generated script running Kotlin ...
Error: Could not find or load main class com.example.demo.DemoApplicationKt Caused by: java.lang.ClassNotFoundException: com.example.demo.
Read more >Very basic question about deploying/distributing and then ...
I'm just looking for a few relevant lines from an example build.gradle … and also a clue about what you run at the...
Read more >The Badass Runtime Plugin
Creates an image containing your application, a custom JRE, and appropriate start scripts. If the property distDir is not set, this task depends...
Read more >Gradle tasks | IntelliJ IDEA Documentation - JetBrains
The VM options field is added to the run configuration and you can specify the needed parameters. For example, specify -Xmx3g . Gradle...
Read more >assemble example · Study - zhangwanyue
using ./Log4jTest to run ... gradlew installDist to assemble the uncompressed distribution into ... You can not run your executable file in other...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Good point! I changed the JAVA_HOME in my ~/.bash_profile. Now it builds.
Can you verify in that terminal that the right JDK is being used? Maybe with
java -version
orecho $JAVA_HOME
?