Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build from source failed if use jvm 8 #626

Closed
realyukii opened this issue Nov 25, 2024 · 5 comments
Closed

Build from source failed if use jvm 8 #626

realyukii opened this issue Nov 25, 2024 · 5 comments

Comments

@realyukii
Copy link

What BlueMap version that support java 8? I tried to build from source and it fails as it's using java 8.

## Building BlueMapAPI ...
Java: 1.8.0_432
JVM: 25.432-b06 (Debian)
Arch: amd64

> Task :api:buildSrc:generateExternalPluginSpecBuilders FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':api:buildSrc:generateExternalPluginSpecBuilders'.
> Could not resolve all files for configuration ':api:buildSrc:compileClasspath'.
   > Could not resolve com.diffplug.spotless:spotless-plugin-gradle:6.25.0.
     Required by:
         project :api:buildSrc > com.diffplug.spotless:com.diffplug.spotless.gradle.plugin:6.25.0
      > Dependency requires at least JVM runtime version 11. This build uses a Java 8 JVM.

* Try:
> Run this build using a Java 11 or newer JVM.
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.10.1/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 1m 29s
2 actionable tasks: 2 executed
@Chicken
Copy link
Member

Chicken commented Nov 25, 2024

i think it was 1.7.3 that last supported java 8.... but why are you trying to build for java 8...

@realyukii
Copy link
Author

for the reason why I stick with java 8: my friend have a phone that only able to run lower version of minecraft, thus in order to play together I have to lower the server version to match it (spigot 1.12.2)

already tried viaversion but no luck, anyway thanks for the response!

@TBlueF
Copy link
Member

TBlueF commented Nov 25, 2024

If you need to run 1.12.2: BlueMap's latest versions don't support Minecraft 1.12.2 anymore. The last version that supports 1.12.2 was BlueMap v1.5.5

@realyukii
Copy link
Author

Ah yes, it works! (altho some area is black?)
image

@TBlueF
Copy link
Member

TBlueF commented Nov 25, 2024

If you need help or have questions please visit our discord, but keep in mind that the version you are using is more than 3 years old and no longer supported. I won't fix any issues/bug with that version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants