Java to exe?

galaxyAbstractor

Community Advocate
Community Support
Messages
5,508
Reaction score
35
Points
48
So, I made a program that is finished now, and I want to release it. Anyone willing to help me to export it as an installer/application (exe)?
 

xav0989

Community Public Relation
Community Support
Messages
4,467
Reaction score
95
Points
0
It was a quite interesting article there!
 

jtwhite

Community Advocate
Community Support
Messages
1,381
Reaction score
30
Points
0
I don't think it's possible. The installer would just put the .jar file in C:/program files/name/file.jar, and create a desktop shortcut to that file?
 

galaxyAbstractor

Community Advocate
Community Support
Messages
5,508
Reaction score
35
Points
48
I already done it lol. I used launch4J

I don't think it's possible. The installer would just put the .jar file in C:/program files/name/file.jar, and create a desktop shortcut to that file?

no, it puts the .jar inside the .exe
 
Last edited:

marshian

New Member
Messages
526
Reaction score
9
Points
0
the no .exe was one of the problems I had with coding in JAVA, I might learn it for real now.

AARGH
Does anyone even get the most important point of the article?
Why would you do such a thing? Java is designed to be portable to many platforms, making it into a Windows executable is usually a waste of time and loss of possibilities...
 

galaxyAbstractor

Community Advocate
Community Support
Messages
5,508
Reaction score
35
Points
48
AARGH
Does anyone even get the most important point of the article?
Why would you do such a thing? Java is designed to be portable to many platforms, making it into a Windows executable is usually a waste of time and loss of possibilities...

imo, make one exe for stupid windows users and a jar for linux users. There are a lot of cons with .jar:

  • You need JRE already installed
  • Windows users doesn't know what it is and suspects it's a virus
  • easy to see the code, just unpack it with winrar
The only pro I can see with .jar is that it's cross-platform

As you seen how I packed the archive in the image before, marshian, with the CMD command, I thought making an .exe wouldn't hurt as the app already was windows only. But now I'm going to do an exe and a jar.
 

marshian

New Member
Messages
526
Reaction score
9
Points
0
I give up.
Have fun, learn about Java some other time.

xav0989, if you want to build native applications try learning C++.
 
Top