Server Hosting Issues

  • Please make sure you are posting in the correct place. Server ads go here and modpack bugs go here
  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord
S

Saigua

Guest
Hey guys, just been trying to host a server for me and a friend and its been getting problematic.
From looking around these forums and others, I think some of you may be able to help me.
When i run the server bat file an error comes up, and I'm sure its either I have to direct it to a file, or download another java file. idk but here.

Detected following JVM error:
=======================================
The system cannot find the file C:\ProgramData\Oracle\Java\javapath\java.exe.
=======================================
JVM test failed. Can't run server, Exiting...
Press any key to continue . . .

Honestly probably an easy fix but I'm too unfamiliar with these things, help would be great and appreciated :)
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
I guess java is not correctly installed. To check this open a command prompt and run java -version
If it doesn't give output similar to
Code:
openjdk version "1.8.0_72-internal"
OpenJDK Runtime Environment (build 1.8.0_72-internal-b15)
OpenJDK 64-Bit Server VM (build 25.72-b15, mixed mode)
and instead returns something among the lines of "command not found" then java is indeed not correctly installed and you should reinstall java.
Note that I am using openJDK rather then the java from oracle thus your output is probably a be bit different. If you are unsure just put the output of the command here
 
S

Saigua

Guest
I don't know how to use cmd entirely but I've reinstalled java and now it has the JVM issue, which I don't think simply reinstalling would work.

Detected following JVM error:
=======================================
Error: missing `server' JVM at `D:\Program Files (x86)\Java\bin\server\jvm.dll'.
Please install or use the JRE or JDK that contains these missing components.
=======================================
JVM test failed. Can't run server, Exiting...
Press any key to continue . . .

I've also tried downloading earlier versions of Java as some people have suggested with no luck.

Thanks for your help by the way.