Jump to content

Recommended Posts

Posted (edited)

Im currently having an issue with
forge 1.12.2 - 14.23.5.2838
(I also tried 2768)

on my linux machine.

Stacktrace while starting

  Reveal hidden contents

 

jvm parameters
-XX:+UseG1GC -Dsun.rmi.dgc.server.gcInterval=2147483646 -XX:+UnlockExperimentalVMOptions -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M -Dfml.readTimeout=180

java version (11)

  Reveal hidden contents


My first guess is that this has something to do with my java version. This error might occur with java 9 and above.

If im right:
Does someone know a way to start this forge version with java 11
or
Install java 8 parallel to java 11 and use the old version through launch options?

Edited by l666deicide666l
Posted

Pre-1.13 Forge only works with Java 8.

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Posted

Instead of invoking java and relying on PATH to find it you can go ahead and use the full path of the java binary you want.

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Posted
  On 7/26/2019 at 12:25 AM, DaemonUmbra said:

Instead of invoking java and relying on PATH to find it you can go ahead and use the full path of the java binary you want.

Expand  

So i just get the java 8 binarys and reference them like
/opt/java/1.8/bin -jar ...
instead of
java -jar ...

Thanks for the advice.

Posted

I think you'll have to do bin/java, the whole thing

  • Like 1

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Posted
  On 7/26/2019 at 12:29 AM, DaemonUmbra said:

I think you'll have to do bin/java, the whole thing

Expand  


Ok thats really good to know in general.

/usr/lib/jvm/java-8-openjdk-amd64/bin/java -server -Xms${MIN_RAM} -Xmx${MAX_RAM} ${JAVA_PARAMETERS} -jar ${FORGE_JAR} nogui

where "/usr/lib/jvm/java-8-openjdk-amd64/bin/java" is the direct path to java 8.

This works. ?

 

Now i just need to create some $java8 system variable and im satisfied ?

  • 1 year later...
Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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