Wrong Java Version Installed. However when compiling using. After updating to a new version of Java the project will begin.
It turns out this last line was setting JAVA_VERSION to 1109 which doesnt match anything in JAVA_ALLOWED_VERSION. When I run Ant it uses java 16. I have gone thru and searched the registry for both javaw and javaws removing everything that I.
Navigate to folder.
Navigate to folder. Java -version says 15. And I also have java jre 8 and jdk 8 installed too. The problem is that the java path is already set to jre 8 and when i use java -version on cmd it says that I am using java 8 but when I try to open my forge server 1144 it doesnt load and in the logfile I can see that it is trying to launch with java jdk 13.