Replies: 2 comments 7 replies
-
Hi @crgardner, we download the latest SDKs (including JDKs) directly from the source and unpack it on your machine. Also, we already manage the The only thing that I think could be wrong is that you are not downloading the incorrect JDK variant in SDKMAN. We used the Intel JDKs with Rosetta 2 compatibility in the past when there were no ARM JDKs around. When ARM JDKs became mainstream on Mac, we switched SDKMAN to turn off Rosetta and download the ARM version. Can you confirm that you are using the latest version of SDKMAN? What does |
Beta Was this translation helpful? Give feedback.
-
I totally understand about not setting those environment variables myself. I was doing that for troubleshooting only. Meanwhile, here's the version I'm using: $ sdk version SDKMAN! |
Beta Was this translation helpful? Give feedback.
-
I'm hesitating to file an issue because it may be machine specific. I have the following setup
I have a Java 21 multi-module maven project. The code base is small. When I run mvn clean package the build takes 1 minute and 16 seconds. Using mvnd doesn't improve it that much. Also, if I manually set JAVA_HOME and PATH to use the sdkman installed JDK, the results are similar.
If, however, I install temurin-21.0.4 another way (via IntelliJ download, specifically) and manually set JAVA_HOME and PATH and run mvn clean package, the build time is about 21 seconds. mvnd completes it in 8 seconds.
I welcome any suggestions for troubleshooting.
Beta Was this translation helpful? Give feedback.
All reactions