This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Even though I am just beginning in Java I would like to know how to convert a java application to a program that can be run just by clicking on it from the computer's desktop??? otherwise, i don't like the idea of running applications from the JRE or from an IDE. thanks, thomas
if you don't know, then ask. if you do know, then share. love is knowledge.
Create a .bat file (or it's equivalent) then you can set the classpath to what you want etc. This is a .bat file that sets the path to the jre that was bundled with this application, and sets the classpath, invokes the app and brings in a properties file. The actual call to the app is bolded. RunAPP.bat