I am seeking to use Notepad++ as my all-in-one tool edit, run, compile, etc.
I have JRE installed, and I have established my path variable to the .../bin directory.
When I try to run my "Hello world" in Notepad++, I get this output:
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)
I think the issue here is about versions; some versions of Java may be old or too fresh.
How do I solve it?
Should I install the JDK, and set up my path variable to the JDK alternatively of JRE?
Can someone tell me the difference between the PATH variable in JRE or JDK?