NetBeans IDE Windows executable file?

M

Mark Haag

I'm trying to figure out how to get NetBeans to build my java code
into an independantly executable Windows file. For instance, my code
can only execute in the NetBeans environment. Can a build a
someName.exe file? If not what could I do to make a file that will run
on a Windows computer without NetBeans?

Thanks.

Mark
 
C

Christophe Vanfleteren

Mark said:
I'm trying to figure out how to get NetBeans to build my java code
into an independantly executable Windows file. For instance, my code
can only execute in the NetBeans environment. Can a build a
someName.exe file? If not what could I do to make a file that will run
on a Windows computer without NetBeans?

Thanks.

Mark

You'll need to make an executable jar. If you distribute that, the users
will only have to double click it (provided they have a JRE).
More info on http://java.sun.com/docs/books/tutorial/jar/basics/index.html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,143
Latest member
SterlingLa
Top