943,515 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 8092
  • Java RSS
You are currently viewing page 1 of this multi-page discussion thread
Dec 31st, 2007
0

How to create .exe file of the java program you create?

Expand Post »
This sounds absurd to some developers here cause you'll say just create jar file and distributre to usr but sometimes there is not possiblity of having runtime environment in windows computers.So if we can bundle the enviroment and the setup together then packing into exe and then distribute like most of commercial java application sounds better.But the problem is how to do that?

Ok creating exe will increase the size but that doesn't matter,if there is any freeware tool to accomplish just that?
Similar Threads
Reputation Points: 9
Solved Threads: 0
Junior Poster in Training
arunpawar is offline Offline
54 posts
since Dec 2007
Dec 31st, 2007
1

Re: How to create .exe file of the java program you create?

Read this, it holds some interesting info
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 871
Code tags enforcer
peter_budo is offline Offline
6,653 posts
since Dec 2004
Dec 31st, 2007
0

Re: How to create .exe file of the java program you create?

Thnaks but this site says i can't i should'nt.and it is redirecting me to some commercial apps.

Then how mozilla creates it for firefox? EXE including the JRE? or tmozilla writes it in native for each platform.
Last edited by arunpawar; Dec 31st, 2007 at 11:24 am.
Reputation Points: 9
Solved Threads: 0
Junior Poster in Training
arunpawar is offline Offline
54 posts
since Dec 2007
Dec 31st, 2007
0

Re: How to create .exe file of the java program you create?

If you read more then first 5 lines you will find out more
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 871
Code tags enforcer
peter_budo is offline Offline
6,653 posts
since Dec 2004
Dec 31st, 2007
0

Re: How to create .exe file of the java program you create?

Use something like IzPack (http://izpack.org/) to create an installer can install the JRE if necessary.

There is just NO valid reason to think you absolutely have to create an exe for a Java app. You are much better off with an executable jar file.
Moderator
Featured Poster
Reputation Points: 3239
Solved Threads: 838
Posting Genius
Ezzaral is offline Offline
6,756 posts
since May 2007
Jan 3rd, 2008
0

Re: How to create .exe file of the java program you create?

Executable Jar file can be good but what if want to bundle jar file and runtime environment together.Also Want to check if there is any JRE available before installing it.
Reputation Points: 9
Solved Threads: 0
Junior Poster in Training
arunpawar is offline Offline
54 posts
since Dec 2007
Jan 3rd, 2008
0

Re: How to create .exe file of the java program you create?

Click to Expand / Collapse  Quote originally posted by arunpawar ...
Executable Jar file can be good but what if want to bundle jar file and runtime environment together.Also Want to check if there is any JRE available before installing it.
Is this a question or statement?
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 871
Code tags enforcer
peter_budo is offline Offline
6,653 posts
since Dec 2004
Jan 3rd, 2008
0

Re: How to create .exe file of the java program you create?

Once again, you are not reading the articles completely.
Moderator
Reputation Points: 1471
Solved Threads: 490
Industrious Poster
masijade is offline Offline
4,043 posts
since Feb 2006
Jan 3rd, 2008
0

Re: How to create .exe file of the java program you create?

And I already told you to use IzPack or something like it if you need to create an installer - which will do exactly what you are asking for.
Moderator
Featured Poster
Reputation Points: 3239
Solved Threads: 838
Posting Genius
Ezzaral is offline Offline
6,756 posts
since May 2007
Jan 5th, 2008
-1

Re: How to create .exe file of the java program you create?

You guys are not going ahead of that post above.You think there is no way to deal with it.

I have seen many commercial application that use exe for their product.So how to do that?
No matter is recommended or somehting.There is alwasy another way.
Reputation Points: 9
Solved Threads: 0
Junior Poster in Training
arunpawar is offline Offline
54 posts
since Dec 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: how can i solve error
Next Thread in Java Forum Timeline: moving objects at the same time?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC