Jump to content

Recommended Posts

Posted (edited)

UPDATE:

Forge 1.12.2 requires Java 8.  

I was using OpenJDK 11.  Now I'm using OpenJDK 8 and everything is gravy.  :D 

 

Original Post:

 

When I launch Forge from the launcher, it crashes instantly.

Using Linux (Mint 19, Mate desktop)

 

What I've tried:

1) deleted everything in /.minecraft 

 

2) let the launcher download and launch Minecraft, 
1.12.2.jar
start launcher,launch game, start new map, all works fine, quit game


3) download and install Forge "Recommended" Installer for 1.12.2,
forge-1.12.2-14.23.5.2768-installer.jar
start launcher, select forge, Game Crash - doesn't even try to launch, the launcher just says "GAME CRASH An unexpected error occurred..."

There is no mods folder.  I made an empty mods folder in /.minecraft   Repeat step 3 above, same results. Put a mod (compatable with 1.12.2) into the mods folder, same results.  

I've since re-deleted the mods folder.

 

Any suggestions?

 

Here is my output log:

  Reveal hidden contents


Here is my java version info, if helpful:  It's all OpenJDK which has been running vanilla Minecraft just fine.

  Reveal hidden contents

 

Thanks for any help!

 

Edit: here is launcher_log.txt 

  Reveal hidden contents

 

Edited by Lolohn
added launcher_log.txt
Posted

Just an aside:
Last night I set this version and two mods (Erebus and Twilight Forest) up for my nine-year old son's Linux PC, AND my 13-year old son's Windows 7 PC.  
So this is super driving me crazy - last night it was smooth like butter, for two totally different computers and operating systems.  But today?  AGHGHGHG!

Posted
  On 4/6/2019 at 8:50 PM, Lolohn said:

[0406/155338:INFO:ClientHandler.cpp(1049)] GameStarter: Previous instance(s) found

Expand  

Have you tried restarting your computer and/or killing everything Java related?

About Me

  Reveal hidden contents

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Posted
  On 4/6/2019 at 11:08 PM, Cadiboo said:

Have you tried restarting your computer and/or killing everything Java related?

Expand  

Thanks for the reply. 
So I hadn't restarted, but I have now... no change.

Also,
I've since installed Forge 1.13
forge-1.13.2-25.0.110-installer.jar
(I don't remember if it was "latest" or "recommended") and it runs fine... but the mods I want to use require 1.12.2

Posted

Can you provide a debug.log? More info in the "Logs" section of my Forum signature below.

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 4/7/2019 at 2:43 AM, DaemonUmbra said:

Can you provide a debug.log? More info in the "Logs" section of my Forum signature below.

Expand  

Thanks for your time!

 

I can't find a debug.log  - is it supposed to be in /.minecraft/logs or elswhere?  That folder is empty.

 

Here is  launcher_log.txt   (a fresh one after launching the crashing Forge 1.12.2)

 

launcher_log.txt

Posted
  Quote

Exception in thread "main" java.lang.ClassCastException: java.base/jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to java.base/java.net.URLClassLoader

Expand  

Bingo, Forge for 1.12.2 only works with Java 8 due to a fundamental change in Java that occurred in Java 9 (Forge for 1.13 works in Java 8 or 10).

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 4/7/2019 at 3:19 AM, DaemonUmbra said:

Bingo, Forge for 1.12.2 only works with Java 8 due to a fundamental change in Java that occurred in Java 9 (Forge for 1.13 works in Java 8 or 10).

Expand  

Oooooh I'll try - well I don't know what I'll try yet.  But I'll report back once I get going or hit a bump. 

Thank you so much!!

Posted

Well that was deliciously easy.  

I'm using OpenJDK, and had both 8 and 11 installed.   I removed everything 11, and Minecraft and Forge default to 8 now.

YES!

Thank you again!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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