Jump to content

Recommended Posts

Posted

Hello,

I am trying to get an attack of the b team server up, but every time I click the "launch" file it comes up with the cmd prompt then crashes. Could someone please tell me how to fix this? Please and thank you.

Posted

I'm not getting a crashlog. I click the "launch" batch file and the command prompt comes up and says press any key to continue, so I do, then closes immediately after.

  • Moderators
Posted

Does your computer have Java installed? Launch.bat cannot find the java executable. If you do not, install the 64 bit version. 

Posted

Does your computer have Java installed? Launch.bat cannot find the java executable. If you do not, install the 64 bit version. 

I have it installed. I'm not an idiot man.

  • Moderators
Posted (edited)

Sorry, had to ask. You never know. 

Try putting the full path to java.exe in your launch.bat

Mine is C:\Program Files\Java\jre1.8.0_40\bin\java.exe, depending upon your OS and Java version, it may be different. 

Edited by AetherPirate
Posted (edited)

Sorry, had to ask. You never know. 

Try putting the full path to java.exe in your launch.bat

Mine is C:\Program Files\Java\jre1.8.0_40\bin\java.exe, depending upon your OS and Java version, it may be different. 

Where would I put the path? And should I delete everything in the file? What's in the picture is what came preloaded with the server files.

 

fa6352ff70aebaceee04060bee3859de.png

Edited by Slumerican420
  • Moderators
Posted

change it to something like:

C:\Program Files\Java\jre1.8.0_40\bin\java.exe -Xmx3G -Xms2G  -jar Bteam.jar nogui

pause

In this example I am putting the path to my java.exe. You need to find yours instead, and paste it in. 

Posted

change it to something like:

C:\Program Files\Java\jre1.8.0_40\bin\java.exe -Xmx3G -Xms2G  -jar Bteam.jar nogui

pause

In this example I am putting the path to my java.exe. You need to find yours instead, and paste it in. 

I just did what you said and unfortunately it's doing the same thing.

  • Moderators
Posted (edited)

Where did you find your java.exe?

and can you post another pic of your launch.bat, with the changes?

Edited by AetherPirate

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...