8/31/2013

How To Create A Desktop Shortcut For Command Prompt To Run Java Programs On Windows 7

How To Create A Desktop Shortcut For Command Prompt To Run Java Programs On Windows 7

Head First Java 2nd Edition Book Kindle And Paperback If you're new to Java and want to add a desktop shortcut for Command Prompt on your Windows 7 machine then you've come to the right place. In this simple tutorial I will walk you through how to do that, so let's get started!

The Tutorial:

First:

Click Start
Click Computer
Click C: drive (or the drive you install your programs on)
Click Program Files (86x)
Click the Java folder
Click the Bin folder
Bring your mouse to the top and click to the right of the word bin on the information bar which will show you the location of the folder (view image above as reference)
Highlight the folder location and copy it using Ctrl C (you will need this for the next step)

Second:

Right - Click an empty area of your Windows home screen and select New, Shortcut
Where it says Type the location of this item enter cmd
Click Next
Click Finish
Right - Click the shortcut you just created and select Properties
In the Start In box replace the contents with the folder location you copied in section one, paste it by hitting Ctrl VClick Apply and OK

Now you have a command prompt box shortcut that links directly to the bin folder where you can save and run your Java files from!

Need to set up the path environment variable to run Java programs? View the tutorial by clicking here!

No comments:

Post a Comment


Copyright © justinwoodie.com ©