Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

I've createt an Forge Server on my Mac.

1332060905_Bildschirmfoto2020-03-25um14_35_45.png.c1be32905718b0c874b4957b36f6a289.png

 

I'm able to start the server with the highlighted .jar-file and it works just fine.

347880455_Bildschirmfoto2020-03-25um14_37_18.thumb.png.871e7e34515dcf9f9f29148807a0db7f.png

 

My problem is, when I try to start my server with this command file:

1128535949_Bildschirmfoto2020-03-25um14_39_12.png.29a907525200cc9b26e3c084baea8b23.png

... it refuses to start. I always become this error message: https://pastebin.com/0ykQFFYV

 

I'm fine with starting the server with the .jar file, but I wan't to locate more RAM to the Server. Is there a way how I can fix the start file or locate more RAM somehow different?

Thanks in advance for your replies!

I would say add a line "exec java -version" (without the quotes) right before the line that starts your server, and see what it tells you for a version before the error message that shows up.

 

*edit: please note, I don't use a mac whatsoever, so I'm not 100% sure how things work, but I am very familiar with linux.

Edited by Ugdhar

  • Author

Sorry that I'm so stupid, but what should i write exactly?

#!/bin/bash
cd "$(dirname "$0")"
exec java -Xmx1G -Xms4G -jar forge.jar
exec java -version

Should I just use this and replace the term version with my version.

 

On Windows, there is simmalar file wich includes the file path to java. On Mac this would be this /Users/jakob/Library/Application Support/minecraft/runtime/jre-x64/jre.bundle/Contents/Home/bin/java

Does that help you in any way to help me? ;)

what if you put the java -version line first, I know it's not going to fix it, I just want to know what version of java your script is trying to use. and it should output it.

It needs to be java 8, and just having java 8 does not mean that's the one it's using.

  • Author

Yes I had understodd that it wouldn't fix my prob. It is great that you take so much time to figure out what my problem is.

This is what happens if I put the -version term first.

222737756_Bildschirmfoto2020-03-25um15_32_56.png.cefb9e1673c77aeb884b20962ec8c868.png

 

PS: I tried to start the "Vanilla" minecraft_server.1.12.2.jar with the file and it worked. Don't know why the forge server doesen´t starts

You need to install Java 8, and then more than likely tell your system to use that as the default java, or directly specify the java you wish to use when you launch the server.

As I don't have nor use a mac, I'm not 100% sure how to tell you how to proceed with doing that, google probably knows! :)

  • Guest locked this topic
Guest
This topic is now closed to further replies.

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.