What's the best way to start Java applications on Windows 7?

前端 未结 5 907
谎友^
谎友^ 2020-12-07 13:42

Requirements

I want to publish a Java GUI application on Windows 7. This application is using the Swing Toolkit and doesn\'t need any native code. The application

5条回答
  •  孤城傲影
    2020-12-07 14:17

    Try Launch4j (http://launch4j.sourceforge.net/), its a simple jar to exe wrapper (actually wrapping the jar is optional). It should solve your Icon and Taskbar requirements. Its also capable locating installed JRE's (some configurable rules). The font problem I don't quite get, Swing should automatically use fonts depending on Windows settings, unless you somehow overwrite that in the JRE options or in code.

提交回复
热议问题