![]() ![]() There are a finite number of platforms supported for the jre and guess what. This does make your distro larger and platform dependent, in my example Windows 圆4. I would also like to point out that this is a fairly common practice and many Java distributions are done like this. You can do this on Linux or OS X in an analogous way. To prove it to yourself, uninstall your system jre and double click the batch file. boom, done! Double click the batch file and it runs your jar file with the local jre. Jre-win-1.7.0_04\bin\java.exe -jar MyProgram.jar copy the system jre folder to dist\jre-win-1.7.0_04. ![]() Then create a batch file to point to your local jre instead of the system one. If you have the jre installed on a target platform, say Windows 64 bit, simply copy everything under the jre folder in your Java install and place it in your distro. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |