944,144 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 14318
  • Java RSS
You are currently viewing page 1 of this multi-page discussion thread
May 15th, 2005
0

Creating a .EXE file

Expand Post »
Hi everybody,

I followed the Invaders tutorial and I'm trying to make it into an exe file. I have JBuilder 9 and I tried the "Native Executable" tool and it just opens up the program and closes it. Any help would be appreciated.

Thanks in advanced,
C++
Similar Threads
Reputation Points: 12
Solved Threads: 2
Posting Whiz
Ghost is offline Offline
352 posts
since Aug 2004
May 16th, 2005
0

Re: Creating a .EXE file

java was not designed to natively run on any operating system, so any thing like your jbuilder is completly independent of sun java. As far as i know many java to exe compilers are actually convert java to c++ then compile that, which might be why it doesn't work
Reputation Points: 13
Solved Threads: 4
Posting Whiz
paradox814 is offline Offline
351 posts
since Oct 2004
May 16th, 2005
0

Re: Creating a .EXE file

you might want to consider creating a jnlp file instead
Reputation Points: 13
Solved Threads: 4
Posting Whiz
paradox814 is offline Offline
351 posts
since Oct 2004
May 16th, 2005
0

Re: Creating a .EXE file

What is the code you're running. I think I might know what your problem is, but I have to see the code you're using to confirm my suspissions.
Reputation Points: 46
Solved Threads: 2
Junior Poster
Iron_Cross is offline Offline
117 posts
since Jul 2003
May 16th, 2005
0

Re: Creating a .EXE file

paradox,

thanx! that makes sense. How exactly do u create a jnlp file?
Reputation Points: 12
Solved Threads: 2
Posting Whiz
Ghost is offline Offline
352 posts
since Aug 2004
May 16th, 2005
0

Re: Creating a .EXE file

and also how 2 make it into an exe file?

Thank you again.
Reputation Points: 12
Solved Threads: 2
Posting Whiz
Ghost is offline Offline
352 posts
since Aug 2004
May 17th, 2005
0

Re: Creating a .EXE file

can somebody PLEASE help?

Thanx
Reputation Points: 12
Solved Threads: 2
Posting Whiz
Ghost is offline Offline
352 posts
since Aug 2004
May 18th, 2005
0

Re: Creating a .EXE file

There's a lot of information on JavaWebstart, read it.

And if you'd read other replies you'd know by now that you do NOT make exes out of Java classfiles.
There are some expensive tools out there that can do it, which a search engine should turn up, but that completely defeats the purpose of the language.
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004
May 18th, 2005
0

Re: Creating a .EXE file

Quote originally posted by C++ ...
Hi everybody,

I followed the Invaders tutorial and I'm trying to make it into an exe file. I have JBuilder 9 and I tried the "Native Executable" tool and it just opens up the program and closes it. Any help would be appreciated.

Thanks in advanced,
C++
What program are you trying to turn into an exe ... is it a GUI based program or a command line program ?? if its a GUI program then there's an option in JBuilder about making a GUI exe ... and if its a command line program then you'll have to take care that you input some random thing at the end of the program so that it may show up until you press that key ....
Team Colleague
Reputation Points: 45
Solved Threads: 56
Unauthenticated Liar
nanosani is offline Offline
1,767 posts
since Jul 2004
May 18th, 2005
0

Re: Creating a .EXE file

The native exe option is just an exewrapper to facilitate easier starting of the application.
It still needs an installed JVM on the target machine.
Effectively it's little more than a glorified batchfile
This is the normal way for Java.
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: A note of thanks to Daniweb
Next Thread in Java Forum Timeline: Alternative to PrintWriter





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


Follow us on Twitter


© 2011 DaniWeb® LLC