Skip to content

Java runtime required, but not mentioned in requirements. #7

Description

@aminiussi

Hi,

The linux requirements mention:

            kernel 2.6+ ;
            gcc 4.4+ ;
            cmake 2.8+

But Java is required in CMake file:

find_package (JNI REQUIRED)

As a result, config fails with:

[alainm@gemini rel]$ cmake .. -DCMAKE_BUILD_TYPE=Release
CMake Error at /trinity/shared/apps/170135/x86_64/cmake-3.9.4/share/cmake-3.9/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find JNI (missing: JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2
  JAVA_AWT_INCLUDE_PATH)
Call Stack (most recent call first):
  /trinity/shared/apps/170135/x86_64/cmake-3.9.4/share/cmake-3.9/Modules/FindPackageHandleStandardArgs.cmake:377 (_FPHSA_FAILURE_MESSAGE)
  /trinity/shared/apps/170135/x86_64/cmake-3.9.4/share/cmake-3.9/Modules/FindJNI.cmake:310 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:5 (find_package)


-- Configuring incomplete, errors occurred!
See also "/beegfs/home/alainm/install/plast-library/rel/CMakeFiles/CMakeOutput.log".
[alainm@gemini rel]$ 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions