Author
java executable (Read 425 times)
No Image
Post: 8
java executable
on: Monday 09 February, 2009, 12:19:28 PM

hey i am having problems in making an executable file for the application i have made in java.. plz help asap..

No Image
Post: 46
Re: java executable
on: Tuesday 10 February, 2009, 06:11:14 AM

For java executable file, you have to make jar file.

[u][b]Steps to Create jar File[/b][/u]
[list]
[li]Compile your java program files(s) using the command:
[i]javac *.java[/i][/li]
[li]Create a manifest file using the command(A manifest is a one-line text file with a "Main-Class" directive):
[i]echo Main-Class: MainClassName>manifest.txt[/i][/li]
[li]Create a jar file using the command:
[i]jar cvfm AnyName.jar manifest.txt *.class[/i][/li]
[/list]

No Image
Post: 4
Re: java executable
on: Tuesday 03 March, 2009, 08:18:06 AM

you can download jexe creater (free) and make exe files
..

No Image
Post: 46
Re: java executable
on: Tuesday 03 March, 2009, 10:14:15 AM

[quote author=vikky link=topic=17.msg50#msg50 date=1236089886]
"you can download jexe creater (free) and make exe files.."[/quote]

First of all its not free(30-day trial). And it requires jre but its a good option.

If anybody wants JEXE Creator, you can download it from [url=http://www.ucware.com/jexec/download.htm]http://www.ucware.com/jexec/download.htm[/url]