Java Silent Fail

Sparse Way support at sparseway.com
Tue Feb 26 19:27:04 UTC 2019


Hello,

./java -Djava.home=/data/app/jre -version

Running this on android armv7a doesn't produce any output, the arguments are ignored as replacing them with invalid ones will make no difference.
The process exits with value 6, the input stream (process's stdout) is empty.

It would be nice to have debug flag or maybe a debug build variant.

Error stream buffer:
WARNING: linker: ./java: unused DT entry: type 0x6ffffffe arg 0x3a8
WARNING: linker: ./java: unused DT entry: type 0x6fffffff arg 0x2
WARNING: linker: libjli.so: unused DT entry: type 0x6ffffffe arg 0xf00
WARNING: linker: libjli.so: unused DT entry: type 0x6fffffff arg 0x2
WARNING: linker: ./java: unused DT entry: type 0x6ffffffe arg 0x3a8
WARNING: linker: ./java: unused DT entry: type 0x6fffffff arg 0x2
WARNING: linker: libjli.so: unused DT entry: type 0x6ffffffe arg 0xf00
WARNING: linker: libjli.so: unused DT entry: type 0x6fffffff arg 0x2
WARNING: linker: libjvm.so: unused DT entry: type 0x6ffffffe arg 0x472c
WARNING: linker: libjvm.so: unused DT entry: type 0x6fffffff arg 0x3

Back bash configure produced warning which I ignored:

The following warnings were produced. Repeated here for convenience:
WARNING: using cross tools not prefixed with host triplet
WARNING: Unknown autoconf target triplet ABI: "androideabi"

Plus I am not sure if using arm-linux-gnueabihf for arm build is obligatory so didn't use it.


More information about the mobile-dev mailing list