qwek1 / All-of-Create

1 stars 0 forks source link

Server files not working on some computers #37

Closed SuperSmashGame closed 2 months ago

SuperSmashGame commented 2 months ago

Yesterday, I tried installing the server files for AoC v.3.5HF. At first, it didn't work on my desktop (I included a log file from today that has the same error). Then I tried on my laptop, and it worked 1st try.

One difference between the two is that my desktop has Java 22, and my laptop has Java 19 (idk if that might be the cause of the issue).

latest.log <-- Desktop logs (If you need the laptop logs as well, I can provide them)

qwek1 commented 2 months ago

Use Java 18

On Sun, Jul 28, 2024 at 8:32 PM SuperSmashGame @.***> wrote:

Yesterday, I tried installing the server files for AoC v.3.5HF. At first, it didn't work on my desktop (I included a log file from today that has the same error). Then I tried on my laptop, and it worked 1st try.

One difference between the two is that my desktop has Java 22, and my laptop has Java 19 (idk if that might be the cause of the issue).

latest.log https://github.com/user-attachments/files/16403756/latest.log <-- Desktop logs (If you need the laptop logs as well, I can provide them)

— Reply to this email directly, view it on GitHub https://github.com/qwek1/All-of-Create/issues/37, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7Z2BZPCRIJT26GMA2L2OI3ZOTQFHAVCNFSM6AAAAABLSYOW5CVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQZTGOJQHE3DIMI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

SuperSmashGame commented 2 months ago

So the question is, how do I point the server towards Java 18 instead of 22 ? I still need the latter to play newer versions of MC

qwek1 commented 2 months ago

You can do it through the variables.txt, which can be found in the serverpack files. I dont remember the exact steps since im on vacation but you should be able to add it on the java args line

On Sun, Jul 28, 2024 at 10:45 PM SuperSmashGame @.***> wrote:

So the question is, how do I point the server towards Java 18 instead of 22 ? I still need the latter to play newer versions of MC

— Reply to this email directly, view it on GitHub https://github.com/qwek1/All-of-Create/issues/37#issuecomment-2254543771, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7Z2BZJXUC5JQC6HSFTN6JLZOT7Y3AVCNFSM6AAAAABLSYOW5CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJUGU2DGNZXGE . You are receiving this because you commented.Message ID: @.***>

SuperSmashGame commented 2 months ago

Tried to modify it, by replacing the "java" in the User JVM Args variables from options.txt with the path to my JDK17, no luck this far. Also tried tampering with the JAVA variable, nothing neither. Tried on both, nothing. With or without "s, nothing. Now's probably not the time to worry about that, since you're on vacation, so I'll try to setup a normal forge server with the mods, configs, libraries etc. Thanks either way ! =)

qwek1 commented 2 months ago

here's a guide for installing Java on the serverpack if you still need it : https://github.com/chorbintime/LPS-readme/wiki/1.19.2#video-guide