make my own software?
hello i done my java swing project and i deployed into jar file?
now it is working well in my system where jdk1.6 installed.
but i want to use the application on other system in which jdk and jre not installed?
is there any way to use my jar file on all systems?
what should i do to run my application on where jdk and jre was not installed?
To run a Java application you must have install JRE. If you don't have install JRE, you have to implement a way to automatically install it first time run. You can bundle the latest JRE into your application.
Eranga is correct. The JRE is like an operating system for Java, it has to be there first. We just bundle a copy of the JRE install program, as downloaded from Sun, with our software. The installer is a simple batch file, and it asks if Java should be installed. If the user says yes, then the batch file just runs the installer.
It would be nice if their was a JRE implemetation at the kernal level by default. until that happens installing the JRE is the only way to convert java bite code to native machine language...
I think on Windows Vista JRE bundled with the kernel. I'm not sure, but better to look at it.
I know for sure the the home edition doesn't because JRE was one of the first things I had to install on it. Maybe in one of the more robust versions it is though...
Originally Posted by Eranga
May be on Professional version. I'm not exactly remember, somewhere I workout it in that past without installing anything.