Completely new to Java problem
Hey I am a complete beginner to the wonderful world of java and I have a problem. We are writing the following in notepad:
// Welcome.java: this program prints
// a welcome message
public class Welcome
public static void main(String args)
System.out.println("Welcome to Java");
and we are opening it using command prompt. The instructions are to save the file as Welcome.java as all files in the Java folder in the C:. We are then instructed to type H:. When I type this i get the message 'The system cannot find the drive specified.' I instead tried to type 'C:' and this was ok until i came to the next instruction where we are instructed to type 'cd Java'. I get the same error message that 'The system cannot find the drive specified.'
There are a few more instructions after this. I was able to these commands no bother last week in the practical on the computers in the college. I bought a laptop yesterday and the instructers installed java for me on it. I tried to do this exercise on my laptop earlier and cannot figure out what I am doing wrong.
I apologise for my amature ways but I would appreciate your help. Thanks