JRE supplied with UploadTool is not running on my 64-bit Debian Wheezy
Let me show the result of a few commands. First, my linux:
- root@HUPIVSR010:/opt/ZohoReports/UploadTool/jre/bin# uname -a
- Linux HUPIVSR010 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux
The JRE\BIN folder of the UploadTool, with X bits, etc:
- root@HUPIVSR010:/opt/ZohoReports/UploadTool/jre/bin# ls -la
- total 756
- drwxr-xr-x 2 root root 4096 Jul 1 12:55 .
- drwxr-xr-x 8 root root 4096 Jul 1 12:56 ..
- -rwxr-xr-x 1 root root 6347 Jul 31 2009 ControlPanel
- -rwxr-xr-x 1 root root 47308 Jul 31 2009 java
- -rwxr-xr-x 1 root root 25634 Jul 31 2009 java_vm
- -rwxr-xr-x 1 root root 84970 Jul 31 2009 javaws
- -rwxr-xr-x 1 root root 6347 Jul 31 2009 jcontrol
- -rwxr-xr-x 1 root root 47447 Jul 31 2009 keytool
- -rwxr-xr-x 1 root root 47679 Jul 31 2009 orbd
- -rwxr-xr-x 1 root root 47515 Jul 31 2009 pack200
- -rwxr-xr-x 1 root root 47807 Jul 31 2009 policytool
- -rwxr-xr-x 1 root root 47447 Jul 31 2009 rmid
- -rwxr-xr-x 1 root root 47447 Jul 31 2009 rmiregistry
- -rwxr-xr-x 1 root root 47475 Jul 31 2009 servertool
- -rwxr-xr-x 1 root root 47679 Jul 31 2009 tnameserv
- -rwxr-xr-x 1 root root 189274 Jul 31 2009 unpack200
The file type of "java" within this BIN folder:
- root@HUPIVSR010:/opt/ZohoReports/UploadTool/jre/bin# file ./java
- ./java: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, not stripped
My futile attempt to kick the "java" binary in the butt:
- root@HUPIVSR010:/opt/ZohoReports/UploadTool/jre/bin# ./java -version
- -bash: ./java: No such file or directory
And -- crucially -- this is exactly the error I get when attempting to run the UploadFromDb.sh.
So, there are two things I can think of that could be the root cause:
- This JRE was compiled for kernel 2.2.5 and my Debian is 3.2... or,
- This JRE is 32-bit only
Would an OpenJDK-JRE-6 RPM deployment, with the modification of the setEnv.sh, solve this problem?
Thanks,
Peter