JRE supplied with UploadTool is not running on my 64-bit Debian Wheezy

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:

  1. root@HUPIVSR010:/opt/ZohoReports/UploadTool/jre/bin# uname -a
  2. 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:

  1. root@HUPIVSR010:/opt/ZohoReports/UploadTool/jre/bin# ls -la
  2. total 756
  3. drwxr-xr-x 2 root root   4096 Jul  1 12:55 .
  4. drwxr-xr-x 8 root root   4096 Jul  1 12:56 ..
  5. -rwxr-xr-x 1 root root   6347 Jul 31  2009 ControlPanel
  6. -rwxr-xr-x 1 root root  47308 Jul 31  2009 java
  7. -rwxr-xr-x 1 root root  25634 Jul 31  2009 java_vm
  8. -rwxr-xr-x 1 root root  84970 Jul 31  2009 javaws
  9. -rwxr-xr-x 1 root root   6347 Jul 31  2009 jcontrol
  10. -rwxr-xr-x 1 root root  47447 Jul 31  2009 keytool
  11. -rwxr-xr-x 1 root root  47679 Jul 31  2009 orbd
  12. -rwxr-xr-x 1 root root  47515 Jul 31  2009 pack200
  13. -rwxr-xr-x 1 root root  47807 Jul 31  2009 policytool
  14. -rwxr-xr-x 1 root root  47447 Jul 31  2009 rmid
  15. -rwxr-xr-x 1 root root  47447 Jul 31  2009 rmiregistry
  16. -rwxr-xr-x 1 root root  47475 Jul 31  2009 servertool
  17. -rwxr-xr-x 1 root root  47679 Jul 31  2009 tnameserv
  18. -rwxr-xr-x 1 root root 189274 Jul 31  2009 unpack200

The file type of "java" within this BIN folder:

  1. root@HUPIVSR010:/opt/ZohoReports/UploadTool/jre/bin# file ./java
  2. ./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:

  1. root@HUPIVSR010:/opt/ZohoReports/UploadTool/jre/bin# ./java -version
  2. -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:

  1. This JRE was compiled for kernel 2.2.5 and my Debian is 3.2... or,
  2. 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