Why does my old .class file keep getting regenerated in java?
Posted on 2009-07-02
I am new to JAVA and I'm having some difficulties running my program.
I created a new file called Hello.java and saved it on my desktop.
I then typed the command javac.Hello from the command prompt.
The problem i'm having is that its suppose to compile a Hello.class for me
but instead it comiles a previous file which was HelloApp.class
Does anyone know why this happens?
I've installed the jdk6 and added the path to my bin directory.