Jump to content

Recommended Posts

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!

Posted (edited)

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
Posted

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? ;)

Posted

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.

Posted

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

Posted

Your issue is it's trying to use Java 14, and you need Java 8 for forge.

I believe someone said the reason is because one of the libraries required by forge still targets Java 8.

Posted

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.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Ghjkvcfzukjvv
    • Machen Sie sich bereit für unglaubliche Ersparnisse im Juli 2025 mit unserem exklusiven Temu Gutscheincode 30% Rabatt. Wir geben Ihnen den Schlüssel zu den besten Angeboten auf der Plattform mit dem Code (ACW867474), der Ihr Einkaufserlebnis verändern wird. Der Temu Gutscheincode ACW867474 wurde entwickelt, um Ihnen maximale Vorteile zu bieten, insbesondere für unsere Nutzer in Deutschland, Österreich und der gesamten Europäischen Union. Erleben Sie Shopping ohne Grenzen mit Rabatten, die wirklich einen Unterschied machen. Mit unserem Temu Gutschein 30% Rabatt schalten Sie sofortige Einsparungen frei. Nutzen Sie einfach unseren Temu 30% Rabatt Gutscheincode, um Ihr Einkaufserlebnis zu revolutionieren und bei den angesagtesten Produkten zu sparen. Was ist der Gutscheincode für Temu 30% Rabatt? Sie fragen sich vielleicht, wie Sie diesen fantastischen Rabatt erhalten können. Wir haben es Ihnen leicht gemacht! Sowohl neue als auch bestehende Kunden können erstaunliche Vorteile genießen, wenn sie unseren exklusiven 30%-Rabatt-Gutscheincode auf der Temu-App oder Website verwenden. Mit diesem Code erhalten Sie nicht nur einen einmaligen Rabatt, sondern schalten ein ganzes Paket an Sparmöglichkeiten frei. Der Temu Gutschein 30% Rabatt ist Ihr Ticket zu intelligenterem Einkaufen, und der 30% Rabatt Temu Gutschein stellt sicher, dass Sie immer den besten Preis bekommen. Hier sind die Hauptvorteile, die Sie mit unserem Code erhalten: •    ACW867474: Ein pauschaler Rabatt von 30% auf Ihre gesamte Bestellung. •    ACW867474: Ein 30% Gutschein-Paket für mehrere zukünftige Einkäufe. •    ACW867474: Ein garantierter 30% Pauschalrabatt für alle Neukunden. •    ACW867474: Ein zusätzlicher 30% Promo-Code für treue Bestandskunden. •    ACW867474: Ein spezieller 30% Gutschein für Nutzer in Deutschland/Österreich. Temu Gutscheincode 30% Rabatt für Neukunden in 2025 Wenn Sie neu bei Temu sind, erwartet Sie eine besondere Freude! Als Neukunde können Sie die höchsten Vorteile erzielen, wenn Sie unseren Temu Gutschein 30% Rabatt verwenden. Temu begrüßt neue Käufer mit offenen Armen und noch offeneren Rabatten, und unser Temu Gutscheincode 30% Rabatt ist der beste Weg, um Ihre Shopping-Reise zu beginnen. Stellen Sie sich vor, Sie erhalten die trendigsten Artikel aus Mode, Elektronik, Haushaltswaren und mehr mit einem massiven Preisnachlass direkt bei Ihrer ersten Bestellung. Nutzen Sie diese Vorteile als Neukunde: •    ACW867474: Ein sofortiger Pauschalrabatt von 30% für Neukunden. •    ACW867474: Ein 30% Gutschein-Paket für Ihre zukünftigen Bestellungen. •    ACW867474: Bis zu 30% Rabatt auf mehrere Einkäufe. •    ACW867474: Kostenloser Versand in 86 Länder, einschließlich ganz Deutschland. •    ACW867474: Extra 30% Rabatt auf jeden Einkauf als Erstnutzer.  
    • thank you for the help, i deleted yungscavebiomes and now it works   
    • first crash: https://mclo.gs/Ou66SIc second crash: https://mclo.gs/qu0W6qY
  • Topics

×
×
  • Create New...

Important Information

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