Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 144 for java_home (0.23 sec)

  1. gradlew.bat

    goto fail
    
    :findJavaFromJavaHome
    set JAVA_HOME=%JAVA_HOME:"=%
    set JAVA_EXE=%JAVA_HOME%/bin/java.exe
    
    if exist "%JAVA_EXE%" goto execute
    
    echo. 1>&2
    echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
    echo. 1>&2
    echo Please set the JAVA_HOME variable in your environment to match the 1>&2
    echo location of your Java installation. 1>&2
    
    goto fail
    
    :execute
    @rem Setup the command line
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 08:31:48 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/windowsStartScript.txt

    goto fail
    
    :findJavaFromJavaHome
    set JAVA_HOME=%JAVA_HOME:"=%
    set JAVA_EXE=%JAVA_HOME%/bin/java.exe
    
    if exist "%JAVA_EXE%" goto execute
    
    echo. 1>&2
    echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
    echo. 1>&2
    echo Please set the JAVA_HOME variable in your environment to match the 1>&2
    echo location of your Java installation. 1>&2
    
    goto fail
    
    :execute
    @rem Setup the command line
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 13:16:41 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. integration-tests/gradle/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
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Oct 31 19:07:19 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  4. .teamcity/jdks.yaml

        os: linux
        arch: amd64
        vendor: "oracle"
        version: "8u401"
        sha256: 19684fccd7ff32a8400e952a643f0049449a772ef63b8037d5b917cbd137d173
      - params: [ "env.JAVA_HOME", "linux.java11.openjdk.64bit" ]
        os: linux
        arch: amd64
        vendor: "temurin"
        version: "jdk-11.0.23+9"
        sha256: 23e47ea7a3015be3240f21185fd902adebdcf76530757c9b482c7eb5bd3417c2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 06:42:07 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. 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
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 11:20:16 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  6. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/environment/JreJavaHomeJavaIntegrationTest.groovy

            given:
            writeJavaTestSource("src/main/java");
            file('build.gradle') << """
            apply plugin:'java'
            compileJava {
                options.fork = ${forkMode}
            }
            """
            def envVars = System.getenv().findAll { !(it.key in ['GRADLE_OPTS', 'JAVA_HOME', 'Path']) }
            envVars.put("Path", "C:\\Windows\\System32")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  7. 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
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 16 20:48:20 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  8. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/environment/JreJavaHomeScalaIntegrationTest.groovy

        @Rule public final ZincScalaCompileFixture zincScalaCompileFixture = new ZincScalaCompileFixture(executer, temporaryFolder)
    
        @Requires(IntegTestPreconditions.BestJreAvailable)
        def "scala java cross compilation works when JAVA_HOME is set to JRE"() {
            given:
            def jreJavaHome = AvailableJavaHomes.bestJre
            file("src/main/scala/org/test/JavaClazz.java") << """
                        package org.test;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  9. 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
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Dec 24 09:00:26 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  10. platforms/jvm/plugins-groovy/src/integTest/groovy/org/gradle/groovy/environment/JreJavaHomeGroovyIntegrationTest.groovy

    class JreJavaHomeGroovyIntegrationTest extends AbstractIntegrationSpec {
    
        @Requires(IntegTestPreconditions.BestJreAvailable)
        def "groovy java cross compilation works in forking mode = #forkMode when JAVA_HOME is set to JRE"() {
            given:
            def jreJavaHome = AvailableJavaHomes.bestJre
            writeJavaTestSource("src/main/groovy")
            writeGroovyTestSource("src/main/groovy")
            file('build.gradle') << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 12 18:44:49 UTC 2023
    - 3.5K bytes
    - Viewed (0)
Back to top