Henry Wong wrote:
By EXE, I am assuming that you are using windows... Windows support "one-click" execution of executable jar files. Just package your classes into a jar file, create a manifest to make it executable, and windows will run it with "one click".
If you really need it to be an EXE file, then you can compile it to an EXE. Just google for "AOT java compiler" for some compilers.
Henry
id like to build an application that would run in different platforms without changing the code. so i think Jar file is one of the best options.
correct me if im wrong, Jar file can't be executed if there's no JRE installed in terminal?