i have a really basic java program just one .java/.class file (.java uncompiled .class compiled i guess) how do i make something that i can have run on someone elses computer?
i have a really basic java program just one .java/.class file (.java uncompiled .class
Share
This sort of kills the very purpose of Java (portability of the language), so you should always try to use the files compiled as .jar, since most of the computers out there (especially Windows and Macs) do have a Java Virtual Machine.
If you really need to compile something down to exe, you should be interested in Ahead-of-Time compilers (AOT), one of them being the GNU Compiler for Java.