I could install a Web Application on my laptop both on Ubuntu Linux and Windows without any problem. But When I tried to install it on raspberry pi 3 raspbian platform I got such a problem.
I tried both versions of setup file, 32 bit and 64 bit. I checked java version. But I could not figure out what is missing.
asked Oct 18, 2016 at 7:39
-
1Pure java is portable to the Pi as is, but if the application comes in 32 and 64-bit versions it contains JNI code and as per vaha's answer, unless it specifically says "ARM" assume these bits are compiled for an x86 (Intel/AMD) based machine. It won't work. This doesn't explain the odd characters in the output but that may be coincidental.goldilocks– goldilocks2016年10月18日 09:06:29 +00:00Commented Oct 18, 2016 at 9:06
-
@goldilocks The weird output is consistent with a binary file being interpreted as a shell script.Thorbjørn Ravn Andersen– Thorbjørn Ravn Andersen2017年01月17日 12:27:40 +00:00Commented Jan 17, 2017 at 12:27
1 Answer 1
You cannot execute binaries compiled for x86 architecture on arm processors.
answered Oct 18, 2016 at 8:16
lang-java