I'm trying to create a server, and everything went smoothly until I went to launch my sever window from the bat file. It gives me the message
The system cannot find the file C:\ProgramData\Oracle\Java\javapath\java.exe.
The thing is, my "ProgramData" folder is named Program Files and I cant change it or anything. I feel super dumb asking but I can't figure it out. How do I get it to find the right file?
I'm trying to create a server, and everything went smoothly until I went to launch my sever window from the bat file. It gives me the message
The system cannot find the file C:\ProgramData\Oracle\Java\javapath\java.exe.
The thing is, my "ProgramData" folder is named Program Files and I cant change it or anything. I feel super dumb asking but I can't figure it out. How do I get it to find the right file?
Check your enviroment variables
PATH contains C:\ProgramData\Oracle\Java\javapath
Change it to
C:\Program Files\Java\jdk1.8.0_261\bin
(edit it to your installed version)