Closed
Description
I am following the instructions in the README and having run make -f run_configure.mk
to configure the environment I then ran make test
and the build fails because it can't find the javac compiler (see output below)
helens-mbp:TestConfig helenmasters$ make test
Running make 3.81
set JAVA_BIN to /Users/helenmasters/openjdk/j2sdk-image/bin
set SPEC to SPEC=linux_x86-64
set JAVA_VERSION to SE80
set SRC_ROOT to /Users/helenmasters/openjdk-tests/TestConfig/..
set BUILD_ROOT to /Users/helenmasters/openjdk-tests/TestConfig/../../jvmtest
set JAVA_VERSION to SE80
ant -f /Users/helenmasters/openjdk-tests/TestConfig/../TestConfig/scripts/build_test.xml -DSRC_ROOT=/Users/helenmasters/openjdk-tests/TestConfig/.. -DBUILD_ROOT=/Users/helenmasters/openjdk-tests/TestConfig/../../jvmtest -DJAVA_BIN=/Users/helenmasters/openjdk/j2sdk-image/bin -DJAVA_VERSION=SE80 -DJCL_VERSION=latest
Buildfile: /Users/helenmasters/openjdk-tests/TestConfig/scripts/build_test.xml
[echo] JAVA_BIN is /Users/helenmasters/openjdk/j2sdk-image/bin
-create_test_directory:
stage_test_material:
[copy] Copying 3 files to /Users/helenmasters/jvmtest
build:
build:
init:
dist:
[copy] Copying 1 file to /Users/helenmasters/jvmtest/OpenJDK_Playlist
build:
init:
compile:
[echo] Ant version is Apache Ant(TM) version 1.10.1 compiled on February 2 2017
[echo] ============COMPILER SETTINGS============
[echo] ===fork: yes
[echo] ===executable: /Users/helenmasters/openjdk/j2sdk-image/bin/../../bin/javac
[echo] ===debug: on
[echo] ===destdir: /Users/helenmasters/jvmtest/TestExample/SE80
[javac] Compiling 4 source files to /Users/helenmasters/openjdk-tests/TestExample/bin
BUILD FAILED
/Users/helenmasters/openjdk-tests/TestConfig/scripts/build_test.xml:40: The following error occurred while executing this line:
/Users/helenmasters/openjdk-tests/TestExample/build.xml:58: The following error occurred while executing this line:
/Users/helenmasters/openjdk-tests/TestExample/build.xml:29: Error running /Users/helenmasters/openjdk/j2sdk-image/bin/../../bin/javac compiler
Total time: 0 seconds
make: *** [compile] Error 1