| Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free! |
Running Java Application from short
|
Original Message
|
Name: team434
Date: May 4, 2003 at 12:59:37 Pacific
Subject: Running Java Application from short OS: XP CPU/Ram: 256
|
Comment: I am a starter to JAVA.. I have created a Java Application.. When i want to run the application i have to go to the jdk command prompt and type in java >.... I have heard that you can get your application to run from something like a shortcut icon.. Does anyone know about automatically staring your JAVA application.. All help much appreciated. (",)
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: SN
Date: May 4, 2003 at 18:32:31 Pacific
|
Reply: (edit)Assuming you have environment variables set properly, you can make a batch file whose contents are java MyProgram and run it. Good luck, -SN
Report Offensive Follow Up For Removal
|
|
Response Number 2
|
Name: srikanth
Date: May 6, 2003 at 03:35:53 Pacific
|
Reply: (edit)U need to set your path variable in autoexec.bat.Assuming your java program is in c:/jdk1.x/ add the following lines in ur c:\autoexec.bat set path=c:\jdk1.3\bin;c:\jdk1.3\lib; If u run ur autoexec.bat then u can run ur javac and java commands from anywhere. All the best
Report Offensive Follow Up For Removal
|

Post Locked
This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
Go to Programming Forum Home