JuliaInterop / JuliaInterop/JavaCall.jl
Calling of java methods in a .jar file fails, but listing methods works fine.
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 125
- Forks
- 53
- PR merge metrics
- No merged PRs in 30d
Description
I am struggling with being able to call java routines, whos classes are inside a subfolder
view5d/
in the jar file. I tried in vain for days. After opening the library
V = @JavaCall.jimport view5d.View5D
works fine as do
listmethods(V)
or
listmethods(V,"Start5DViewerF")
yet when calling the function I always obtain a message that this method does not exist.
I also tried different version ("view5d/Start5FViewerF","view5d.Start5FViewerF","View5D.Start5FViewerF") and also calling a method like wait() with a much simpler signature, but the result is always the same.
The code can be accessed under:
https://github.com/RainerHeintzmann/View5D.jl
(.jar file included)
Any help would be greatly appreciated!
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
Reproduce with the included view5d/ classes using @JavaCall.jimport view5d.View5D, listmethods(V), and a failing method call. Compare the listed signatures with the attempted calls, including wait(), and finish when a method in a class under the jar's subfolder can be invoked successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100