0.

use oracle JDK,not OpenJDK

1.

遇到错误Error:./gamma: relocation error: /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/libjava.so: symbol JVM_FindClassFromCaller, version SUNWprivate_1.1 not defined in file libjvm.so with link time reference   

修改文件:/home/westward/soft/openjdk-7u-40/openjdk/hotspot/make/linux/Makefile   (yuandaima)

去掉文件中所有的test_gamma即可

 

2.

./gamma: relocation error: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.36.x86_64/jre/lib/amd64/libjava.so: symbol JVM_FindClassFromCaller, version SUNWprivate_1.1 not defined in file libjvm.so with link time reference

通过vim `find . -name 'CurrencyData.properties'` 把里面的时间改在10年之内就可以了

//~/soft/openjdk-7u-40/openjdk/jdk/src/share/classes/java/util/CurrencyData.properties   (yuandaima)

posted on 2017-03-19 15:13  WesTward  阅读(270)  评论(0编辑  收藏  举报