Incompatibility with Java 9 - JRE Path changed
See original GitHub issuePyJnius looks for the path
/Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home/jre/lib/server/libjvm.dylib
but the jre
folder doesn’t exist in this hierarchy anymore and it should look for
/Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home/lib/server/libjvm.dylib
Issue Analytics
- State:
- Created 6 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
Java Platform, Standard Edition Oracle JDK 9 Migration Guide
This guide focuses on changes required to make your code run on JDK 9. ... of changes to the javac compiler and source...
Read more >Java 9: New Features and Compatibility of JDK 9 - Azul Systems
JRE version selection is no longer available. There were two ways of doing this in the past. The first was from the command...
Read more >How to fix java.lang.UnsupportedClassVersionError
Select your JRE System Library and click Edit on the right, and choose the target JRE. Now go to Java Compiler on the...
Read more >Java - ArchWiki
Also note on the previous output that only the JRE part of OpenJDK 8 is installed here. Change default Java environment. # archlinux-java...
Read more >Java 8 release changes
This includes allowing colons (':') in the path other than only immediately after a single drive letter. It also allows paths that represent...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It’s not just an OSX issue if you’re using open-jdk the jre folder no longer exists. Any open jdk version >= 9 no longer has the jre folder. See http://openjdk.java.net/jeps/220 since java 9 the folder hierarchy was restructured. The jre/lib/amd64/server/libjvm.so path is no longer valid ( https://github.com/kivy/pyjnius/blob/1cbfef23fb9fcb0f15dcbfd8f4cd1fc9a54986b6/setup.py#L163 ).
Guys, any update ?