Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > J2EE
Password Reminder
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
J2EE General J2EE (Java 2 Enterprise Edition) discussions. Questions not specific to EE will be redirected elsewhere.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the J2EE section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Display Modes
  #1 (permalink)  
Old April 15th, 2004, 06:02 PM
Registered User
Join Date: Apr 2004
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to creating an exe file ?

i've written a java application and have compiled the .java file and have run the .class file successful. i need to get the programme in form that can be installed on another system to work just like any desktop application. i need some help in creating the .exe file so it can be executable on any system.


Reply With Quote
  #2 (permalink)  
Old May 13th, 2004, 12:04 PM
Registered User
Join Date: May 2004
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts


What do you mean by executable ?
.exe extension is only for windows.
There is no way you can do one binary file which runs on any system.


Reply With Quote
  #3 (permalink)  
Old May 20th, 2004, 05:46 AM
Registered User
Join Date: May 2004
Location: kollam, kerala, India.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ferozklm Send a message via Yahoo to ferozklm

            I can understand what u r nedded.
Three ways for that
make a batch file to run the clas file
copy javaw to ur apllication directory,
make a shortcut to desktop for javaw,
then right ckick on shortcut edit its target to the intended class file
third the best way
make an executable jar file using jar cvf
make sure that in manifest file
java-Main Class as ur class containing main function,after the line make an entr then save the manifest file

Reply With Quote

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 Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
creating EXE in java satyabrata_majumder Java GUI 4 August 28th, 2013 06:44 AM
Creating stadalone access .exe file wall_of_jericho Access 17 February 28th, 2011 08:39 AM
problem creating .exe from MFC AppWizard(exe) c++ method Visual C++ 0 July 7th, 2006 03:28 AM
problem n creating exe file dawngeorge VBScript 0 December 4th, 2004 02:48 AM
creating stand alone exe mr_bharathi General .NET 3 November 30th, 2004 07:35 AM

All times are GMT -4. The time now is 04:31 AM.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.