Forum     

Go Back   Digit Technology Discussion Forum > Portables, Peripherals and Electronics > QnA (read only)
Register FAQ Calendar Mark Forums Read

QnA (read only) Mods please help transfer the contents of this forum to proper sections. :)


 
 
LinkBack Thread Tools Search this Thread Display Modes
Old 28-09-2005, 08:44 PM   #1 (permalink)
Apprentice
 
Join Date: Sep 2005
Posts: 60
Default .java/.class to .exe conversion


Hi,
i want to know if this conversion is possible?
or is there any other way to make a executable application in java?

btw does any know what a .jar file is?

ciao.
ApoCalypse is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 28-09-2005, 10:25 PM   #2 (permalink)
Human Spambot
 
Join Date: Nov 2004
Location: Madurai
Posts: 2,349
Default

Jar is Java Archive. It is basically similar to a zip file in that it is used to contain all the necessary classes and other files needed for a project...

In order to create an executable, create jar file for ur project, then create a .bat file with command to run the jar file (java -jar jarfile).

Hope this helps.
Arun
sakumar79 is offline  
Old 28-09-2005, 10:53 PM   #3 (permalink)
Apprentice
 
Join Date: Sep 2005
Posts: 60
Default

hey!
can this .bat file be created in notepad?

and if i double click this .bat file will it run the program or do i need to run it in the dos prompt?
__________________
Before you criticize someone you must walk a mile in their shoes...that way when you criticize them you\'re a mile away and you have a new pair of shoes!! :)
ApoCalypse is offline  
Old 28-09-2005, 11:39 PM   #4 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default

there r a few trial softwares too for this, jus google em as "java to exe"
__________________
Harsh J
www.harshj.com
QwertyManiac is offline  
Old 28-09-2005, 11:52 PM   #5 (permalink)
Human Spambot
 
Join Date: Nov 2004
Location: Madurai
Posts: 2,349
Default

yes, .bat files are simple text files in which u can enter dos style commands one line after another. So, u can use notepad to create the bat file. Also, when u double click on it, it will run all the commands one after the other....

FYI, the 'bat' is short form for batch - the file is a batch-execution type...

Arun
sakumar79 is offline  
Old 29-09-2005, 04:54 PM   #6 (permalink)
In The Zone
 
ramprasad's Avatar
 
Join Date: May 2004
Location: 00-1D-7D-5A-34-2E
Posts: 375
Default

Hi,

To convert JAR to EXE,

Try this http://mpowers.net/executor/ExecutorDemo.zip

Regards,
Ramprasad
ramprasad is offline  
Old 29-09-2005, 06:57 PM   #7 (permalink)
Apprentice
 
Join Date: Sep 2005
Posts: 60
Default

THANKS GUYS!
the batch file idea was great!! it worked!
thank you!
__________________
Before you criticize someone you must walk a mile in their shoes...that way when you criticize them you\'re a mile away and you have a new pair of shoes!! :)
ApoCalypse is offline  
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Who
- by bhaskar
- by soumya
- by clinton
- by Sujeet

Advertisement




All times are GMT +5.5. The time now is 11:34 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2