944,042 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 2170
  • Java RSS
Apr 15th, 2005
0

Java Executable?

Expand Post »
Here's a quick, stupid question... is it possible to make an executable file for Java Application? and if so, how?
Similar Threads
Reputation Points: 18
Solved Threads: 4
Junior Poster
stupidenator is offline Offline
192 posts
since Mar 2005
Apr 15th, 2005
0

Re: Java Executable?

You can make executable JAR files, but I've always had trouble.
Reputation Points: 113
Solved Threads: 19
Postaholic
server_crash is offline Offline
2,108 posts
since Jun 2004
Apr 16th, 2005
0

Re: Java Executable?

ya I've made executable JAR Files before... I was hoping that there was a way to make .exe files too... But I don't think there is because I can't find anything on it.
Reputation Points: 18
Solved Threads: 4
Junior Poster
stupidenator is offline Offline
192 posts
since Mar 2005
Apr 16th, 2005
0

Re: Java Executable?

There are tools that can create an exe-wrapper for a Java application.
Never used them, most are quite expensive I believe, and why would you want to in the first place?

Read up on something like JavaWebstart instead, it might be what you really want.
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004
Apr 16th, 2005
0

Re: Java Executable?

Thanks! JWenting
Reputation Points: 18
Solved Threads: 4
Junior Poster
stupidenator is offline Offline
192 posts
since Mar 2005
Apr 16th, 2005
0

Re: Java Executable?

the only think i can think of is going one step further on a jar and creating a JNLP file (I believe only 5.0 supports this so far). But otherwise the only free java --> exe converters that I know of are actually java --> c++ converters, but I have absolutely no clue if they are any good.

But going back to jnlp, here is an example, just click the link
http://java.brangle.com/tutorials/ja...LayoutEx2.jnlp
source for above file
the one draw back to JNLP is that it is run with the same security settings as an applet so it has it's little sandbox
Reputation Points: 13
Solved Threads: 4
Posting Whiz
paradox814 is offline Offline
351 posts
since Oct 2004
Apr 17th, 2005
0

Re: Java Executable?

JNLP is JavaWebstart and has been available since 1.4.0 at least.
But what's wrong with 5.0? I'd advise everyone who has no overriding reason to stay with older versions to use it.
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004

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: Index array & sort algorithm???
Next Thread in Java Forum Timeline: Accessing Images in JAR file





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


Follow us on Twitter


© 2011 DaniWeb® LLC