Jump to content

Recommended Posts

Posted

I am operating on Linux Ubuntu 11.04 and I am having a problem starting up my Tekkit server. This is the first time I am setting up a Tekkit server, I have not done this previously. I installed the newest version of Tekkit, unzipped it into a folder named tekkit2, allowed execution of the file launch.sh, however, when I attempt to run the file launch.sh, the terminal window opens then closes less than a half a second later. Does anyone know what my problem could be?

Here are the contents of the launch.sh, all I did was change the ram usage because I am operating on 32-bit Java:

#!/bin/sh

java -Xmx1G -Xms1G -jar Tekkit.jar nogui


 

 

Here is my java -version:


java version "1.7.0_05"

Java SE Runtime Environment (build 1.7.0_05-b05)

Java HotSpot Server VM (build 23.1-b03, mixed mode)

Does anyone know what my problem could be? Any information would be greatly appreciated. Thank you.

Posted

If I use the following script it will start properly, however it will not with the default script:


#!/bin/sh

BINDIR=$(dirname "$(readlink -fn "$0")")

cd "\$BINDIR"

echo "---------type the number for java 7 now----------"

update-alternatives --config java

clear

java -jar Tekkit.jar

Any thoughts?

It seems as though my java isn't automatically binding correctly or something...

  • 4 weeks later...
Posted

Try using the server with the following script:

#!/bin/sh

java -Xmx2048M -Xms1024M -jar Tekkit.jar nogui


I strongly recommend allocating 2 GB instead of 1. A regular minecraft server nearly 'can't keep up' with 1 GB and the tekkit server has all those mods installed too.

However, if you don't want to allocate that much, use this one:


#!/bin/sh

java -Xmx1024M -Xms512M -jar Tekkit.jar nogui

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