Pease help!!

  • 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

RamboKakemann

New Member
Jul 29, 2019
4
0
0
i just downloaded ftb retro smp 1.2.5 server, but when i place all in the folder i wanna have it, nad then press the start file it says:

java is not recognized as an internal or external command.

if anyone know how ti fix this ill be so thankful :)
 

Henry Link

Forum Addict
Dec 23, 2012
2,601
553
153
USA - East Coast
I would need to have more details but it sounds like java isn't in your path. What type of machine are your running the server on? 32 bit or 64? Also what version of java are you running?
 

RamboKakemann

New Member
Jul 29, 2019
4
0
0
im running 64bit. and java 7[DOUBLEPOST=1386172713][/DOUBLEPOST]this is the error in the .Bat file

java is not recognized as an internal or external command, operable program or batch file.
press any key to continue ...
 

Henry Link

Forum Addict
Dec 23, 2012
2,601
553
153
USA - East Coast
OK, sounds like you need to edit your .bat file to point to where java is located at. First locate where the java.exe is. Should be in C:\Program Files\Java\jdk1.7.0_45\bin. Next edit the batch file and put the path to java in. Should look something similar to: "C:\Program Files\Java\jdk1.7.0_45\bin\java" -Xms512M -Xmx1G -XX:permSize=128m -jar ftbserver.jar
 
  • Like
Reactions: RamboKakemann

Connor Gavitt

New Member
Jul 29, 2019
1,091
-1
0
You may have several versions of java installed, hence specifying the directory got it to work from what I see.