- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for java_home (0.17 sec)
-
platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
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: Tue Apr 23 13:43:33 UTC 2024 - 11K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/build_environment.adoc
Gradle provides a number of environment variables, which are listed below. === Setting environment variables Let's take an example that sets the $JAVA_HOME environment variable: [source,text] ---- $ set JAVA_HOME=C:\Path\To\Your\Java\Home // Windows $ export JAVA_HOME=/path/to/your/java/home // Mac/Linux ---- You can access environment variables as properties in the build script using the `System.getenv()` method:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 24 04:19:09 UTC 2024 - 20.1K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/NoDaemonGradleExecuter.java
} final String value = toJvmArgsString(invocation.launcherJvmArgs); environmentVars.put(jvmOptsEnvVar, value); // Always set JAVA_HOME, so the daemon process runs on the configured JVM environmentVars.put("JAVA_HOME", getJavaHome()); } @Override protected List<String> getAllArgs() { List<String> args = new ArrayList<>(super.getAllArgs());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 05:38:50 UTC 2024 - 11.6K bytes - Viewed (0) -
platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/api/plugins/ApplicationPluginIntegrationTest.groovy
} @Requires(UnitTestPreconditions.UnixDerivative) def "can execute generated Unix start script using JAVA_HOME with spaces"() { given: def testJavaHome = file("javahome/java home with spaces") testJavaHome.createLink(Jvm.current().javaHome) when: succeeds('installDist') then: file('build/install/sample').exists()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun May 12 10:33:12 UTC 2024 - 23.6K bytes - Viewed (0) -
.teamcity/src/main/kotlin/common/extensions.kt
param("env.BOT_TEAMCITY_GITHUB_TOKEN", "%github.bot-teamcity.token%") param("env.GRADLE_CACHE_REMOTE_SERVER", "%gradle.cache.remote.server%") param("env.JAVA_HOME", javaHome(buildJvm, os, arch)) param("env.GRADLE_OPTS", "-Xmx1536m") param("env.ANDROID_HOME", os.androidHome) param("env.ANDROID_SDK_ROOT", os.androidHome) param("env.GRADLE_INTERNAL_REPO_URL", "%gradle.internal.repository.url%")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 03 03:39:03 UTC 2024 - 13.1K bytes - Viewed (0) -
build-logic/performance-testing/src/main/kotlin/gradlebuild/performance/PerformanceTestPlugin.kt
// AndroidStudio jvmArgs could be set per project, but at the moment that is not necessary jvmArgumentProviders.add(androidProjectJvmArguments) environment("JAVA_HOME", LazyEnvironmentVariable { javaLauncher.get().metadata.installationPath.asFile.absolutePath }) } } private
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 06:42:07 UTC 2024 - 24.4K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/optimizing-performance/gradle_daemon.adoc
By default, the Gradle daemon runs on the same JVM installation that started the build. Gradle defaults to the current shell path and `JAVA_HOME` environment variable to locate a usable JVM.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 12:43:14 UTC 2024 - 13.1K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/jvm/toolchains.adoc
| Language Version: 7 | Vendor: Oracle | Architecture: x86_64 | Is JDK: false | Detected by: MacOS java_home ---- This can help to debug which toolchains are available to the build, how they are detected and what kind of metadata Gradle knows about those toolchains. [[sub:disable_auto_provision]]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 05:37:54 UTC 2024 - 24.8K bytes - Viewed (0) -
platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ToolingApiClientJdkCompatibilityTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 10:21:26 UTC 2024 - 12.9K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileToolchainIntegrationTest.groovy
apply plugin: "java" """ if (tool != null) { configureTool(tool == "current" ? currentJdk : otherJdk) } if (javaHome != null) { configureForkOptionsJavaHome(javaHome == "current" ? currentJdk : otherJdk) } if (executable != null) { configureForkOptionsExecutable(executable == "current" ? currentJdk : otherJdk) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 10:21:26 UTC 2024 - 23.4K bytes - Viewed (0)