Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for JAVA_HOME (0.36 sec)

  1. apache-maven/src/assembly/shared/init

    if $cygwin || $mingw ; then
      [ -n "$JAVA_HOME" ] &&
        JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
    fi
    
    if [ -n "$JAVA_HOME" ] ; then
      if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
        # IBM's JDK on AIX uses strange locations for the executables
        JAVACMD="$JAVA_HOME/jre/sh/java"
      else
        JAVACMD="$JAVA_HOME/bin/java"
    
        if [ ! -x "$JAVACMD" ] ; then
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Mar 05 22:52:54 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  2. .teamcity/mvnw

      MINGW*) mingw=true;;
      Darwin*) darwin=true
        # Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home
        # See https://developer.apple.com/library/mac/qa/qa1170/_index.html
        if [ -z "$JAVA_HOME" ]; then
          if [ -x "/usr/libexec/java_home" ]; then
            export JAVA_HOME="`/usr/libexec/java_home`"
          else
            export JAVA_HOME="/Library/Java/Home"
          fi
        fi
        ;;
    esac
    
    Shell Script
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Feb 26 01:48:39 GMT 2020
    - 9.8K bytes
    - Viewed (0)
  3. src/main/assemblies/files/service.bat

    TITLE Fess Service
    
    if NOT DEFINED JAVA_HOME goto err
    
    set SCRIPT_DIR=%~dp0
    for %%I in ("%SCRIPT_DIR%..") do set FESS_HOME=%%~dpfI
    
    rem Detect JVM version to figure out appropriate executable to use
    if not exist "%JAVA_HOME%\bin\java.exe" (
    echo JAVA_HOME points to an invalid Java installation (no java.exe found in "%JAVA_HOME%"^). Exiting...
    goto:eof
    )
    
    "%JAVA_HOME%\bin\java" -Xmx50M -version > nul 2>&1
    
    Batch File
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Sun Jan 15 06:32:15 GMT 2023
    - 6K bytes
    - Viewed (0)
  4. gradlew.bat

    :findJavaFromJavaHome
    set JAVA_HOME=%JAVA_HOME:"=%
    set JAVA_EXE=%JAVA_HOME%/bin/java.exe
    
    if exist "%JAVA_EXE%" goto execute
    
    echo.
    echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
    echo.
    echo Please set the JAVA_HOME variable in your environment to match the
    echo location of your Java installation.
    
    goto fail
    
    :execute
    @rem Setup the command line
    
    Batch File
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Fri Nov 25 16:14:58 GMT 2022
    - 2.7K bytes
    - Viewed (0)
  5. .teamcity/mvnw.cmd

    @setlocal
    
    @REM ==== START VALIDATION ====
    if not "%JAVA_HOME%" == "" goto OkJHome
    
    echo.
    echo Error: JAVA_HOME not found in your environment. >&2
    echo Please set the JAVA_HOME variable in your environment to match the >&2
    echo location of your Java installation. >&2
    echo.
    goto error
    
    :OkJHome
    if exist "%JAVA_HOME%\bin\java.exe" goto init
    
    echo.
    echo Error: JAVA_HOME is set to an invalid directory. >&2
    Batch File
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Feb 26 01:48:39 GMT 2020
    - 6.5K bytes
    - Viewed (0)
  6. apache-maven/src/assembly/shared/validate.cmd

    @REM ==== START VALIDATION ====
    if not "%JAVA_HOME%"=="" goto javaHomeSet
    for %%i in (java.exe) do set "JAVACMD=%%~$PATH:i"
    goto checkJavaCmd
    
    :javaHomeSet
    set "JAVACMD=%JAVA_HOME%\bin\java.exe"
    
    if not exist "%JAVACMD%" (
      echo The JAVA_HOME environment variable is not defined correctly, so Apache Maven cannot be started. >&2
      echo JAVA_HOME is set to "%JAVA_HOME%", but "%%JAVA_HOME%%\bin\java.exe" does not exist. >&2
      goto error
    Batch File
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 21 09:29:19 GMT 2021
    - 3.1K bytes
    - Viewed (0)
  7. Jenkinsfile.its

                name: 'ITS_BRANCH' )
      }
      stages {
        stage("Build Maven Core") {
          steps {
            withEnv(["JAVA_HOME=${ tool "JDK 1.8 (latest)" }", "PATH+MAVEN=${tool 'Maven 3.6.3'}/bin:${env.JAVA_HOME}/bin"]) {
                sh "mvn -Drat.skip=true -T2 -B -V install -PversionlessMavenDist -Dmaven.repo.local=${env.WORKSPACE}/repo"
            }
          }
        }
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Dec 26 16:42:35 GMT 2021
    - 2.3K bytes
    - Viewed (0)
  8. gradlew

    if [ -n "$JAVA_HOME" ] ; then
        if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
            # IBM's JDK on AIX uses strange locations for the executables
            JAVACMD=$JAVA_HOME/jre/sh/java
        else
            JAVACMD=$JAVA_HOME/bin/java
        fi
        if [ ! -x "$JAVACMD" ] ; then
            die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
    
    Shell Script
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Dec 24 09:00:26 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  9. apache-maven/src/assembly/shared/run

    # For Cygwin and MinGW, switch paths to Windows format before running java(1) command
    if $cygwin || $mingw ; then
      [ -n "$JAVA_HOME" ] &&
        JAVA_HOME=`cygpath --windows "$JAVA_HOME"`
      LAUNCHER_JAR=`cygpath --windows "$LAUNCHER_JAR"`
      CLASSWORLDS_CONF=`cygpath --windows "$CLASSWORLDS_CONF"`
      MAVEN_HOME=`cygpath --windows "$MAVEN_HOME"`
      MAVEN_PROJECTBASEDIR=`cygpath --windows "$MAVEN_PROJECTBASEDIR"`
    fi
    
    exec "$JAVACMD" \
      $MAVEN_OPTS \
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 21 09:29:19 GMT 2021
    - 740 bytes
    - Viewed (0)
  10. src/packaging/rpm/init.d/fess

    export SEARCH_ENGINE_HOME
    export SEARCH_ENGINE_HTTP_URL
    export FESS_JAVA_OPTS
    export JAVA_HOME
    
    lockfile=/var/lock/subsys/$prog
    
    # backwards compatibility for old config sysconfig files, pre 0.90.1
    if [ -n $USER ] && [ -z $FESS_USER ] ; then 
       FESS_USER=$USER
    fi
    
    checkJava() {
        if [ -x "$JAVA_HOME/bin/java" ]; then
            JAVA="$JAVA_HOME/bin/java"
        else
            JAVA=`which java`
        fi
    
    Shell Script
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Sun Jan 15 06:32:15 GMT 2023
    - 3.7K bytes
    - Viewed (1)
Back to top