I need to install jdk 1.4 for legacy program in linux ubuntu

87 views Asked by At

I've tried to install java 1.4 for an old program and download it from Oracle official web site. But the content directory structure of the tar.Z file are a bit messy, and I try to put it in Eclipse(via >Window>Preferences>Installed JRE> ) but it didn't work. The directories inside jdk 1.4: enter image description here

That was the folder structure from the download version and it's very diferent from the original one's. For example, in 'SUNWj3rt' there is a java exec in SUNJ3rt>reloc>j2se>bin folder, and another folder SUNJ3rt>reloc>j2se>jre>bin as well and the SDK apparently is in SUNWj3dev>reloc/j2se/bin (javac and others), but I tried in many ways to put it in Eclipse but didn't recognize via 'JRE_home' or via 'Extenal JARs' options. Anyone else knows how to deal with it or if there is another way to install jdk 1.4 instead of ORACLE website?

1

There are 1 answers

2
aled On BEST ANSWER

I suspect that you downloaded a tar containing a version of the JDK 1.4 for Solaris instead of Linux.

Note that if the old Java 1.4 distribution will run correctly in a much newer Linux distribution is up to you to test.