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

wrong version on older spigot version (>1.12) #69

Open
orkeilius opened this issue May 2, 2024 · 1 comment
Open

wrong version on older spigot version (>1.12) #69

orkeilius opened this issue May 2, 2024 · 1 comment

Comments

@orkeilius
Copy link

orkeilius commented May 2, 2024

the container download java 11 instead of 8 or 7 on older version

console error

...
OpenJDK Runtime Environment Temurin-11.0.13+8 (build 11.0.13+8)
OpenJDK 64-Bit Server VM Temurin-11.0.13+8 (build 11.0.13+8, mixed mode)
Attempting to build version: '1.8.8' use --rev <version> to override
Found version
{
        "name": "582a",
        "description": "Jenkins build 582a (hotfix 2)",
        "refs": {
                "BuildData": "838b40587fa7a68a130b75252959bc8a3481d94f",
                "Bukkit": "01d1820664a5f881665b84b28871dadd132deaef",
                "CraftBukkit": "741a1bdf3db8c4d5237407df2872d9857427bfaf",
                "Spigot": "21fe7077d9140e0f9db01587a39c2ffec29e3ec8"
        }
}

*** The version you have requested to build requires Java versions between [Java 7, Java 8], but you are using Java 11
*** Please rerun BuildTools using an appropriate Java version. For obvious reasons outdated MC versions do not support Java versions that did not exist at their release.
cp: cannot stat '/build-mc/spigot-*.jar': No such file or directory
ls: cannot access '//minecraft/spigot.jar': No such file or directory
BUILD FAILED: spigot version 1.8.8 failed (continue running version ) 
...

potential solution (not tested)

the set_mc_ver file set java 11 for older version,
it should do more check to use to correct version of java on old version

@orkeilius orkeilius changed the title wrong version for older spigot ver (1.8.8) wrong version on older spigot version (1.8.8) May 2, 2024
@orkeilius
Copy link
Author

Seem to bug up to minecraft 1.12 (included)

@orkeilius orkeilius changed the title wrong version on older spigot version (1.8.8) wrong version on older spigot version (>1.12) May 2, 2024
nimmis added a commit that referenced this issue Jun 3, 2024
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

1 participant