Java version
-
I’m trying to set up notepad++ for java coding. I tried to test a hello world program but it wont run because my java compiler version is 11 but my java run time environment version is 10.
info:javac -version
javac -version
Process started (PID=11212) >>>
javac 11
<<< Process finished (PID=11212). (Exit code 0)
================ READY ================
java -version
java -version
Process started (PID=3816) >>>
java version “10.0.2” 2018-07-17
Java™ SE Runtime Environment 18.3 (build 10.0.2+13)
Java HotSpot™ 64-Bit Server VM 18.3 (build 10.0.2+13, mixed mode)
<<< Process finished (PID=3816). (Exit code 0)
================ READY ================So how do I change the java runtime environment version? I downloaded the most recent java se version off of oracle but I dont know what to do next. I still have the error. I tried to follow a video that said to rename the java.exe in system32 but i dont have a java.exe in that folder.
-
See here.