Problem Executable .jar folder wont open?

  • 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

KannySgrubGaming

New Member
Jul 29, 2019
3
0
0
I downloaded both client and server, for server I unzipped the file and moved the files to another new folder, I then went in the new folder and tried to open the executable jar folder and it just wouldn't open? I haven't had issues running executable jar folders before so am I missing a step or could it be messed up?
 

Linkero

New Member
Jul 29, 2019
74
0
0
If I'm not mistaken, depending on operating system, you'll have to run the .bat/.sh files named ServerInstall and then ServerStart. The install file will grab the required libraries which the server needs to start, while the start file will properly start the server. Try that out and see what happens.
 

KannySgrubGaming

New Member
Jul 29, 2019
3
0
0
when your suppose to click the executable jar file which one do I click, this is after ive put in my ip and everything in the properties, one says minecraft_server.1.7.10 and the other says FTBserver-1.7.10-1291 onw of them is suppose to pull up the white minecraft server window with stats, log chat and players
 

Linkero

New Member
Jul 29, 2019
74
0
0
FtbServer is the one that will be loaded. See my above post. ServerStart.bat(on windows) will load the jar for you. Edit the file with notepad and find at the bottom "nogui" and remove it so you can see those windows!
 

KannySgrubGaming

New Member
Jul 29, 2019
3
0
0
this is everything that was in my serverstart.bat file I deleted the no gui but im not sure what the rest of it means.

if NOT "%FTB_VERBOSE%"=="yes" (
@Echo off
)

if NOT EXIST minecraft_server.1.7.10.jar (
echo running install script!
call FTBInstall.bat
)

REM Check if java in path
where java > NUL 2>&1

if %ERRORLEVEL% NEQ 0 (
echo No java binary in path. Can't run server, exiting...
pause
exit /B
)

REM Test JVM
REM e.g. 32-bit JVM does not have server\jvm.dll library
java -server -version > java-test.log 2>&1

if %ERRORLEVEL% NEQ 0 (
echo Detected following JVM error:
echo =======================================
cat java-test.log
echo =======================================
echo JVM test failed. Can't run server, Exiting...
pause
exit /B
)

if not exist eula.txt (
echo Missing eula.txt. Startup will fail and eula.txt will be created
echo Make sure to read eula.txt before playing!
goto startserver
)

find "eula=false" eula.txt 1 > NUL 2>&1
if %ERRORLEVEL% EQU 0 (
echo Make sure to read eula.txt before playing! Exiting.
pause
exit /B
)

:startserver
java -server -Xms2048m -Xmx3072m -XX:permSize=256m -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -jar FTBServer-1.7.10-1291.jar
echo Server process finished
pause
 

Linkero

New Member
Jul 29, 2019
74
0
0
All that is doing is making sure all the files are there to start the server, make sure you agreed to EULA and starts the server. It all checks out so no need to worry, it is by ftb after all lol. You've removed nogui, now run the file! :)