• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Windows Executable

 
Paras Ahuja
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,
I have made a Java project. Now i want to make a windows executable file of it.
What is the best way to do it?
 
Nam Ha Minh
Ranch Hand
Posts: 502
Eclipse IDE Firefox Browser Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First, why do you want to build a windows executable? Isn't your program targeted for multiple platforms?
Anyway, I found that JSmooth is doing that well. For special purpose, I even created my own executable using Visual Basic 6.
 
Winston Gutkowski
Bartender
Pie
Posts: 10091
56
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Paras Ahuja wrote:Hi everyone,
I have made a Java project. Now i want to make a windows executable file of it.
What is the best way to do it?

There are several 3rd party product that will do it; and I believe you can also make an executable jar (which is pretty much the same thing).

My question is: why are you worried? If you can run your app with the standard commands, just bang 'em in a .BAT.

Winston
 
Paras Ahuja
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want to make it windows executable because it is going to be used on system's without jre.
So if you could just help me...
 
Paras Ahuja
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can you suggest me some 3rd party products?
 
Nam Ha Minh
Ranch Hand
Posts: 502
Eclipse IDE Firefox Browser Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Paras Ahuja wrote:i want to make it windows executable because it is going to be used on system's without jre.

Unless you are building a native Windows app, all Java programs require JRE to run. In your case, a Windows executable is just a wrapper, it doesn't replace JRE.

For 3rd solution, I suggested JSmooth as above.
 
Carlos Daniel Larico Flores
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, maybe you can use Exe4j, is very easy to use !

 
Rob Spoor
Sheriff
Pie
Posts: 20494
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Unless all of the referenced classes are also compiled into native code (like gcj does), you indeed need a JRE. I believe JSmooth can help install one automatically when none is detected.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic