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_mode=S_IFCHR|0600, st_rdev=makedev(0x88, 0), ...}) = 0

Perhaps the symlink /sdcard didn't work in my cellphone. it needs to use
proper file name  /storage/.....


On Thu, Mar 28, 2019, 11:09 PM Raul Miller <[email protected]> wrote:

> 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 <[email protected]> wrote:
> >
> > 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/libj.so:
> > unused DT entry: type 0x1d arg 0x8424
> >
> > |file access error
> >
> > |       0!:0 y
> >
> >    i.6
> >
> > 0 1 2 3 4 5
> >
> >    >4!:3''
> >
> >
> >    BINPATH
> >
> > /data/data/com.jsoftware.j.android/app_jandroid/bin
> >
> >    LIBFILE
> >
> > /data/app/com.jsoftware.j.android-1/lib/arm64/libj.so
> > com.jsoftware.j.android/files/bin/profile.ijs'
> > |file access error
> > |
> >
> 0!:0<'/storage/emulated/0/Android/data/com.jsoftware.j.android/files/bin/profile.ijs'
> >
> > On Mon, Mar 25, 2019, 7:56 AM bill lam <[email protected]> wrote:
> >
> > > 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 <[email protected]> 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 Termux I get the error
> message
> > >>
> > >>         „Load library
> > >> /data/app/com.jsoftware.j.android-9/lib/arm64/libj.so failed“
> > >>
> > >>
> > >> Is there a possibility to tell jconsole where it can find libj.so?
> > >>
> > >> Regards,
> > >> Ulrich
> > >>
> > >>
> > >>
> > >>
> > >> ----------------------------------------------------------------------
> > >> For information about J forums see
> http://www.jsoftware.com/forums.htm
> > >
> > >
> > On Mon, Mar 25, 2019, 7:56 AM bill lam <[email protected]> wrote:
> >
> > > 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 <[email protected]> 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 Termux I get the error
> message
> > >>
> > >>         „Load library
> > >> /data/app/com.jsoftware.j.android-9/lib/arm64/libj.so failed“
> > >>
> > >>
> > >> Is there a possibility to tell jconsole where it can find libj.so?
> > >>
> > >> Regards,
> > >> Ulrich
> > >>
> > >>
> > >>
> > >>
> > >> ----------------------------------------------------------------------
> > >> For information about J forums see
> http://www.jsoftware.com/forums.htm
> > >
> > >
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to