So i've wrote many programs in java but never ran them outside the IDE. I have read a lot about creating .jar files. I wrote a simple and famous Hello World Class that just shows a JOption message pane that says Hello World. I use Eclipse with Windows 7. I exported the project in Eclipse to a JAR file. I go to the command line and do java -jar HelloWorld.jar and it runs my program just fine. This is not what I need to do. I want to be able to just double click on it and have it work. ON ANY COMPUTER I PUT IT ON. So I created a batch file that does the Command line stuff for me. I put the .jar file and my .bat file on a flash drive and put it on another computer (Windows 7 also with java 1.6) and I put the .jar file in the same directory my .bat file says it will be and the program DOES NOT RUN! WHY!!! What do I need to do to make an executable that portable??? And user friendly. People dont want to type CMD lines. Double Click and done. Thanks for the help!