Jump to content
  • 0

Mac OS X Lion messes up tekkit 2.1.1 serve startup file


Question

Posted

Here's what i figured out, the server won't run because java se 6 and jdk 7 are both installed on my computer, most apps run on java se 6, so that's the default, but 2.1.1 needs jdk 7, i need to know how to direct a command file to use jdk 7 instead of java se 6. This is the command i've been using:

#!/bin/bash

cd "$(dirname "$0")"

exec java -Xmx10G -Xms10G -jar Tekkit.jar

3 answers to this question

Recommended Posts

  • 0
Posted

Thats not necessarily a mac specific problem. My server was doing the same thing until I uninstalled the other version of java. If you know the location of the jre7 you should be able to command it to run that java instead of just saying "run java" and letting it find the version. If it was windows I would say to change the command line to: "C:\Program Files\Java\jre7\bin\java.exe -Xmx10G -Xms10G -jar Tekkit.jar" Or wherever your java is located. You may have to specify the path for the tekkit jar actually after doing that, not sure. Not even sure if that would work, just a thought. The easier way of course would be to just uninstall jre6 hehe

  • 0
Posted

I fixed it somehow, if you have this problem go to spotlight and search for java preferences, then move jdk 7 to the top instead of the bottom.

Join the conversation

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

Guest
Answer this question...

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