Last active
August 29, 2015 14:10
-
-
Save arturmkrtchyan/2d5588f97d1ef0c45e6e to your computer and use it in GitHub Desktop.
Building OpenJDK 9 on Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bash ./configure | |
make all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hg clone http://hg.openjdk.java.net/jdk9/jdk9 OpenJDK9 | |
cd OpenJDK9 | |
bash ./get_source.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
make -version | |
unset JAVA_HOME | |
export LANG=C | |
export PATH="/usr/lib/jvm/java-8-openjdk-amd64/bin:${PATH}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install openjdk-8-jdk | |
java -version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# X11 libraries | |
sudo apt-get install libx11-dev libxext-dev | |
sudo apt-get install libxrender-dev libxtst-dev libxt-dev | |
# ALSA library | |
sudo apt-get install libasound2-dev | |
# FreeType 2 font engine | |
sudo apt-get install libfreetype6-dev | |
# CUPS library | |
sudo apt-get install libcups2-dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install mercurial |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
build/linux-x86_64-normal-server-release/images/j2sdk-image/bin/java -version | |
openjdk version "1.9.0-internal" | |
OpenJDK Runtime Environment (build 1.9.0-internal-artur_2014_11_16_19_39-b00) | |
OpenJDK 64-Bit Server VM (build 1.9.0-internal-artur_2014_11_16_19_39-b00, mixed mode) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment