Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 68 for jre (0.02 sec)

  1. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/jvm/JvmTest.groovy

            def jvm = new Jvm(os, software.file('jre'), "1.8.0.221", 8)
    
            then:
            jvm.javaHome == software.file('jre')
            !jvm.jdk
            jvm.toolsJar == null
            jvm.javaExecutable == software.file('jre/bin/java.exe')
            jvm.embeddedJre == null
            jvm.standaloneJre == null
            jvm.jre == null
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 00:09:57 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/jvm/Jvm.java

         * This method is intended to be used for user supplied java homes.
         *
         * @param javaHome - location of your jdk or jre (jdk is safer), cannot be null
         * @return jvm for given java home
         * @throws org.gradle.internal.jvm.JavaHomeException when supplied javaHome does not seem to be a valid jdk or jre location
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:57:34 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  3. platforms/jvm/toolchains-jvm/src/test/groovy/org/gradle/internal/jvm/inspection/DefaultJavaInstallationRegistryTest.groovy

        }
    
        def "normalize installations to account for standalone jre"() {
            given:
            def jre = createJreInstallation("8")
    
            when:
            def registry = createRegistry([jre])
            def installations = registry.listInstallations()
    
            then:
            installations.size() == 1
            installations[0].location == jre
            installations[0].source == "testSource"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:46:10 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. README.md

    Guava's Maven group ID is `com.google.guava`, and its artifact ID is `guava`.
    Guava provides two different "flavors": one for use on a (Java 8+) JRE and one
    for use on Android or by any library that wants to be compatible with Android.
    These flavors are specified in the Maven version field as either `33.2.1-jre` or
    `33.2.1-android`. For more about depending on Guava, see
    [using Guava in your build].
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 31 17:43:52 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AvailableJavaHomes.java

        }
    
        /**
         * Locates a JRE installation for the current JVM. Prefers a stand-alone JRE installation over one that is part of a JDK install.
         *
         * @return The JRE home directory, or null if not found
         */
        public static File getBestJre() {
            Jvm jvm = Jvm.current();
            File jre = jvm.getStandaloneJre();
            if (jre != null) {
                return jre;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 06:42:07 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. integration-tests/gradle/build.gradle.kts

        ?: error("version not found in pom")
    
    val expectedReducedRuntimeClasspathAndroidVersion =
      setOf(
        "guava-${guavaVersionJre.replace("jre", "android")}.jar",
        "failureaccess-1.0.2.jar",
        "jsr305-3.0.2.jar",
        "checker-qual-3.43.0.jar",
        "error_prone_annotations-2.28.0.jar",
        "listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar"
      )
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 03 20:33:34 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. platforms/jvm/toolchains-jvm/src/test/groovy/org/gradle/jvm/toolchain/internal/ShowToolchainsTaskTest.groovy

         | Location:           {description}path{normal}
         | Language Version:   {description}14{normal}
         | Vendor:             {description}AdoptOpenJDK{normal}
         | Architecture:       {description}archName{normal}
         | Is JDK:             {description}false{normal}
         | Detected by:        {description}TestSource{normal}
    
    {identifier} + AdoptOpenJDK JRE 15-ea+2{normal}
         | Location:           {description}path{normal}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:55 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  8. guava-testlib/README.md

    ```xml
    <dependency>
      <groupId>com.google.guava</groupId>
      <artifactId>guava-testlib</artifactId>
      <version>33.2.1-jre</version>
      <scope>test</scope>
    </dependency>
    ```
    
    To add a dependency using Gradle:
    
    ```gradle
    dependencies {
      test 'com.google.guava:guava-testlib:33.2.1-jre'
    }
    ```
    
    ## Links
    
    -   [GitHub project](https://github.com/google/guava)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 31 17:43:52 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/DaemonJavaCompilerIntegrationTest.groovy

        @Requires([
            UnitTestPreconditions.Jdk8OrEarlier,
            UnitTestPreconditions.JdkOracle
        ])
        def "handles -bootclasspath being specified"() {
            def jre = AvailableJavaHomes.getBestJre()
            def bootClasspath = TextUtil.escapeString(jre.absolutePath) + "/lib/rt.jar"
            goodCode()
            buildFile << """
                tasks.withType(JavaCompile) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:39 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/jvm/toolchains.adoc

    [[sec:precedence]]
    == Toolchain installations precedence
    
    Gradle will sort all the JDK/JRE installations matching the toolchain specification of the build and will pick the first one.
    Sorting is done based on the following rules:
    
    . the installation currently running Gradle is preferred over any other
    . JDK installations are preferred over JRE ones
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 05:37:54 UTC 2024
    - 24.8K bytes
    - Viewed (0)
Back to top