问题
I would like to know which Java native compilers can be recommended to compile Java code to Windows and Mac OS X binaries.
Maybe someone knows which compilers have been used to create the Eclipse binaries. Those shouldn't be a wrong choice.
回答1:
See here... But in short, there is no good solution that I would really recommend.
回答2:
Eclipse uses as User Interface SWT
, which uses the native plattform user Interface:
On Windows it looks like Windows, on Mac like Mac, etc. Its available for the most popular Plattforms, search for SWT for more info.
So that is probably what you saw, or more are feeling when you work with eclipse.
Its not only the exe extension.
来源:https://stackoverflow.com/questions/6746656/which-java-native-compilers-can-be-recommended