linux compile alibaba dragonwell 8 jdk

Alibaba released dragonwell 8 jdk for public. but seems it currently only support RHEL and centos family.

Compile on debian and ubuntu failed, due to not compact kernel + gcc tool chains.

following was my compile notes. hope will help you

 

you can download my build : https://github.com/netroby/dragonwell8/releases/download/1.8.0-25.71-b00/openjdk-1.8-from-alibaba-for-centos7.tgz

 

sudo apt-get install libx11-dev libxext-dev libxrender-dev libxtst-dev libxt-dev libcups2-dev \
 libfreetype6-dev   libxfixes-dev libxi-dev   x11proto-fixes-dev x11proto-input-dev  \
x11proto-record-dev   x11proto-xext-dev   libasound2-dev build-essential unzip \
  libzip4 zlib1g-dev  zip openjdk-8-jdk -y 
chmod +x configure 
./configure --prefix=/usr/local --with-freetype-include=/usr/include/freetype2  \
--with-freetype-lib=/usr/lib/x86_64-linux-gnu 
make  
sudo make install 
---------------- 
sudo yum install unzip zip java-1.7.0-openjdk-devel libXtst-devel libXt-devel \
 libXrender-devel cups-devel freetype-devel alsa-lib-devel   -y 
sudo yum groupinstall "Development Tools" 
make  
sudo make install 

Post: 2019.03.26 10:33

Views: 503

Edit blog

Follow me: @twitter @github
Scan QR code and Donate me via alipay:
donate me via alipay
Donate me Bitcoin:136MYemy5QmmBPLBLr1GHZfkES7CsoG4Qh
Powered by josense, Last updated: 2019-04-15 09:45 RSS