Server bat File

  • 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
Status
Not open for further replies.

Yijare

New Member
Jul 29, 2019
152
0
1
Hi there, evn i try to launch teh Server per .bat it simply does nothing.

Starting it per doubleclick does it, but why wouldn't it start the server with the bat file?

has it to be on C:\ ?
 

TheChristensen

New Member
Jul 29, 2019
30
0
0
Are you using windows, linux, or mac os? If you are using windows, there is no need to put it in any special spot, the desktop would work just fine. If nothing happens when you click on the .bat (assuming you're using windows), then try right-clicking, then " open with" and select command prompt.
 

Yijare

New Member
Jul 29, 2019
152
0
1
I'm on windows, on linux i would execute the sh

anyways "open with..." does not exist in the right-click-menu
 

TheChristensen

New Member
Jul 29, 2019
30
0
0
You are right clicking the file, right? You could instead just open up command prompt, than drag the file into the window and hit enter.
 

Jugg3rV

New Member
Jul 29, 2019
213
0
0
open up a texteditor - drag and drop the file into the texteditor - poste contends - post where you placed the server software
 

DeathOfTime

New Member
Jul 29, 2019
823
0
1
server is installed on D:\ftb\server the bat lies within it.
right click the bat and select edit......type pause on a new line in the document and save and run it. This will let you see if the bat file is throwing an error....

should look like this when done:
Code:
java -Xms1024M -Xmx2048M -jar ftbserver.jar
pause
 

Skullywag

New Member
Jul 29, 2019
217
0
0
also make sure ftbserver.jar is in the same folder as the bat file. Other than that as stated above is you RAM over 2GB as youve stated you want it to use 1-2GB so youll need at least 1GB not allocated to anything else.
 

Yijare

New Member
Jul 29, 2019
152
0
1
i7-3930k
32Gigs of RAM
Java 7 x64

there should be plenty RAM and processing power be there
 

Eyamaz

New Member
Jul 29, 2019
2,373
0
0
Wow.

Make sure you have java7u21 installed and all other versions uninstall. If you have a 32 bit version as well as a 64 bit version it defaults to calling the 32 bit.

Sent from my HTC One X+ using Tapatalk 2
 

Yijare

New Member
Jul 29, 2019
152
0
1
i updated like yesterday and only have the x64 bit version of java, so i'm a bit frustrated about this.
 

Eyamaz

New Member
Jul 29, 2019
2,373
0
0
Post new logs to pastbin and link please.

Sent from my HTC One X+ using Tapatalk 2
 
Status
Not open for further replies.