Server.bat 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

chippa

New Member
Jul 29, 2019
5
0
0
  • What OS are you running? Windows 7 64 bit
  • Are you using minecraft hosting provider or a dedicated/local server not designed for minecraft? minecraft hosting I think (just the server launcher that you download from the site)
  • What version of FTB are you using? (Dont just say latest tell us the version) FTB Beta-A
  • Did you add any mods to the server pack? no
  • What are your server specs? java -Xms512M -Xmx1G -jar FTB-Beta-A.jar
  • A good detailed paragraph about the problem
When I double click the .bat file it opens and instantly cra shes now when I open it on my desktop with the exact same everything except my desktop is 32 bit not 64 it opens and works just like every other server I have set up. I have never seen this happen so I am not sure how to fix it. Any help will be greatly appreciated. Thanks to anyone in advance.
 

Greedseed

New Member
Jul 29, 2019
1,107
0
0
try a different .bat launch code. Seen more issues with e provided code on windows platform

Code:
@ECHO OFF
SET BINDIR=%~dp0
CD /D "%BINDIR%"
"%ProgramFiles(x86)%\Java\jre7\bin\java.exe" -Xmx1024M -Xms1024M -jar FTB-Beta-A.jar
PAUSE
 

Kynan

New Member
Jul 29, 2019
2
0
0
I did that but then it says "Error: Unable too access jarfile FTB-Beta-A.jar" then it says press any key
 

Greedseed

New Member
Jul 29, 2019
1,107
0
0
How is your .jar file called, it needs to have the name you specify, also if you use Linux, make sure your user has execute permissions
 

Kynan

New Member
Jul 29, 2019
2
0
0
I put in the code you said but what do I need to call "FTB_Beta_A.jar" so that it'll work? ( Is it something in the launcher or server, or is it the whole launcher or Server )