Convert JAR Java to executable file.
Sunday, 14 December 2008 20:43
Kategori : J2SE | 7 | 935 views

  How to convert java to exe? Check this out..
First, You must pack all your java file into 1 compress file with winrar(shareware) or another compress software. after compress file. rename that extension into .jar from .rar.

  You want creates Windows executables that invoke your Java applications and integrates them seamlessly into the Windows environment.

  You can try exe4j, this exe4j is trialware. You can download trial from www.ej-technologies.com

the exe4j wizard is started. It guides you step by step through completing the required information for building the executable.

  What can I do with exe4j??
> You can distribute customized JRE/JDK detection
> Let you customized Flexible classpath construction
> Create compile GUI or console applications
> Let you write Windows services in java.
> Create Optional inclusion of JAR files into the executable (lets you include JAR files into the executable - in this way you can distribute your Java applications as a single EXE file.)
> Custom process name instead of java/javaw
> Custom icon for your executable
> Custom working directory
> You can create a user editable VM parameters file
> Generate Version info resource
> Create a Native splash screen
> Redirection of stderr and stdout
> Startup failure detection
> Fully localizable messages of the executable

  When invoking exe4j from the start menu, the desktop icon or by executing bin\exe4j.exe in the exe4j installation directory, The window of the wizard

has three distinct areas:



(1) Index The index of steps lists all steps of the wizard and highlights the current step in bold face. You can click on any step in the index to

arbitrarily move between wizard steps. Alternatively, you can use the navigation controls (see below).

(2) Current step The information for the current step is entered here. See the help pages for each step for specific information.

(3) Navigation The navigation bar allows you to move back and forward through the steps of the wizard with the [Next] and [Previous] buttons. The [Finish] button allows you to complete the wizard immediately without moving through the remaining steps. Should any required information be missing, the wizard will alert you to it. The [Help] button shows context specific help that is also available by pressing F1. With the [Cancel] button you can leave the wizard at any time. Should you have made modifications to the configuration, you will be asked whether you want to save your changes before the wizard exits.

  By default, the wizard starts with a template config file that contains default values where appropriate. The template config file is loaded from config\template.exe4j in the exe4j installation directory. If you would like to load a config file at startup, you can pass the path of the desired config file to the wizard executable (bin\exe4j.exe in the exe4j installation directory).

  I know this is a trialware..
maybe you can give more sollution with free software link, surely with the same feature... It can create executable file from JAR files.

It's gift from me.. I Know you will like it..check this out.. [download]

Best Regards,

Yupi Sugianto, S.Kom



Comments..

Yupi
20 June 2010 00:15:10
wah terima kasih mas.. kalau tentang java.. saya kira saya yang masih newbie.. ^_^ masukan bagus.. trick ini bagus jg dan simple..
Bayu Seno Adji
19 June 2010 20:29:12
Hmmmm.... skedar ide aja nih mas yupi. Ide dari newbie seperti saya bisa diterima bisa tidak.

Kalo mau simple saya bikin file .bat
yang isinya untuk menjalankan jar tersebut

misal

java -jar main.jar

Dari file .bat tersebut kita convert jadi exe dg software bat to exe converter

tentang tool ini bisa selengkapnya di dapat di http://www.bayusenoadji.com/en/aplikasi/44-aplikasi/135-bat-to-exe-converter
Yupi
02 February 2010 00:41:41
@veevee: 4 vista Try exe4J version 4.x.
Check This Out

Hope useful.. ^_^
Yupi Sugianto, S.Kom
veevee
01 February 2010 23:12:14
could not rename C:\Program Files\exe4j\i4j6823114549649995073.tmp to C:\Program Files\exe4j\uninstall.exe
could not rename C:\Program Files\exe4j\i4j6823114549649995073.tmp to C:\Program Files\exe4j\uninstall.exe
could not rename C:\Program Files\exe4j\i4j6823114549649995073.tmp to C:\Program Files\exe4j\uninstall.exe
could not rename C:\Program Files\exe4j\i4j6823114549649995073.tmp to C:\Program Files\exe4j\uninstall.exe
could not rename C:\Program Files\exe4j\i4j6823114549649995073.tmp to C:\Program Files\exe4j\uninstall.exe
could not rename C:\Program Files\exe4j\i4j6823114549649995073.tmp to C:\Program Files\exe4j\uninstall.exe
could not rename C:\Program Files\exe4j\i4j6823114549649995073.tmp to C:\Program Files\exe4j\uninstall.exe


pas di install kar gtan..
bisa buat vista ga y k??
Yupi
26 January 2010 11:36:06
@aira: visit this blog ' My Sokoban Source Code Plus How to Convert java Application into Windows Executable File'

I show u screen by screen.
aira
24 January 2010 16:48:51
mas, aira nyoba software ini kok gagal ya??
makanya bingung langkah˛nya....

bisa ga aira.java di bikin aira.exe???
gimana mas??

trus mengenai game yang aira maksud tu game sokoban.. aira bingung ma step nya tu logikanya gimana yah???
mohon solusinya ya kak..

maaf ga bisa comment di gamenya...
jadi coment di sini.. ^^
Mr. Y
14 December 2008 21:10:45
presented for Mr. Angga Bayu and all world wide web users..

 Sponsor Link 

Add Comment

Name (required)
Mail (will not be published) (required)
Website

CAPTCHA Image
Security Code (required) Reload Image

Visitor
There were 15552 user(s) here
Your IP : 38.107.191.92
Your Browser : Unknown
Country : UNITED STATES
~~~~~~~~
Latest Visitor
10thSep10 01:24| UNITED STATES
10thSep10 01:21| SINGAPORE
10thSep10 01:21| REPUBLIC OF KOREA
10thSep10 01:21| SWEDEN
10thSep10 01:20| UNITED STATES
10thSep10 01:20| UNITED STATES
10thSep10 01:19| UNITED STATES
10thSep10 01:17| CHINA
10thSep10 01:09| UNITED STATES
10thSep10 01:01| UNITED STATES
Search Subject |Auto Complete

Links