Go Back   CodingForums.com > :: Server side development > Java and JSP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-29-2004, 01:59 PM   PM User | #1
JPM
Regular Coder

 
Join Date: Mar 2004
Location: Norway
Posts: 204
Thanks: 0
Thanked 0 Times in 0 Posts
JPM is an unknown quantity at this point
Java exe files

Does anyone know of a program that can turn .class files into .exe files?
__________________
<JPM />
JPM is offline   Reply With Quote
Old 11-29-2004, 02:27 PM   PM User | #2
shmoove
Regular Coder

 
Join Date: Dec 2003
Posts: 367
Thanks: 0
Thanked 0 Times in 0 Posts
shmoove is an unknown quantity at this point
There are a few options:
http://www.excelsior-usa.com/jet.html
http://www.duckware.com/jexepack/index.html
http://www.ej-technologies.com/produ.../overview.html

But there are better options IMO, like making a double-clickable jar, or using WebStart.

shmoove
shmoove is offline   Reply With Quote
Old 11-30-2004, 02:06 AM   PM User | #3
Spookster
Supreme Overlord


 
Spookster's Avatar
 
Join Date: May 2002
Location: Marion, IA USA
Posts: 6,220
Thanks: 4
Thanked 80 Times in 79 Posts
Spookster will become famous soon enough
Quote:
Originally Posted by shmoove
But there are better options IMO, like making a double-clickable jar, or using WebStart.

shmoove
In my college programming courses I found that to be the simplest way of doing it. The jar file acts just like an executable and it was relatively simple to set up.
__________________
Spookster
CodingForums Supreme Overlord
All Hail Spookster
Who gave you that Ugging infraction? Yeah that's right it was me!
Spookster is offline   Reply With Quote
Old 11-30-2004, 01:24 PM   PM User | #4
rynox
New Coder

 
Join Date: Aug 2002
Posts: 73
Thanks: 0
Thanked 0 Times in 0 Posts
rynox is an unknown quantity at this point
This is what I usually do.

I create a folder, in it I put the /jre folder and create a /bc folder. Then I put my class files in /bc. Then I create an exe using:

http://www.autoitscript.com/autoit3/

In the script I can run the class file using the following command:
Run('jre\bin\java.exe -cp bc; MyClassName', '.')

AutoIt will allow you to embed an icon in the file, too.
rynox is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:13 PM.


Advertisement
Log in to turn off these ads.