You are currently browsing the tag archive for the ‘gui’ tag.

When reading the basic of Java Programming language, I become interest about making program using Java. Rather than CLI based Interface I prefer to use Java Window Interface (AWT and Swing), but when developing program there’s some question that came up from my mind. One of it is “How do I run java class as executable program?”

Then I’m trying to make little researh about the compile model of java itself. Then I realize, generally java can be packed into jar fomat. I want .exe , so find some freeware software to help me. There’s some but I think Java Launcher is the better one to convert java class into .exe format

Search Java Launcher, and install it. After run : just pick the main class file, then decide the ouput folder. Then select conversion option into .exe, click create to generate .exe file. Not only make executable format, Java Launcher also can modify the icon for the program. You can add manifest file for extra class/file if you want.

There’s 3 thing you should make sure before create .exe :

  • Your java class code should using GUI based code, (AWT, SWING)
  • Make sure your other dependency class/file also included
  • To make it works. JDK, JRE etc should be installed in your computer.

If you do it correctly, it will work. :)

Message From Author

Promise me! Always smile, don't be upset and keep your promise.

Follow Me on Twitter!

Backlink

Fastest way to Increase your web traffic by making your own backlink, add now!

Text Back Link Exchange

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1 other follower

Get Updates!

Bookmark This!

 

May 2012
M T W T F S S
« Apr    
 123456
78910111213
14151617181920
21222324252627
28293031  

Post Categories

Blog Stats

  • 2,344 hits

My Tweets

Error: Please make sure the Twitter account is public.

Follow

Get every new post delivered to your Inbox.