Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install openjdk@ on macOS #187

Closed
tmurakam opened this issue Apr 28, 2018 · 3 comments
Closed

Can't install openjdk@ on macOS #187

tmurakam opened this issue Apr 28, 2018 · 3 comments

Comments

@tmurakam
Copy link

"jabba install [email protected]" fails on macOS.
It also fails for 1.10.0 and 1.10.0-1.

The all openjdk tgz for macOS contains some paths other than "jdk-xxx.jdk/Contents/Home" (for example, "jdk-xxx.jdk/Contents/Info.plist"), so I think stripping of the directory is failed.

@shyiko
Copy link
Owner

shyiko commented Apr 30, 2018

Thank you for letting me know, Takuya. Fixed in 0.9.3.

@shyiko shyiko closed this as completed Apr 30, 2018
@charypar
Copy link

charypar commented May 1, 2018

0.9.3 seems to have broken the installation for oracle JDK on macOS:

jabba install 1.8
Downloading 1.8.172 (http://download.oracle.com/otn-pub/java/jdk/8u172-b11/a58eab1ec242421181065cdc37240b08/jdk-8u172-macosx-x64.dmg) 
259908002/259908002
Mounting /var/folders/yy/2p71gc4171731cwj7lk9mbwh0009v6/T/jabba-d-553085442 
Extracting /var/folders/yy/2p71gc4171731cwj7lk9mbwh0009v6/T/jabba-d-553085442 to /Users/43980819/.jabba/jdk/1.8.172 
Unmounting /var/folders/yy/2p71gc4171731cwj7lk9mbwh0009v6/T/jabba-d-553085442 
stat /Users/43980819/.jabba/jdk/1.8.172/Home/bin/java: no such file or directory 

It seems to be checking for the java binary in the wrong path (missing Contents before Home)

@shyiko
Copy link
Owner

shyiko commented May 1, 2018

@charypar sorry about that. Fixed in 0.9.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants