Ubuntu 16.04 compile JDK source code
1. Environment
OS: Ubuntu 16.04
JDK Source Code: openjdk-8u40-src-b25-10_feb_2015.zip (download from 链接: https://pan.baidu.com/s/1cMsqMa 密码: v8jc)
JDK Binary: openjdk-7u75-b13-linux-x64-18_dec_2014.tar.gz (download from 链接: https://pan.baidu.com/s/1qYdk1SK 密码: 1a9d)
2. Install Dependency
sudo apt-get install build-essential gawk m4 openjdk-6-jdk libasound2-dev libcups2-dev libxrender-dev xutils-dev xorg-dev x11proto-print-dev binutils libmotif-common libmotif-dev ant
3. .bashrc setup
4. Trouble Shotting
modify ~/openjdk/hotspot/make/linux/Makefile
SUPPORTED_OS_VERSION add 4%
reference: http://www.jackieathome.net/archives/395.html
5. Result ScreenShot