Exception in thread "Major Update Worker" when starting singleplayer

Having issues? Ask here!
Forum rules
- Search for existing answers before creating a new topic
- Topic titles must be descriptive and searchable
- Duplicate questions will be redirected to the existing answer(s) and locked.
User avatar
JohnyWhite
Noob
Posts: 10
Joined: Thu Oct 05, 2023 4:00 pm
Has thanked: 2 times
Been thanked: 1 time

Re: Exception in thread "Major Update Worker" when starting singleplayer

Post by JohnyWhite »

That's the thing. I played the old version like 10 minutes before I updated to the new one. I didn't download or install anything else at that time. I played the game, turned it off, browsed the web for a while, downloaded the new version and it stoped working.

I will try reinstalling java, but unless win10 did something in that span of 10 minutes, then I doubt it's on my end.
User avatar
Ceikry
Site Admin
Posts: 587
Joined: Wed Aug 10, 2022 11:48 pm
Location: Draynor Village
Has thanked: 82 times
Been thanked: 105 times

Re: Exception in thread "Major Update Worker" when starting singleplayer

Post by Ceikry »

reinstalling isn't the point, open up a console and type "java -version"
Nerds
User avatar
JohnyWhite
Noob
Posts: 10
Joined: Thu Oct 05, 2023 4:00 pm
Has thanked: 2 times
Been thanked: 1 time

Re: Exception in thread "Major Update Worker" when starting singleplayer

Post by JohnyWhite »

Code: Select all

java version "1.8.0_221"
Java(TM) SE Runtime Environment (build 1.8.0_221-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.221-b11, mixed mode)
User avatar
Ceikry
Site Admin
Posts: 587
Joined: Wed Aug 10, 2022 11:48 pm
Location: Draynor Village
Has thanked: 82 times
Been thanked: 105 times

Re: Exception in thread "Major Update Worker" when starting singleplayer

Post by Ceikry »

That would be why. The server requires Java 11. You're running SP, which has to run the server, so you have to be running Java 11.

I suppose older builds were still incorrectly being built with 8?
Nerds
User avatar
Ceikry
Site Admin
Posts: 587
Joined: Wed Aug 10, 2022 11:48 pm
Location: Draynor Village
Has thanked: 82 times
Been thanked: 105 times

Re: Exception in thread "Major Update Worker" when starting singleplayer

Post by Ceikry »

As the FAQ on this very forum states, you have to have Java 11: viewtopic.php?t=2-faq-check-here-first
Nerds
User avatar
JohnyWhite
Noob
Posts: 10
Joined: Thu Oct 05, 2023 4:00 pm
Has thanked: 2 times
Been thanked: 1 time

Re: Exception in thread "Major Update Worker" when starting singleplayer

Post by JohnyWhite »

I installed the proper java version and restarted the PC:

Code: Select all

openjdk version "11.0.20.1" 2023-08-24
OpenJDK Runtime Environment Temurin-11.0.20.1+1 (build 11.0.20.1+1)
OpenJDK 64-Bit Server VM Temurin-11.0.20.1+1 (build 11.0.20.1+1, mixed mode)
The issue still persistst. Same error messages and everything, so the problem is somewhere else.
Besides. Previous version worked flawlesly even when I had the wrong java version, so the issue has to be something else.
User avatar
Ceikry
Site Admin
Posts: 587
Joined: Wed Aug 10, 2022 11:48 pm
Location: Draynor Village
Has thanked: 82 times
Been thanked: 105 times

Re: Exception in thread "Major Update Worker" when starting singleplayer

Post by Ceikry »

JohnyWhite wrote: Fri Oct 06, 2023 2:23 pm I installed the proper java version and restarted the PC:

Code: Select all

openjdk version "11.0.20.1" 2023-08-24
OpenJDK Runtime Environment Temurin-11.0.20.1+1 (build 11.0.20.1+1)
OpenJDK 64-Bit Server VM Temurin-11.0.20.1+1 (build 11.0.20.1+1, mixed mode)
The issue still persistst. Same error messages and everything, so the problem is somewhere else.
Besides. Previous version worked flawlesly even when I had the wrong java version, so the issue has to be something else.
I believe SP actually bundles a version of Java for Windows users. It's possible that this was the wrong version (the bundling was done by a separate volunteer about a year ago). Can you navigate to the SP's jre/bin folder in a console and do .\java -version
Nerds
User avatar
JohnyWhite
Noob
Posts: 10
Joined: Thu Oct 05, 2023 4:00 pm
Has thanked: 2 times
Been thanked: 1 time

Re: Exception in thread "Major Update Worker" when starting singleplayer

Post by JohnyWhite »

Im putting it here together with the file path in case I wrote it wrong.

Code: Select all

D:\singlscape\jre\bin>.\java -version
openjdk version "11.0.15" 2022-04-19
OpenJDK Runtime Environment Temurin-11.0.15+10 (build 11.0.15+10)
OpenJDK 64-Bit Server VM Temurin-11.0.15+10 (build 11.0.15+10, mixed mode)
User avatar
Ceikry
Site Admin
Posts: 587
Joined: Wed Aug 10, 2022 11:48 pm
Location: Draynor Village
Has thanked: 82 times
Been thanked: 105 times

Re: Exception in thread "Major Update Worker" when starting singleplayer

Post by Ceikry »

Looks right. I suppose I'll have to look into this more when I have time later on today, I'm technically supposed to be doing my dayjob right now. Apologies that it's not resolved yet.
Nerds
User avatar
Ceikry
Site Admin
Posts: 587
Joined: Wed Aug 10, 2022 11:48 pm
Location: Draynor Village
Has thanked: 82 times
Been thanked: 105 times

Re: Exception in thread "Major Update Worker" when starting singleplayer

Post by Ceikry »

In the meantime, can you do one more quick test and let me know if the old build still works?
Nerds
Locked