I'm attempting to utilize Notepad++ as my across the board instrument to alter, run, compile, and so forth
I have JRE installed, and I have setup my path variable to the
.../bin
directory.
At the point when I run my "Hello world" in Notepad++, I get this message:
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; a few versions of Java might be old or excessively new.
How would I fix it?
Would it be installed for me to set up the JDK, and arrange my way variable to the JDK rather than JRE?
What is the distinction between the
PATH
variable in JRE or JDK?