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

Wrong link for bundle/Libraries/libserver.dylib #1210

Closed
zakkak opened this issue Aug 8, 2019 · 8 comments
Closed

Wrong link for bundle/Libraries/libserver.dylib #1210

zakkak opened this issue Aug 8, 2019 · 8 comments
Assignees
Labels
bug Issues that are problems in the code as reported by the community duplicate Issues that are a duplicate of an issue in this (or another) repository
Milestone

Comments

@zakkak
Copy link
Contributor

zakkak commented Aug 8, 2019

Platform:

AdoptOpenJDK hotspot 8u222-b10
macOS Mojave

Architecture:

x86_64

Description

Link /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bundle/Libraries/libserver.dylib is broken.

$ ls -la /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bundle/Libraries/libserver.dylib
lrwxr-xr-x  1 root  wheel  50  8 Aug 11:07 /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bundle/Libraries/libserver.dylib@ -> jdk8u222-b10/Contents/Home/lib/server/libjvm.dylib
$ sudo ln -s -f /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/server/libjvm.dylib /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bundle/Libraries/libserver.dylib

Fixes the issue for me.

@timyates
Copy link

timyates commented Aug 8, 2019

Also seems to be broken in 11.0.4 🤔

@karianna karianna added this to the August 2019 milestone Aug 8, 2019
@karianna karianna added this to TODO in temurin-build via automation Aug 8, 2019
@karianna karianna added the bug Issues that are problems in the code as reported by the community label Aug 8, 2019
@gdams
Copy link
Member

gdams commented Aug 8, 2019

@zakkak @timyates did this work on our previous releases (is this a breaking change or has it always been broken?)

@gdams
Copy link
Member

gdams commented Aug 8, 2019

ahh yes I am aware of this error... We currently do this for the installers but not the tar.gz binaries (https://github.com/AdoptOpenJDK/openjdk-installer/blob/master/pkgbuild/pkgbuild.sh#L64). I need to get the scripts moved across so that it happens at build time rather than installer creation.

@karianna karianna moved this from TODO to In Progress in temurin-build Aug 8, 2019
@zakkak
Copy link
Contributor Author

zakkak commented Aug 8, 2019

FWIW this was present in 8u212-b04 as well (not sure about earlier versions) and I am installing using the *.pkg file from https://adoptopenjdk.net/archive.html

@holiday-sunrise
Copy link

holiday-sunrise commented Aug 21, 2019

Had the same Problem.

sudo ln -s -f /Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home/lib/server/libjvm.dylib /Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home/bundle/Libraries/libserver.dylib

fixed it for me

@karianna karianna modified the milestones: August 2019, September 2019 Sep 2, 2019
@karianna karianna modified the milestones: September 2019, October 2019 Oct 4, 2019
@karianna karianna modified the milestones: October 2019, November 2019 Nov 3, 2019
@sxa sxa modified the milestones: November 2019, Icebox Dec 3, 2019
@NashMiao
Copy link

NashMiao commented Jan 21, 2020

Had the same Problem.

sudo ln -s -f /Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home/lib/server/libjvm.dylib /Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home/bundle/Libraries/libserver.dylib

fix it for me

@holiday-sunrise It also works for me, thanks!

@pmarasse
Copy link

pmarasse commented Apr 1, 2020

Same problem here, same fix applied with success

@aahlenst
Copy link
Contributor

aahlenst commented Apr 1, 2020

This is a duplicate of adoptium/installer#179 and fixed in the latest nightly builds for JDK 8. I haven't checked 11. Maybe someone could.

@karianna karianna modified the milestones: Icebox, March 2020, April 2020 Apr 1, 2020
@karianna karianna modified the milestones: April 2020, May 2020 May 4, 2020
@karianna karianna modified the milestones: May 2020, June 2020 Jun 1, 2020
@karianna karianna removed this from the June 2020 milestone Jul 1, 2020
@karianna karianna added this to the July 2020 milestone Jul 1, 2020
@karianna karianna modified the milestones: July 2020, August 2020 Aug 3, 2020
temurin-build automation moved this from In Progress to Done Aug 30, 2020
@aahlenst aahlenst added the duplicate Issues that are a duplicate of an issue in this (or another) repository label Aug 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues that are problems in the code as reported by the community duplicate Issues that are a duplicate of an issue in this (or another) repository
Projects
No open projects
temurin-build
  
Done
Development

No branches or pull requests

9 participants