4 ms·
>A huge number of Java apps built for enterprises or corporations are Windows-native as well. Either compiled down to a .exe, installed via a Windows-native Ins
by tormeh 12y ago
>A huge number of Java apps built for enterprises or corporations are Windows-native as well. Either compiled down to a .exe, installed via a Windows-native Installshield installer, built using Windows-only native-library code, or designed assuming Windows (e.g. referencing C:\ directly in the code).
That reads like a catalogue of worst practices. It's possible to make Java apps really portable by doing absolutely nothing. You compile Java code to .class format, and then you are done. You would probably want to include your own JVM and a shortcut or bash file invoking it on the bytecode, but the point is it's actually more effort to make them non-portable.