set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_VERSION 1)

set(CMAKE_C_COMPILER /usr/bin/gcc)
set(CMAKE_CXX_COMPILER /usr/bin/g++)

set(CMAKE_FIND_ROOT_PATH /)
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)

set(JAVA_AWT_LIBRARY /usr/local/jvm/openjdk-1.8.0-internal/jre/lib/amd64/libjawt.so)
set(JAVA_JVM_LIBRARY /usr/local/jvm/openjdk-1.8.0-internal/jre/lib/amd64/server/libjvm.so)
set(JAVA_INCLUDE_PATH /usr/local/jvm/openjdk-1.8.0-internal/include/)
set(JAVA_INCLUDE_PATH2 /usr/local/jvm/openjdk-1.8.0-internal/include/linux/)
set(JAVA_AWT_INCLUDE_PATH /usr/local/jvm/openjdk-1.8.0-internal/include/)