Java2Exe: 也許JSmooth更適合你 (轉)

amyz發表於2007-11-28
Java2Exe: 也許JSmooth更適合你 (轉)[@more@]

2Exe: 也許JSmooth更適合你


看到很多人問如何將Java轉成EXE。最省事的方法莫過於用JBuilder,但是如果你覺得JBuilder太過於笨重,或者在出於種種原因不能用JBuilder, 看看下面的介紹,也許JSmooth,這個小巧、智慧、遵循GPL的開放原始碼的工具能夠幫助你。(forge/">)

---------------------------------------

Overview

JSmooth is a Java Executable Wrapper (in other s, it "converts" Java to exe).

It builds standard executable binaries (.exe) that launch java applications. Such binaries contain all the information needed to launch your java application, i.e. the classpath, the java properties, the jvm version required, and so on. If Java is not installed, it helps the users by displaying them a notice before launching automatically a browser to a site where they can a JVM.

Features

Smooth User Experience

  • Your users see and use a standard windows Exe binary. No more technical explanation on .jar, on javaw association, etc.

  • The Jsmooth EXE are smart: if no VM is found, your users are nicely explained how to install Java and/or are redirected to a web site (depending on the ed wrapper).

Flexible automatic Java VM detection

  • Detects the location of any Sun JVM installed. The wrappers use several strategies to detect all the JVM available on a computer, using windows registry, environment variables, windows path.

  • Detects and uses 's JView (for 1.0 and 1.1 Java applications), if available.

  • The JVM search sequence is fully customizable using the GUI.

  • If a JVM is bundled with your software, you can force the wrappers to use it.

  • Specify which versions of the JVM are compatible with your software.

Graphical User Interface

  • A -based project editor allows you to easily configure the executable binary for your software.

  • Associate an icon to your executable, using a .ICO, .PNG, or .GIF file (automatic color reduction is done if necessary).

Application configuration

  • Easy java properties configuration: specify the tag=value pairs you want the wrappers to pass to your java application.

  • System environment variable are available in the java properties definition: just use the standard Windows %VARIABLE% syntax in your properties definition.

  • Pass special variables that are not available to Java program, such as the executable path and name, and even the computer name.

  • Specify all the classpath configuration, adding .jar, .zip, or directories, with an intuitive GUI.

  • Want to modify the current directory used by your Java application? The wrappers will handle this for you.

Wrappers

  • Provd with several exe wrappers skeletons, so that you can choose the one that best suits your needs!
  • Use one of the provided wrapper or create your own, and plug-it seamley into the jsmooth .

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10752019/viewspace-985558/,如需轉載,請註明出處,否則將追究法律責任。

相關文章