minecraft icon indicating copy to clipboard operation
minecraft copied to clipboard

[Install Bug]: Fabric - Minecraft Java

Open 59n opened this issue 1 month ago • 5 comments

Panel Version

1.0.0-beta27

Wings Version

1.0.0-beta18

Service

minecraft/java/fabric

Modified

Yes, I modified the egg (will provide details below)

Expected Behavior

You expect to pull the egg JSON from github and it to work out of the box

Actual Behavior

My server was not setup with a ram limit nor are my wings, so the startup variable "-Xmx{{SERVER_MEMORY}" was defaulting to 0 which was causing startup errors, I have removed it and it fixed the issue

Steps To Reproduce

Step 1, remove -Xmx{{SERVER_MEMORY} variable from default and add it to a optional startup script Step 2, optionally, replace with different variable such as -XX:MaxRAMPercentage=95.0 Step 3, start server and works

Install logs

nan

59n avatar Nov 04 '25 18:11 59n

Iirc the logs even tell you that this won't work But iirc only the neoforge or forge egg show that

SirEndii avatar Nov 04 '25 18:11 SirEndii

This is the most common java error Xmx cannot be 0 so either set an actual ram limit or manually edit the egg on your side to remove the argument but this won't be changed for any egg that has support for any Java version prior to 10.

Java 8 doesn't have -XX:MaxRAMPercentage so we'd need to detect java version and use something like -XX:MaxRAMFraction instead.

rmartinoscar avatar Nov 04 '25 19:11 rmartinoscar

I'm also encountering this issue, but changing the variable doesn't seem to sort it. Wing has no specified ram limit.

midget3111 avatar Nov 05 '25 14:11 midget3111

I have managed to find a working fabric egg, the current one is using a minimalistic docker image, try this and see if it works

fabric.json

59n avatar Nov 05 '25 14:11 59n

I have managed to find a working fabric egg, the current one is using a minimalistic docker image, try this and see if it works

fabric.json

This egg works great! Except for the eula accept popup which doesn't for some reason. I had to manually accept the eula in the eula.txt file. I can confirm the fabric egg in this repo is completely nonfunctional, it seems like it has had a lot less care put into it compared to the other minecraft eggs.

quill-g avatar Nov 09 '25 23:11 quill-g