LewMC Wiki Help

Server Pack

Running on a server host

  1. Upload and uncompress the .zip pack file,

  2. In your hosting panel set the startup jar to galactica-server.jar for Galactica, or galactica-je-server.jar for Galactica: Jurassic Edition, your host should have instructions on how to do this.

  3. Start the server, it should generate the required files but not start.

  4. Open EULA.txt and accept it.

  5. Restart the server, it should now start.

Running Locally

If you'd like your friends to be able to connect, you'll need to port forward your internet. More info (external link)

First, unzip the server pack, then follow the instructions in the relevant section for you below.

Windows

  1. Create a new file titled 'start.bat'

  2. In the file, enter this for Galactica:

    @echo off java -Xms#G -Xmx#G -XX:+UseG1GC -jar galactica-server.jar nogui pause

    or this for Galactica: Jurassic Edition:

    @echo off java -Xms#G -Xmx#G -XX:+UseG1GC -jar galactica-je-server.jar nogui pause
  3. Replace the '#' with the amount of RAM you'd like to allocate to the server.

  4. Run the file by double-clicking it, the server should generate the required files but not start.

  5. Open EULA.txt and accept it.

  6. Run the file again by double-clicking it, the server should now start.

MacOS

  1. Create a new file titled 'start.command'

  2. In the file, enter this for Galactica:

    #!/bin/sh cd "$( dirname "$0" )" java -Xms#G -Xmx#G -XX:+UseG1GC -jar galactica-server.jar nogui

    or this for Galactica: Jurassic Edition:

    #!/bin/sh cd "$( dirname "$0" )" java -Xms#G -Xmx#G -XX:+UseG1GC -jar galactica-je-server.jar nogui
  3. Replace the '#' with the amount of RAM you'd like to allocate to the server.

  4. Run the file by double-clicking it, the server should generate the required files but not start.

  5. Open EULA.txt and accept it.

  6. Run the file again by double-clicking it, the server should now start.

Linux

  1. Create a new file titled 'start.sh'

  2. In the file, enter this for Galactica:

    #!/bin/sh java -Xms#G -Xmx#G -XX:+UseG1GC -jar galactica-server.jar nogui

    or this for Galactica: Jurassic Edition:

    #!/bin/sh java -Xms#G -Xmx#G -XX:+UseG1GC -jar galactica-je-server.jar nogui
  3. Replace the '#' with the amount of RAM you'd like to allocate to the server.

  4. Run the file using ./start.sh, the server should generate the required files but not start.

  5. Open EULA.txt and accept it.

  6. Run the file again using ./start.sh, the server should now start.

Troubleshooting

java.lang.reflection.InvocationTargetException

Your computer is trying to run the server pack on a version of Java that is too new, both packs require Java 8.

To check if this is the issue and fix it:

  1. Open a command prompt. Type java -version - if anything other than Java 8 appears keep going, if it says Java 8 send us a message for help!

  2. Run where java and copy the full path for Java 8. If you don't see Java 8 - install it from Oracle and run the command again.

  3. Open your start.txt/start.bat file.

  4. Replace 'java' at the start of the command with the full path you copied from step 2. If the path has spaces you'll need to wrap it in quotation marks. For example: "C:\Program Files (x86)\Common Files\Oracle\Java\java8path\java.exe"

  5. Save the file, (if it's start.txt rename to start.bat) and run the server. If you're still having issues message us for help!

Last modified: 16 October 2025