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

Fix identification of libjvm.so in Java 9+ on Linux #141

Merged
merged 1 commit into from
Aug 22, 2018

Conversation

yoda-vid
Copy link
Contributor

@yoda-vid yoda-vid commented Aug 3, 2018

The location of libjvm.so on Linux/Solaris changed in Java 9 from lib/arch to simply lib (see JEP 220), which prevents installation of Javabridge in these configurations as mentioned in #137 . This small fix adds an empty string as an additional arches element for Linux when locating the JDK shared library.

Tested on these platforms:

  • Ubuntu 18.04.1 via WSL (Windows Subsystem for Linux) with openjdk-11-jdk
  • RHEL 7.5 with java-1.8.0-openjdk-devel

The location of libjvm.so on Linux/Solaris changed in Java 9 from lib/[arch] to simply lib (see JEP 220). This small fix adds an empty string as an additional arches element for Linux when locating the JDK shared library.
@LeeKamentsky LeeKamentsky merged commit a9a2569 into LeeKamentsky:master Aug 22, 2018
@LeeKamentsky
Copy link
Owner

Thanks, David, sorry for getting to this so late - just getting back from vacation.

@yoda-vid
Copy link
Contributor Author

Great, thanks for incorporating it!

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

Successfully merging this pull request may close these issues.

2 participants