LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Installing java 1.3.9 on a 64bit CentOS5 system? (https://www.linuxquestions.org/questions/linux-software-2/installing-java-1-3-9-on-a-64bit-centos5-system-672731/)

neocookie 09-27-2008 09:10 AM

Installing java 1.3.9 on a 64bit CentOS5 system?
 
I have a piece of software which I need to run, however its limited to Java 1.3.9. I've tried running it on later versions but its a no-go, and there aren't any versions which run with the latest versions of java.

Is there any way I can get it running on a 64bit CentOS5 system?

RAFAL 09-28-2008 11:30 AM

JAva 32 bit
 
hi

are you talking about running 32 bit Java on 64 system?

I think this should be quite easy.
You install the system and before you start your application you define JAVA_HOME and maybe some other variables showing the folder in which old Java is installed.
I had similar problem when I tried to use SAP program which runs only with 32 bit Java.

regards
Rafal

jay73 09-28-2008 05:44 PM

Visit sun and grab the 32 bit rpm.bin of your choice (you'll need to search their archives for older releases).

neocookie 09-29-2008 02:25 AM

Quote:

Originally Posted by jay73 (Post 3294449)
Visit sun and grab the 32 bit rpm.bin of your choice (you'll need to search their archives for older releases).

Did that, installed, failed to run. Which is why I was asking.

I've managed to get 1.3.20 running, but I think there was a re-architecture for that release for 64bit systems.

RAFAL 09-29-2008 06:52 AM

Quote:

Originally Posted by neocookie (Post 3294791)
I've managed to get 1.3.20 running, but I think there was a re-architecture for that release for 64bit systems.

I don't understand what do you mean.
If your program requires 32 bit Java then install the version you need and then before running program set variables accordingly.

In my example for JAVA SAPGUI I changed three variables:
PLATIN_JAVA,PLUGIN_HOME, JAVA_HOME

PLATIN_JAVA was SAPGUI specific I think.

For bash you set variables using "export" command.
For other this could be "setenv".

If your program requires 64 bit Java but different version, then I think you go the same way. After you install, there should be different folder with all files. You have to point to them.

Have you tried to set system variables before using your program?

regards
Rafal


All times are GMT -5. The time now is 06:26 PM.