Closed QZLin closed 1 year ago
This log doesn't make sense (I have export flags to prevent that error), and as JDK 17 works fine on the CI, locally, and for everyone else, I would guess it's an issue with your JDK. Use a different one. I've never had this issue.
This log doesn't make sense (I have export flags to prevent that error), and as JDK 17 works fine on the CI, locally, and for everyone else, I would guess it's an issue with your JDK. Use a different one. I've never had this issue.
There's nothing wrong with JDK, I have tried a lot (Microsoft JDK-17 (17.06,17.04)
, JetBrains JDK-17
, Adopt JDK-17
... etc
And tried Cl with ubuntu/windows, everything is fine except my computer.
Finally, I found that my $GRADLE_HOME/.properties
setting JVM proxy via org.gradle.jvmargs=-DsocksProxyHost\=*** -DsocksProxyPort\=***
seems overrides the export flags from project gradle properties. (Never thought about that)
After removing that line, the build successes.
Platform: Windows 11 21H2
Options | Auto-detection: Enabled | Auto-download: Enabled
Eclipse Temurin JDK 17.0.6+10 | Location: C:*\Java\jdk-17.0.6+10 | Language Version: 17 | Vendor: Eclipse Temurin | Architecture: amd64 | Is JDK: true | Detected by: Current JVM
Issue: Build Fail while run
gradlew desktop:run
(The error was so wierd and I got no similar result on web)FAILURE: Build failed with an exception.
Steps to reproduce: (Everytimes try to build)
Link(s) to mod(s) used: -
Save file: (Fail to build)
(Crash) logs: -