Describe the bug
Clean bubblewrap install via npm. Running any bubblewrap command prompts for the JDK. Replying Yes when asked whether bubblewrap should install the JDK, I see the download bar followed by the Decompressing message. But then the command just exists. Running the same command again results in the same prompt to install the JDK and behavior:
$ bubblewrap doctor
,-----. ,--. ,--. ,--.
| |) /_,--.,--| |-.| |-.| |,---.,--. ,--,--.--.,--,--.,---.
| .-. | || | .-. | .-. | | .-. | |.'.| | .--' ,-. | .-. |
| '--' ' '' | `-' | `-' | \ --| .'. | | \ '-' | '-' '
`------' `----' `---' `---'`--'`----'--' '--`--' `--`--| |-'
`--'
? Do you want Bubblewrap to install the JDK (recommended)?
(Enter "No" to use your own JDK 17 installation) Yes
Downloading JDK 17 to /Users/moritz/.bubblewrap/jdk
Downloading the JDK 17 Sources...
>> [████████████████████████████████████████] 100% | 174793k of 174793k
Decompressing the JDK 17 Sources...
$ bubblewrap doctor
,-----. ,--. ,--. ,--.
| |) /_,--.,--| |-.| |-.| |,---.,--. ,--,--.--.,--,--.,---.
| .-. | || | .-. | .-. | | .-. | |.'.| | .--' ,-. | .-. |
| '--' ' '' | `-' | `-' | \ --| .'. | | \ '-' | '-' '
`------' `----' `---' `---'`--'`----'--' '--`--' `--`--| |-'
`--'
? Do you want Bubblewrap to install the JDK (recommended)?
(Enter "No" to use your own JDK 17 installation) (Y/n)
The command exits with code 0, so there's no error. It just doesn't work.
The same error also occurs when bubblewrap tries to install the Android SDK.
To Reproduce
npm i -g @bubblewrap/cli
bubblewrap doctor
- Answer
Y when prompted for the JDK
Expected behavior
The JDK installation via bubblewrap should finish correctly. After that, the JDK installed by bubblewrap should be detected and used automatically, or when prompted.
Desktop (please complete the following information):
Describe the bug
Clean bubblewrap install via npm. Running any bubblewrap command prompts for the JDK. Replying Yes when asked whether bubblewrap should install the JDK, I see the download bar followed by the Decompressing message. But then the command just exists. Running the same command again results in the same prompt to install the JDK and behavior:
The command exits with code 0, so there's no error. It just doesn't work.
The same error also occurs when bubblewrap tries to install the Android SDK.
To Reproduce
npm i -g @bubblewrap/clibubblewrap doctorYwhen prompted for the JDKExpected behavior
The JDK installation via bubblewrap should finish correctly. After that, the JDK installed by bubblewrap should be detected and used automatically, or when prompted.
Desktop (please complete the following information):