Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

CMake: Require and use Java 1.8#5652

Open
davidebeatrici wants to merge 1 commit intoMultiMC:developfrom
davidebeatrici:java-1.8
Open

CMake: Require and use Java 1.8#5652
davidebeatrici wants to merge 1 commit intoMultiMC:developfrom
davidebeatrici:java-1.8

Conversation

Copy link

davidebeatrici commented Aug 8, 2025

The specific version is mentioned in the build instructions at: https://github.com/MultiMC/Launcher/blob/abc582466ee7a88a398604c11b8ccb6be424c1fe/BUILD.md

Without this patch compilation fails because target and source have a minimum value of 8.

The specific version is mentioned in the build instructions at:
https://github.com/MultiMC/Launcher/blob/abc582466ee7a88a398604c11b8ccb6be424c1fe/BUILD.md

Without this patch compilation fails because target and source have a minimum value of 8.
Copy link
Author

davidebeatrici commented Aug 17, 2025

I just realized there is an identical commit in PolyMC: PolyMC/PolyMC@8e842d1

Copy link
Contributor

phit commented Aug 18, 2025

why would you want to drop support for java 7? theres plenty of old mods that do not work on java 8

Copy link
Contributor

Moresteck commented Aug 18, 2025

why would you want to drop support for java 7? theres plenty of old mods that do not work on java 8

If I may ask, which mods for example?

Copy link
Contributor

Moresteck commented Aug 18, 2025

As for the PR, I agree using Java 8 for building would make the process easier, but I don't see why source and target versions should get bumped from 7 to 8. The source is still compatible with Java 7.
I'd suggest them to be left at 7 for both NewLaunch.jar and JavaCheck.jar.

Copy link
Author

davidebeatrici commented Aug 23, 2025

The problem is that recent OpenJDK versions support a minimum version of 8.

Copy link
Contributor

Moresteck commented Aug 23, 2025

The problem is that recent OpenJDK versions support a minimum version of 8.

But you'd be using JDK 8 to build MultiMC, no? At least that's what I would do.

Copy link
Author

davidebeatrici commented Aug 23, 2025

Yes, OpenJDK 8 is still supported. If you all agree I will drop the source and target changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants