Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > J2EE
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 15th, 2004, 06:02 PM
Registered User
 
Join Date: Apr 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to creating an exe file ?

hi,
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.

thanks


 
Old May 13th, 2004, 12:04 PM
Registered User
 
Join Date: May 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello,

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.

Cheer

 
Old May 20th, 2004, 05:46 AM
Registered User
 
Join Date: May 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ferozklm Send a message via Yahoo to ferozklm
Default

hello,
            I can understand what u r nedded.
Three ways for that
first
make a batch file to run the clas file
second
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
edit
java-Main Class as ur class containing main function,after the line make an entr then save the manifest file







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 09: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 03:48 AM
creating stand alone exe mr_bharathi General .NET 3 November 30th, 2004 08:35 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.