6 Replies Latest reply: Mar 12, 2013 12:16 AM by 996014 RSS

    How to bundle jre inside and jar to run in non java system?

      I have an jar called Myapp.jar.. It is working fine in java installed system.. And my task is to Bundle jre inside jar(Not along with jar(i.e we can put jre and jar in same folder to run a jar as given in following url http://www.mindfiresolutions.com/Run-jar-without-jre-on-windows-machine-76.php )). and I should not use any tools to convert jar into .exe file.. Because i have to give jar file only to client,in such a way that they can use this Myapp.jar in non java system also.. But,i dont know how to bundle jre inside jar.. Though i do bundle and all..I Dont how to run jre inside jar.. when ever we want to run jar,First of all,we must run our jre,then only we can run our jar.. Please provide me the solutions to bundle jre inside jar and how to run a jar? Thanks in advance....