Re: [gui] Japi2 problems
- Posted by ghaberek (admin) Mar 02, 2018
- 1279 views
_tom said...
I have the original Japi working ok.
For Japi2 I get stuck at:
include std/dll.e atom libjapi = open_dll("japi2.so") ? libjapi --> 0
Using Linux on 32 and 64 bit with OE 4.1
Thanks to C A Newbould for re-discovering Japi.
_tom
Where's the shared library? If it's in the local directory, then you'll need to set LD_LIBRARY_PATH=. to get the interpreter to find it locally, e.g.
LD_LIBRARY_PATH=. eui test.ex
You can also export this in your .bash_profile. Ultimately, the fix for that is to include rpath when building the interpreter for Linux.
On a side note, I had dabbled with JAPI years ago and it was neat, but I wouldn't recommend using Java on purpose.
-Greg