JuliaInterop / JuliaInterop/JavaCall.jl
jar-file inside jar-file
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 125
- Forks
- 53
- PR merge metrics
- No merged PRs in 30d
Description
I have a jar-file which packages its libraries in a lib-directory inside itself. The MANIFEST.MF inside the jar allows the libraries to be found.
When I call a class from the jar the library inside it is not found and I get java.lang.NoClassDefFoundError. I have to extract the lib-directory and add it manually to the class path.
How can I add jar-file inside a jar-file to the class path in JavaCall.jl?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by examining JavaCall.jl's classpath handling and how it processes a JAR's MANIFEST.MF and nested lib-directory. Reproduce the reported NoClassDefFoundError with a JAR containing libraries inside itself. Done means JavaCall.jl can load those nested libraries without manually extracting them or adding them separately to the class path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, julia
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100