publish java application

I have an application written in java netbeans. It made me several weeks to write it and i would like to put it everywhere as a program for common use. How can I make it an application for Windows (exe with libraries and other files)? Where I should be looking for a solution?

And also i would (if it's possible) make an instalator for that, but that's more about future. Now i'm looking for possibility to make Windows binary application.

Thanks for answers,

Orkan

[494 byte] By [orkana] at [2007-10-2 16:59:16]
# 1

Hi !

Netbeans can create suitable jar file in directory dist. Somethims you shoud edit manifest file for correct position of your library

You have 2 method :

a) if ypu want to make exe file

You shoud use Java laucher. In order to use it you shoud have any C Windows compiler, the best Microsft C. In source of Java code you'll find directory launcher. In this directory you'll find samle code of Java laucher.

other metod

b) use your own jar file, windows can with help jaws execute it.

Look at how to make jar file.

piotrz11a at 2007-7-13 18:12:37 > top of Java-index,Desktop,Core GUI APIs...
# 2
jar file is cool but what about additional files? like images, icons and other external stuff which is mentioned in the code but is not included in the jar? huh? :)
orkana at 2007-7-13 18:12:37 > top of Java-index,Desktop,Core GUI APIs...
# 3
Images and Icons can and probably should be packaged inthe jar. Anything outside of the jar is an OS specific problem, not a java problem. Google for an application installer.
es5f2000a at 2007-7-13 18:12:37 > top of Java-index,Desktop,Core GUI APIs...