Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Problem in Running Java Application in Non JDK/ Non JRE installed system

I am working in a java application. It is desktop application for Windows Operating System. I am creating a installer for my application. My application works fine for the system where jdk is insalled. I also want to run my application where jdk/jre is not present.

For this i am providing jre1.7 along with the installer. I am using advanced installer for creating exe form my application's jar file and providing JRE 1.7 along with all the lib files which requires in my application.

When i install application in non jdk/jre system. It gets installed properly but when i try to run the application, it shows "Missing JRE","Java Runtime Environment Not Found."

when i install application it gets successfully installed along with JRE 1.7 lib files.

I want my application to recognize JRE 1.7 automatically, which i am providing along with the installer.

Please guide me that what can be to recognize JRE for my application that i am providing along with the installer.

I thanks to your all valuable suggestions.

like image 464
Toman Avatar asked Oct 30 '10 11:10

Toman


1 Answers

It should work out of the box. Maybe check if you didn't mistakenly bundle an x64 JRE with your app?

like image 164
Frédéric Hamidi Avatar answered Sep 28 '22 08:09

Frédéric Hamidi