Creating a .EXE file

Reply

Join Date: Aug 2004
Posts: 350
Reputation: Ghost is an unknown quantity at this point 
Solved Threads: 2
Ghost's Avatar
Ghost Ghost is offline Offline
Posting Whiz

Creating a .EXE file

 
0
  #1
May 15th, 2005
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++
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 348
Reputation: paradox814 is an unknown quantity at this point 
Solved Threads: 4
paradox814's Avatar
paradox814 paradox814 is offline Offline
Posting Whiz

Re: Creating a .EXE file

 
0
  #2
May 16th, 2005
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
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 348
Reputation: paradox814 is an unknown quantity at this point 
Solved Threads: 4
paradox814's Avatar
paradox814 paradox814 is offline Offline
Posting Whiz

Re: Creating a .EXE file

 
0
  #3
May 16th, 2005
you might want to consider creating a jnlp file instead
Reply With Quote Quick reply to this message  
Join Date: Jul 2003
Posts: 117
Reputation: Iron_Cross is an unknown quantity at this point 
Solved Threads: 2
Iron_Cross's Avatar
Iron_Cross Iron_Cross is offline Offline
Junior Poster

Re: Creating a .EXE file

 
0
  #4
May 16th, 2005
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.
elitehackers.info
Today's Penny-Arcade!
Pain is weakness leaving the body!
Reply With Quote Quick reply to this message  
Join Date: Aug 2004
Posts: 350
Reputation: Ghost is an unknown quantity at this point 
Solved Threads: 2
Ghost's Avatar
Ghost Ghost is offline Offline
Posting Whiz

Re: Creating a .EXE file

 
0
  #5
May 16th, 2005
paradox,

thanx! that makes sense. How exactly do u create a jnlp file?
Reply With Quote Quick reply to this message  
Join Date: Aug 2004
Posts: 350
Reputation: Ghost is an unknown quantity at this point 
Solved Threads: 2
Ghost's Avatar
Ghost Ghost is offline Offline
Posting Whiz

Re: Creating a .EXE file

 
0
  #6
May 16th, 2005
and also how 2 make it into an exe file?

Thank you again.
Reply With Quote Quick reply to this message  
Join Date: Aug 2004
Posts: 350
Reputation: Ghost is an unknown quantity at this point 
Solved Threads: 2
Ghost's Avatar
Ghost Ghost is offline Offline
Posting Whiz

Re: Creating a .EXE file

 
0
  #7
May 17th, 2005
can somebody PLEASE help?

Thanx
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,145
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 212
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: Creating a .EXE file

 
0
  #8
May 18th, 2005
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.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 1,749
Reputation: nanosani is an unknown quantity at this point 
Solved Threads: 54
Team Colleague
nanosani's Avatar
nanosani nanosani is offline Offline
Unauthenticated Liar

Re: Creating a .EXE file

 
0
  #9
May 18th, 2005
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 ....
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,145
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 212
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: Creating a .EXE file

 
0
  #10
May 18th, 2005
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.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Java Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC