Search code examples
javalinuxubuntu64-bitjdk1.4

Is it possible to put java 1.4 on 64 bit Ubuntu?


I need to set up a legacy app that uses Tomcat 4 and runs using the 1.4 JDK.

I tried to install the linux JDK 1.4 from the sun download site on Ubuntu 9.04 but it wouldnt install.

Is it possible to install JDK 1.4 on the 64 bit version of Ubuntu?

When I try and install the j2sdk-1_4_2_19-linux-ia64.bin version i get the following error

./install.sfx.22146: 1: ��: not found
./install.sfx.22146: 1: ELF2�@@H�@8@@@@@@����@�@@@��������P: not found
./install.sfx.22146: 2: Syntax error: "(" unexpected


Solution

  • Are you particular about 64bit Java 1.4 ? I have tried with 32 bit Java 1.4 and it works. I clustered the web app to make use of more than 2GB memory.