I am trying to use notepad++ as my all-in-one tool edit, run, compile etc.
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:
I think the problem here is about versions, some version of java may be old or too new.
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?
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:
Code:
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?