![]() gz) of the JAVA_HOME directory, so it includes the bin, lib, include, jre, etc. Here's an example of getting the archive file from a local directory on Linux. Go to the bottom of the file and add the following line: user ALL=NOPASSWD: /usr/sbin/installer (Replace user with the actual user alias).You can follow the next steps to enable this permission: ![]() To run the Java Tool Installer task on macOS, it is required for the user under which the agent is running to have permission to execute the sudo command without a password. Use this task to change the version of Java used in Java tasks. # Acquires a specific version of Java from a user supplied Azure blob or the tools cache and sets JAVA_HOME. #cleanDestinationDirectory: true # boolean. JdkSourceOption: # 'AzureStorage' | 'LocalDirectory'. Use when jdkSourceOption != PreInstalled. Required when jdkSourceOption != PreInstalled. Required when jdkSourceOption = AzureStorage. ![]() ![]() Required when jdkSourceOption = LocalDirectory. JdkSourceOption: # 'AzureStorage' | 'LocalDirectory' | 'PreInstalled'. # Acquire a specific version of Java from a user-supplied Azure blob or the tool cache and sets JAVA_HOME.
0 Comments
Leave a Reply. |