Hello
Im completely new to
Java but I have experience with other programing and command entry. I followed some instructions to install the JDK and create the basic HelloWorld compiled program.
On my Vista system, I added a path extension to the system environmental variables (C:\Program Files\Java\jdk1.8.0\bin). I created my HelloWorld.java source as below, and used the javac <filename> command to compile it.
This completed without complaint when I entered the javac command whilst in th C:/ directory, and entered the full path to the source.
However Java didn't create a HelloWorld.class file. What did I do wrong or overlook ? Here is the source file, created from the instructions provided:
public class HelloWorld {
public static void main(
String[] args) {
System.out.println("Hello World.");
}
}
Any help would be appreciated.