FU Logo
  • Startseite
  • Kontakt
  • Impressum
  • Home
  • Listenauswahl
  • Anleitungen

Re: [Seqan-dev] cmake - java version ?

<-- thread -->
<-- date
  • From: "Holtgrewe, Manuel" <manuel.holtgrewe@fu-berlin.de>
  • To: SeqAn Development <seqan-dev@lists.fu-berlin.de>
  • Date: Tue, 22 Oct 2013 09:15:19 +0200
  • Reply-to: SeqAn Development <seqan-dev@lists.fu-berlin.de>
  • Subject: Re: [Seqan-dev] cmake - java version ?

Hi Bernd,

yes, we only need Java for CTD packacking since the jar command included with the JDK distribution allows us to create ZIP files (jar files are just zip files).

We use CMake's standard find_package script that gets installed when you install CMake on your Linux. This in turn means that the problem is 99.99% on the side of your CMake version or the software installation on your Linux boxen....

Looking into the FindJava.cmake file it looks like it's only a problem in CMake's error message (see bottom).

To fix this, you would have to install the JDK.

HTH,
Manuel

IF(Java_JAVA_EXECUTABLE)
    EXECUTE_PROCESS(COMMAND ${Java_JAVA_EXECUTABLE} -version
      RESULT_VARIABLE res
      OUTPUT_VARIABLE var
      ERROR_VARIABLE var # sun-java output to stderr
      OUTPUT_STRIP_TRAILING_WHITESPACE
      ERROR_STRIP_TRAILING_WHITESPACE)
    IF( res )
      IF(${Java_FIND_REQUIRED})
        MESSAGE( FATAL_ERROR "Error executing java -version" )
      ELSE()
        MESSAGE( STATUS "Warning, could not run java --version")
      ENDIF()
    ELSE()
________________________________________
From: Bernd Jagla [bernd.jagla@pasteur.fr]
Sent: Tuesday, October 08, 2013 9:02 AM
To: seqan-dev@lists.fu-berlin.de
Subject: [Seqan-dev] cmake - java version ?

Hi,

when executing "cmake ." I get the following warning:

-- Warning, could not run java --version

when trying to run java, I see it is installed (not a given... ) but
there is no option "--version" just "-version"

Here is what is installed:

java version "1.7.0_25"
OpenJDK Runtime Environment (rhel-2.3.10.4.el6_4-x86_64)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)

I guess it is not that important...

Anyways any idea on how to remove this warning is appreciated...

Thanks,

Bernd

_______________________________________________
seqan-dev mailing list
seqan-dev@lists.fu-berlin.de
https://lists.fu-berlin.de/listinfo/seqan-dev



<-- thread -->
<-- date
  • References:
    • [Seqan-dev] cmake - java version ?
      • From: Bernd Jagla <bernd.jagla@pasteur.fr>
  • seqan-dev - October 2013 - Archives indexes sorted by:
    [ thread ] [ subject ] [ author ] [ date ]
  • Complete archive of the seqan-dev mailing list
  • More info on this list...

Hilfe

  • FAQ
  • Dienstbeschreibung
  • ZEDAT Beratung
  • postmaster@lists.fu-berlin.de

Service-Navigation

  • Startseite
  • Listenauswahl

Einrichtung Mailingliste

  • ZEDAT-Portal
  • Mailinglisten Portal