Mohd Ismail Siddiqui
Mohd Ismail Siddiqui

Reputation: 678

a 32 bit application is giving error of unload jre on the 64 bit java installed machine

I have a 32 bit application on 64 bit machine and its installed into the Program X86 folder while Java1.6 (64 bit) is already installed on the same machine. When i run this application it gives error "unable to load jre"?

Please help me out how we can solve this problem without installing the 32 bit jre.

Upvotes: 1

Views: 913

Answers (3)

Reuben
Reuben

Reputation: 5736

I had a situation in my environment. My Eclipse required 64bit JRE where as there were some applications running which needed 32 bit JRE . So it was easy for me to fix . I changed the eclipse ini file and point the 64 bit JRE. And in the PATH variable I set the 32 bit PATH .

If possible then check that the application can take the 64 bit JRE path from some configuration file or not otherwise you have to set PATH for 32 bit.

Upvotes: 0

ravibagul91
ravibagul91

Reputation: 20765

According to my knowledge, I think your Java1.6(64 bit) is installed on the same machine, but in the Program Files Folder is it? And your 32 bit application in installed on the same machine, but in the Program FileX86 Folder is it?

If so that is the problem only that, your application does not find proper path for jre.

I think the problem is with your classpath, set the classpath according to your machine.

OR another way just install 32 bit jre on the same machine.

I recommend you to go for 32 bit jre installation.

See this article for more help.

Upvotes: 1

Satyam Koyani
Satyam Koyani

Reputation: 4274

If it is a 64-bit JVM(JRE), it won't load 32bit libraries, and vice versa.So you cannot do this without installing 32bit JRE.

Upvotes: 0

Related Questions