Hi,
I'm just getting started with Java. I'm trying to run a "Hello" program. The code is:
class Hello {
public static void main(String[] args) {
System.out.println("Hello World!") ;
}
}
It compiles OK but when I run it with "java Hello", I get the following error-
Exception in thread "main" java.lang.UnsupportedClassVersionError: Hello <Unsupported major.minor version 49.0> at java.lang.ClassLoader.defineClass0<Native Method>
etc .....
Did I miss something in my java setup?
Thanks,
Mike