zowe / sample-spring-boot-api-service

Zowe REST API service SDK and sample API service that integrates with Zowe API Mediation Layer
Other
26 stars 18 forks source link

Use the value of JAVA_HOME in the environment instead of setting it in makefile #99

Closed plavjanik closed 4 years ago

plavjanik commented 4 years ago

Fixes the problem that caused zowe-api-dev zosbuild failure:

"./wtojni.cpp", line 10.10: CCN5836 (S) The #include file <jni.h> is not found.

The zowe-api-dev zosbuild command has been setting JAVA_HOME environment variable but the makefiles have overridden it since := works differently than in GNU makefile.

Reported by @ankitachdhr145

Signed-off-by: Petr Plavjanik plavjanik@gmail.com