I have jre installed, i have setup my path variable to .../bin directory.
When I run my "Hello world" in notepad++ , I get this message:
Expand|Select|Wrap|Line Numbers
- java.lang.UnsupportedClassVersionError: test_hello_world :
- Unsupported major.minor version 51.0
- at java.lang.ClassLoader.defineClass1(Native Method)
- at java.lang.ClassLoader.defineClassCond(Unknown Source)
- .........................................
how do i fix it?
should i install jdk , and setup my path variable to JDK instead of jre?
difference between PATH variable in jre or jdk?