I checked jconsole in android didn't use for the -lib
parameter. It searches fro libj.so under /data/app/.. folder
but your libj.so is placed under /mnt/expand/[uuid]/app
I'll fix it in the next beta. Thanks for reporting the issue.
Sun, 31 Mar 2019, Ulrich Vollert написал(а):
> LIBFILE in jandr
LIBFILE in jandroid returns
/mnt/expand/d9aacd4e-be17-4806-a1fe-cc07effd914b/app/com.jsoftware.j.android-2/lib/arm64/libj.so
If I start jconsole in termux with -lib
/path/to/jconsole -lib
/mnt/expand/d9aacd4e-be17-4806-a1fe-cc07effd914b/app/com.jsoftware.j.android-2/lib/arm64/l
If jconsole can't determine the correct path of libj.so, then
you can try the following.
in jandroid, type LIBFILE to see the actual path of libj.so
in termux, provide additional -lib of libj.so , like this
$ /path/to/jconsole -lib /path/to/libj.so
If still fails , check permission of termux and
You are correct. I forgot to enable read/write permission of the sdcard
partition. jconsole can run fine on termux now. Thanks.
On Thu, Mar 28, 2019, 11:26 PM bill lam wrote:
> files in sdcard partition are already 660, group is everybody and
> permission on sdcard can't be changed due to androi
files in sdcard partition are already 660, group is everybody and
permission on sdcard can't be changed due to android security.
I just strace ,it showed
openat(AT_FDCWD,
"/sdcard/Android/data/com.jsoftware.j.android/files/bin/profile.ijs",
O_RDONLY) = -1 EACCES (Permission denied)
fstat(1, {st_
You might be able update the permissions on termux to let it access the file.
This process seems to be android version dependent, but, for example:
https://support.google.com/googleplay/answer/6270602?hl=en
I hope this helps,
--
Raul
On Thu, Mar 28, 2019 at 10:12 AM bill lam wrote:
>
> I can
I can run jconsole inside termux. but it can't load the profile.ijs . The
file can be accessed by file manager, not sure by termux can't read it.
$
/data/user/0/com.jsoftware.j.android/app_jandroid/bin/../libexec/arm64-v8a/jconsole
WARNING: linker: /data/app/com.jsoftware.j.android-1/lib/arm64/l
What is your JVERSION on jandroid? There are several jconsole inside
libexec and you need to pick the correct one. I have tried jconsole briefly
on termus a while ago and it worked fine.
please update to the latest version first if not yet.
On Mon, Mar 25, 2019, 4:35 AM Ulrich Vollert wrote:
>
Hi,
I am happy to use JAndroid.
With
jpath '~bin/../libexec‘
I found the binary „jconsole“ in a rather specific folder
/mnt/expand/d9aacd4e-be17-4806-a1fe-cc07effd914b/user/0/com.jsoftware.j.android/app_jandroid/bin/../libexec
But when I start „./jconsole“ in the shell Termu