Current location: Hot Scripts Forums » Programming Languages » Everything Java » How to make .exe file with JDK!


How to make .exe file with JDK!

Reply
  #1 (permalink)  
Old 01-10-04, 04:21 AM
DaniellBB DaniellBB is offline
New Member
 
Join Date: Jan 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Talking How to make .exe file with JDK!

How to make .exe file with JDK!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 01-10-04, 09:41 AM
hyjacked hyjacked is offline
Wannabe Coder
 
Join Date: Nov 2003
Location: New Brunswick, Canada
Posts: 174
Thanks: 0
Thanked 0 Times in 0 Posts
I'm not sure about a .exe file, mainly because java needs a jvm in order to run as far as I know. but I know a friend who worked on a project over the summer where he had an executable jar file, where if you double click on it, it would run the program just as an exe would.

Hope that helps.
__________________
hyjacked
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 01-11-04, 08:48 AM
rik_sherman rik_sherman is offline
New Member
 
Join Date: Jan 2004
Location: UK Manchester
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by DaniellBB
How to make .exe file with JDK!
The short answer is that you can't :-(

There is a comercial product that will do this, off the top of my head I can't remember what it's called but I do remember that the price was way out of the home users range.

I've just done some searching on Sourceforge and the best I could find was a couple of programs that could convert your java code into ANSI C which you could then use one of the free compilers (such as GCC) to create an exe.

Under windows (I believe it's by default) you can have JAR files autorun on doubleclick. I think that they need to contain a class that has the same name as the jar file and this file must contain a 'main' method.

Hope I've been of some help

Rik.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 01-11-04, 11:56 PM
esh esh is offline
Newbie Coder
 
Join Date: Sep 2003
Location: Roswell, GA
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
I have seen one commercially program for this.

$25 check it out

http://mpowers.net/executor/
__________________
noemics.net
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with my largest perl script. Grabbing data from a file. Sunnmann Perl 2 04-23-08 04:27 AM
Tar Backup of selected file extension dhiru The Lounge 0 12-26-03 07:12 AM
Please I Need help before all my hair is gone! LisatheNovice Perl 6 11-22-03 04:05 PM
Upload file type and size limiter! Arctic ASP 1 08-02-03 08:06 PM
how to get info from TXT file between %%customTags%% as vars?? paulj000 PHP 2 07-26-03 06:00 AM


All times are GMT -5. The time now is 07:26 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.