Building Valhalla
Maurizio Cimadamore
maurizio.cimadamore at oracle.com
Fri Dec 2 21:40:11 UTC 2016
I think you are using a bootstrap JDK that is too recent (looks like JDK
9 b146?).
Try using JDK 8 as bootstrap.
Maurizio
On 02/12/16 19:58, Rahman USTA wrote:
> Hello,
>
> I'm getting following errors when I try to build Valhalla.
>
> Java HotSpot(TM) 64-Bit Server VM (build 9-ea+146, mixed mode)
>
> Building target 'images' in configuration
> 'linux-x86_64-normal-server-release'
> Compiling 1043 files for BUILD_INTERIM_LANGTOOLS
>
> ERROR: Build failed for target 'images' in configuration
> 'linux-x86_64-normal-server-release' (exit code 2)
> === Output from failing command(s) repeated here ===
> * For target
> buildtools_langtools_interim_classes__the.BUILD_INTERIM_LANGTOOLS_batch:
> /opt/valhalla/langtools/src/java.compiler/share/classes/javax/annotation/processing/AbstractProcessor.java:26:
> error: package exists in another module: java.compiler
> package javax.annotation.processing;
> ^
> /opt/valhalla/langtools/src/java.compiler/share/classes/javax/annotation/processing/Completion.java:26:
> error: package exists in another module: java.compiler
> package javax.annotation.processing;
> ^
> /opt/valhalla/langtools/src/java.compiler/share/classes/javax/annotation/processing/Completions.java:26:
> error: package exists in another module: java.compiler
> package javax.annotation.processing;
> ^
> /opt/valhalla/langtools/src/java.compiler/share/classes/javax/annotation/processing/Filer.java:26:
> error: package exists in another module: java.compiler
> package javax.annotation.processing;
> ^
> ... (rest of output omitted)
> === End of repeated output ===
> No indication of failed target found.
> Hint: Try searching the build log for '] Error'.
> Hint: If caused by a warning, try configure --disable-warnings-as-errors.
>
> How can I solve this issue ?
>
> Thanks
>
More information about the valhalla-dev
mailing list