TencentKona-8 arm版本编译 jdk arm版本编译

网上搜出来的教程都太差劲了,一个简单的编译教程都没有。。。诸多java大神没编译过么。就会简单的调用api啊源码不看啊。服了!

 

1.源码(arm分支)

https://github.com/Tencent/TencentKona-8/tree/dev_aarch64

 

2.

bash ./configure

会提示相关问题。

TencentKona-8需要jdk1.8

yum install java-1.8.0-openjdk-devel.aarch64

https://www.jianshu.com/p/093413f2a04f,具体参考这个

根据报错进行处理就行了。

sudo yum groupinstall "Development Tools"
sudo yum install libXtst-devel libXt-devel libXrender-devel
sudo yum install cups-devel
sudo yum install freetype-devel
sudo yum install alsa-lib-devel
sudo yum install ccache
yum install ccache
make all  
出错的话 
make clean

3.相关错误

Rpmdb checksum is invalid: dCDPT(pkg checksums):

yum clean all
rpm --rebuilddb
yum makecahe

4.编译完路径:

${your openjdk source code dir}/build/linux-aarch64-normal-server-*/images/j2sdk-image目录下

你可能感兴趣的:(运维)