this solution is no different to the tools on google.
The reply asked for the tool to compile the .java and run the .class
You are all so narrow minded, just take the line out which compiles the
java.
You fail to see why java was written as it has been. If the java
community wanted .exe files they would make it so. Java .class files are
not even machine code.
You can associate the .class/.jar files so that they are run by javaw,
just write a vb program that has a .exe which adds registry
associations, the next line in the vb should execute "MyJar.jar".
Desnt this list have a faq for this question? Ive seen it asked so many
times in the past month.
Sorry for poor language and tone, but this really frustrates me when I
keep reading "How can I convert my hello world to .exe so that windows
users can run it". Have a thought for all the other platforms which do
not support .exe/.com/.bat/.dll.
If you do not want other platforms to run java code then make word vb
macros. The philosophy of java is compile on one platform, run on all
others, keep that in mind.
Note, if i have not made it clear, .exe will only run on MSDOS. How
about an ELF?