954,518 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Executable program design question....

I am writing a simple statistical calculation program....I was wondering how do I package this so it is an executable from the desktop with an Icon to execute the program..It is written in java.....

ZEEPLE
Newbie Poster
15 posts since Aug 2004
Reputation Points: 10
Solved Threads: 0
 

Daniweb is not abundant with Java tutorials just yet. But Sun.com is click on Java under the Learn Aboutr menu (lower left of Suns home page) basically you will need to compile your program with ..i think its javac or some such command line tool. This will compile your source code into Javas' bytecode language which can then run in any Java Run time environment.

hollystyles
Veteran Poster
1,182 posts since Feb 2005
Reputation Points: 262
Solved Threads: 68
 

Hi everyone,

You can create a jar archive with the class to run in a manifest file. Search for creating jar archives on this site or on http://www.yahoo.com and i think you will find a lot of sources.

Richard West

freesoft_2000
Practically a Master Poster
623 posts since Jun 2004
Reputation Points: 25
Solved Threads: 10
 
hollystyles
Veteran Poster
1,182 posts since Feb 2005
Reputation Points: 262
Solved Threads: 68
 

after creating your jar you will need a jnlp if you want to do a web-start

paradox814
Posting Whiz
351 posts since Oct 2004
Reputation Points: 13
Solved Threads: 4
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You