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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...