0

I have a 64bit jdk 1.6 installer . Can I install java on centos 5.8 32 bit using a 64 bit installer. If so what would be the command to achieve the same.

TIA.

digvijay
  • 189
  • 1
  • 5
  • 16
  • 1
    No you can't because a 32 bits OS doesn't provide 64 bits support. The reverse is true though, you can install a 32 bits program on a 64 bits Linux. – fvu Jun 02 '12 at 12:42
  • @fvu: I think you should post an answer for this. – nhahtdh Jun 02 '12 at 12:43

2 Answers2

1

Simply, no you can't. To run a 64-bit application, you need an OS that supports 64-bit apps, and a 32-bit OS does not do this.

Stephen C
  • 698,415
  • 94
  • 811
  • 1,216
1

No you can't because a 32 bits OS doesn't provide 64 bits support. The reverse is true though, you can install a 32 bits program on a 64 bits Linux.

Specifically in the case of Java program though, except for those programs that require huge heaps you should be able to get the to run on both a 32 bits or 64 bits JDK, so it's worth a try to install the 32 bits JDK and try to execute the application.

fvu
  • 32,488
  • 6
  • 61
  • 79