|
-
February 28th, 2000, 08:19 AM
#1
How to run .class file in windows environment.
Hi friends,
I have created a application.I want to run that in the windows environment without opening the MSDOS prompt.I want a Icon and on clicking that i want the application to run.Some told me to create a batch file and run it.I tried it but i didn't get the required result.Can someone please help me?Give the correct steps and details of what should be in the batch file.
waiting for reply
-
February 28th, 2000, 09:14 PM
#2
Re: How to run .class file in windows environment.
Assuming you have java in the directory c:\jdk1.2.2 and a class file named myprogram.class, use the following in the batch file:
c:\jdk1.2.2\bin\java myprogram.class
This batch file has to be in the same directory as the class file.
-------------------------------------------
T. Sean Ryan
http://rastos0.kjm.htmlplanet.com
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|