-
-
Notifications
You must be signed in to change notification settings - Fork 643
Open
Labels
Description
Bug report
- Installing
22.0.2-gradlefirst, followed by installingmavenandgradle, will fail.
To reproduce
- Execute the following command in the new WSL instance of Ubuntu 24.04:
sudo apt update && sudo apt upgrade --assume-yes
sudo apt install unzip zip --assume-yes
curl -s "https://get.sdkman.io" | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"
sdk install java 21.0.9-ms
sdk install java 22.0.2-graalce
sdk use java 22.0.2-graalce
sudo apt-get install build-essential zlib1g-dev --assume-yes
sdk install maven 3.9.12
sdk install gradle 9.2.1
java -version
native-image --version
mvn --version
gradle --version- This will result in the following error log.
lingh@DESKTOP-74D7840:~$ mvn --version
Command 'mvn' not found, but can be installed with:
sudo apt install maven
lingh@DESKTOP-74D7840:~$ gradle --version
Command 'gradle' not found, but can be installed with:
sudo apt install gradleSystem info
- OS:
Windows 11 Pro 25H2 26200.7462andWSL 2.6.3.0 - Shell and version:
GNU bash, version 5.2.21(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.- The output of
sdk version:
SDKMAN!
script: 5.20.0
native: 0.7.14 (linux x86_64)Reactions are currently unavailable
