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

Pyjunis does not support fatjar compiled with java 11 #805

Closed
Impavidity opened this issue Sep 13, 2019 · 2 comments
Closed

Pyjunis does not support fatjar compiled with java 11 #805

Impavidity opened this issue Sep 13, 2019 · 2 comments

Comments

@Impavidity
Copy link
Member

When I compile with java 11 and use the fat-jar in pyjunis, some errors happen.

SystemError: Error calling dlopen(b'/home/p8shi/jdk-11.0.4/jre/lib/amd64/server/libjvm.so': b'/home/p8shi/jdk-11.0.4/jre/lib/amd64/server/libjvm.so: cannot open shared object file: No such file or directory'
@tuzhucheng
Copy link
Member

tuzhucheng commented Sep 13, 2019

You need to do something like this:

mkdir -p /usr/lib/jvm/java-1.11.0-openjdk-amd64/jre/lib/amd64/server/
ln -s /usr/lib/jvm/java-1.11.0-openjdk-amd64/lib/server/libjvm.so /usr/lib/jvm/java-1.11.0-openjdk-amd64/jre/lib/amd64/server/libjvm.so

@lintool
Copy link
Member

lintool commented Nov 2, 2019

Closing, consolidating with #832

@lintool lintool closed this as completed Nov 2, 2019
crystina-z pushed a commit to crystina-z/anserini that referenced this issue Oct 28, 2022
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