Ran the program below - Javac hello
I got the following error message -
C:\Program Files\Java\jdk1.6.0_14\bin>javac hello
error: Class names, 'hello', are only accepted if annotation processing is
explicitly requested
1 error
What does that mean?
Also it didn't create any Hello.class file in the directory.
Program listed below.
public class Hello {
/**
* My first Java program
*/
public static void main( String[] args ){
// Print the string "Hello world" on screen
System.out.println("Hello world");
}
}
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---