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

Switch to minimal JDK for the embedded JDK. #6819

Closed
wants to merge 1 commit into from

Conversation

meisterT
Copy link
Member

@meisterT meisterT commented Dec 3, 2018

Steps:
curl https://mirror.bazel.build/openjdk/azul-zulu-9.0.7.1-jdk9.0.7/zulu9.0.7.1-jdk9.0.7-linux_x64.tar.gz -o zulu9.0.7.1-jdk9.0.7-linux_x64.tar.gz
tar xf zulu9.0.7.1-jdk9.0.7-linux_x64.tar.gz
cd zulu9.0.7.1-jdk9.0.7-linux_x64
./bin/jlink --module-path ./jmods/ --add-modules java.base,java.logging,java.management,jdk.management,jdk.unsupported,jdk.net,jdk.zipfs --vm=server --strip-debug --no-man-pages --output zulu9.0.7.1-jdk9.0.7-linux_x64-minimal
cp DISCLAIMER readme.txt zulu9.0.7.1-jdk9.0.7-linux_x64-minimal
GZIP=-9 tar -zcf ../zulu9.0.7.1-jdk9.0.7-linux_x64-minimal.tar.gz zulu9.0.7.1-jdk9.0.7-linux_x64-minimal

@meisterT
Copy link
Member Author

meisterT commented Dec 3, 2018

Note that this is currently only the linux JDK and we need to update the auto dependency, more to follow.

@meisterT meisterT requested a review from buchgr December 3, 2018 10:30
@buchgr
Copy link
Contributor

buchgr commented Dec 3, 2018

Can you use our buildkite pipelines for building it?

@meisterT meisterT force-pushed the minimaljdk branch 2 times, most recently from 7d5c9de to bebd718 Compare December 3, 2018 12:39
@meisterT
Copy link
Member Author

meisterT commented Dec 3, 2018

Done.

Steps are done by the buildkite embedded JDK pipeline and roughly this:
curl https://mirror.bazel.build/openjdk/azul-zulu-9.0.7.1-jdk9.0.7/zulu9.0.7.1-jdk9.0.7-linux_x64.tar.gz -o zulu9.0.7.1-jdk9.0.7-linux_x64.tar.gz
tar xf zulu9.0.7.1-jdk9.0.7-linux_x64.tar.gz
cd zulu9.0.7.1-jdk9.0.7-linux_x64
./bin/jlink --module-path ./jmods/ --add-modules java.base,java.logging,java.management,jdk.management,jdk.unsupported,jdk.net,jdk.zipfs,java.xml --vm=server --strip-debug --no-man-pages --output zulu9.0.7.1-jdk9.0.7-linux_x64-minimal
cp DISCLAIMER readme.txt zulu9.0.7.1-jdk9.0.7-linux_x64-minimal
GZIP=-9 tar -zcf ../zulu9.0.7.1-jdk9.0.7-linux_x64-minimal.tar.gz zulu9.0.7.1-jdk9.0.7-linux_x64-minimal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants