LiveSplit / LiveSplit/livesplit-core

Use with JNI

Open
#520 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

support
Dominant language
Rust
Stars
227
Forks
81
Avg merge
22h 45m
Merged PRs (30d)
3

Description

How you use livesplit-core with JNI on Linux ?

File system : */lib/livesplitcore/livesplitcore.so*
Java file : System.loadLibrary("livesplitcore") (static) in LiveSplitCoreNative.java
IntelliJ : livesplitcore library in */lib/livesplitcore* + livesplitcore library dependancy in the project module
Java option : *-Djava.library.path=/lib/livesplitcore*

And finally i have an error : UnsatisfiedLinkError: no livesplitcore in java.library.path

I have used the *livesplit-core-v0.12.0-x86_64-linux-android.tar.gz* file.
Does the **.h** and **.cpp** files are necessary ? And have the same name ?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with LiveSplitCoreNative.java, the packaged livesplitcore.so path, and the -Djava.library.path setting described in the issue. Check the JNI packaging and Linux library naming assumptions, then document the required files and configuration once a working setup is established.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, linux, rust
Domain
developer-experience, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.