So after a few years, I've decided to get back into programming. I flipped open my book and ran the easiest thing I could find:
When I search for the file though (Hello.class) and try to run it, I get the following error message pop up:
The Java class file "Hello.class" could not be launched.
Check the Console for possible error messages.
Any idea what I'm missing here?
Code:
public class Hello
{
public static void main(String[] args)
{
System.out.println("Hello World!");
}
}
The Java class file "Hello.class" could not be launched.
Check the Console for possible error messages.
Any idea what I'm missing here?
Last edited by a moderator: