Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JDK8 build error langtools

I'm trying to build JDK8 but I have an error :

Building OpenJDK for target 'default' in configuration 'linux-x86_64-normal-server-release'

## Starting langtools
/bin/sh: ligne 0 : cd: /home/damien/jdk8/langtools/make: Aucun fichier ou dossier de ce type
/home/damien/jdk8//make/Main.gmk:83: recipe for target 'langtools-only' failed
make: *** [langtools-only] Error 1

What could be causing this?

like image 722
Damien Chesneau Avatar asked Jan 10 '16 08:01

Damien Chesneau


1 Answers

  1. First, you shoud cd to the jdk source home;

  2. And then run ./get_source.sh, if this command return WARNING,try it again;

  3. Now, you can configure and build again;

    Good luck to you.

like image 57
haichao hu Avatar answered Sep 21 '22 18:09

haichao hu