- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 53 for java_home (0.21 sec)
-
mvnw
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 JAVA_HOME="$(/usr/libexec/java_home)"; export JAVA_HOME else JAVA_HOME="/Library/Java/Home"; export JAVA_HOME fi fi ;; esac
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 16 20:48:20 UTC 2023 - 11K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/execution/commandline/CommandLineIntegrationTest.groovy
when: String javaHome = Jvm.current().javaHome String expectedJavaHome = "-PexpectedJavaHome=${javaHome}" then: // Handle JAVA_HOME specified executer.withJavaHome(javaHome).withArguments(expectedJavaHome).withTasks('checkJavaHome').run() // Handle JAVA_HOME with trailing separator
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:22 UTC 2024 - 12K bytes - Viewed (0) -
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/releases/troubleshooting.adoc
=== JAVA_HOME is set to an invalid directory If you get an error like: ---- ERROR: JAVA_HOME is set to an invalid directory ---- Set the JAVA_HOME variable in your environment to match the location of your Java installation: ---- $ export JAVA_HOME=/Users/user/Library/Java/JavaVirtualMachines/corretto-11.0.22/Contents/Home $ echo $JAVA_HOME
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Apr 06 02:22:03 UTC 2024 - 11.5K 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/documentation/docs/src/docs/userguide/releases/installation.adoc
---- ❯ echo $PATH /opt/homebrew/opt/openjdk@17/bin ---- You can also set the `JAVA_HOME` environment variable to point to a specific JDK installation directory. This is especially useful when multiple JDKs are installed: ---- ❯ echo %JAVA_HOME% C:\Program Files\Java\jdk1.7.0_80 ---- ---- ❯ echo $JAVA_HOME /Library/Java/JavaVirtualMachines/jdk-16.jdk/Contents/Home ----
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Feb 05 18:33:11 UTC 2024 - 10.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) -
ci/devinfra/docker_windows/Dockerfile
$old_path = [Environment]::GetEnvironmentVariable(\"PATH\", \"Machine\"); \ [Environment]::SetEnvironmentVariable(\"PATH\", $old_path + \";${zulu_root}\bin\", \"Machine\"); \ [Environment]::SetEnvironmentVariable(\"JAVA_HOME\", $zulu_root, \"Machine\") # Install gcloud (install.bat installs directly into bin folder of extracted zip contents) # Install needed gcloud components RUN Add-Type -AssemblyName "System.IO.Compression.FileSystem"; \
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 18 17:24:20 UTC 2023 - 13.6K bytes - Viewed (0)