Skip to content
Discussion options

You must be logged in to vote

Ok, so looking at graalvm milestones it looks like they are aiming to finally release the new version in nine days, which means that I'll wait for that and then polish this experience afterwards.

In the meantime what you need to do is this:

Extract the native library you want to load from crossterm jar.

$ jar -tf `cs fetch com.olvind.tui:crossterm:0.0.5`|grep native
native/arm64-darwin/libcrossterm.dylib
native/x86_64-darwin/libcrossterm.dylib
native/x86_64-linux/libcrossterm.so
native/x86_64-windows/crossterm.dll
META-INF/native-image/org.scala-lang/scala-lang/jni-config.json

Copy the library for you platform so it loses the directory prefix

for instance native/arm64-darwin/libcrossterm…

Replies: 4 comments 9 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@ckipp01
Comment options

@oyvindberg
Comment options

Answer selected by ckipp01
@ckipp01
Comment options

@oyvindberg
Comment options

Comment options

You must be logged in to vote
1 reply
@oyvindberg
Comment options

Comment options

You must be logged in to vote
4 replies
@ckipp01
Comment options

@oyvindberg
Comment options

@ckipp01
Comment options

@oyvindberg
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants