Creating a .exe type file for execution outside the java environment
Hello,
In C++ you have a .exe file which when dbl clicked, it launches your program. How is this done in java? I'va read about .bat files, however where do you create a .bat file? I tried creating it in Netbeans, but it does not recognize the .bat extension... The I'm assuming you just type in the .bat file: Welcome java (Welcome being the filename to be executed)
[382 byte] By [
ponchoa] at [2007-11-27 2:01:51]

No, you need to create a JAR file that contains your java program. http://java.sun.com/docs/books/tutorial/deployment/jar/If you give the JAR file to your user, they will be able to run it just by double-clicking it.(Assuming they have Java on their computer)
Look at Netbean's user manual. (I use Eclipse personally, not NetBeans).
It should offer the ability to generate a JAR file.
And if you click it, and you answer Netbean's dialog boxes correctly,
then yes you will get an executable JAR file that contains your whole program.
(For your long term better understanding, you should still read the JAR tutorial posted above.
If Netbeans generated a JAR file that doesn't work, you would at least
have the knowledge and ability to diagnose it and fix the problem)