Steps:
- hg clone http://hg.openjdk.java.net/jdk8/jdk8 YourOpenJDK
- cd YourOpenJDK
- bash ./get_source.sh
- bash ./configure
- make all
Errors:
~/OpenJDK/hotspot/src/share/vm/memory/generation.hpp:421:17: error: invalid suffix on literal; C++11 requires a space between literal and string macro [-Werror=literal-suffix]
my experimental machine is Ubuntu 18.04, 64bit. g++ version:
g++ (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
my take is that I need to use a different c++ version to walk around this. Anyone can suggest?
P.S I've posted a related but different thread in my effort to build jdk from source: Failed to build open jdk 8 from source, ubuntu 18.04, 64bit
Aucun commentaire:
Enregistrer un commentaire