Java is designed to be operating system agnostic, and exe's are specific to the Microsoft platform, so while there may be some 3rd party tool to do this, you generally wouldn't.
Usually your .java files get compiled into .class files, which get run by java.exe (which *is* platform-specific). Read more at:
Just google for "java exe" - there are loads of tools that will compile byte code int exe's. But remember that this is NOT the common way to do things. These day's JIT runtime compilers are very good. If you are new to Java, as you say, you should certainly learn things the traditional way first.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.