This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes how to create link in cmd prompt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "how to create link in cmd prompt" Watch "how to create link in cmd prompt" New topic
Author

how to create link in cmd prompt

Senthil Kumaran
Ranch Hand

Joined: Aug 24, 2008
Posts: 32
anybody please tell me how to create link in the command prompt after installing sdk & jre,
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9303
    
  17

what do you mean by link?? Are you not able to run javac and java commands?? If yes then you need to put the bin folder of your JDK installation in the PATH environment variable...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Bert Bates
author
Sheriff

Joined: Oct 14, 2002
Posts: 8815
    
    5
let's shift this over to the beginner's forum


Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39044
    
  23
Bert Bates wrote:let's shift this over to the beginner's forum
Good idea.

I presume you have been through the Java Tutorials? Look at that section, particularly the "common problems" link. You might not have set your PATH; there is a link in "common problems" to setting your PATH; you ought to set your PATH "permanently."

You ought also to create a convenient folder or directory to keep your Java work in, and you ought not to set up your CLASSPATH at this stage.
 
GeeCON Prague 2014
 
subject: how to create link in cmd prompt