Hi All,
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.