Re: Jenkins not able to launch the slave due to unrecognizable JAVA_HOME

2024-04-19 Thread 'Maciej Jaros' via Jenkins Users
Just do this on the agent: * Get JDK 17 from Adoptium (Linux x64 in my case). * Unpack to |/var/jenkins|. * Rename unpacked “jdk[version]” to “jdk”. * Check: |/var/jenkins/jdk/bin/java -version| Jenkins agent will use

Re: Jenkins not able to launch the slave due to unrecognizable JAVA_HOME

2024-04-18 Thread 'Dirk Heinrichs' via Jenkins Users
Am Donnerstag, dem 18.04.2024 um 09:40 -0700 schrieb Sai Bhargav Kottisa: Agent machine (/etc/java/Openjdk_17.0.6.0/bin/java drwxr-xr-x 10 rootroot 131 Jan 14 2023Openjdk_17.0.6.0) As already written by Mark, you should NOT install things into

Re: Jenkins not able to launch the slave due to unrecognizable JAVA_HOME

2024-04-18 Thread Ivan Fernandez Calvo
[SSH] The remote user's environment is: Checking Java version in the PATH Java is not in the PATH nor configured with the javaPath setting, What happens if you enter by SSH in the agent with the same user you use to connect the Jenkins controller and execute java? >ssh

Re: Jenkins not able to launch the slave due to unrecognizable JAVA_HOME

2024-04-18 Thread Sai Bhargav Kottisa
Hi, I have upgraded java on both the controller and agent machines to OpenJdk 17 and tried to launch again via ssh but still i am getting the same error *Controller* machine(*/usr/lib/jvm/Openjdk_17.0.6.0/bin/java* * drwxr-xr-x* 10 *root* *root* 131 Jan 13

Re: Jenkins not able to launch the slave due to unrecognizable JAVA_HOME

2024-04-15 Thread Ivan Fernandez Calvo
>Jenkins not able to launch the slave due to unrecognizable JAVA_HOME Stop using Slave and use Agent as a name for the Build Agents attached to the Jenkins Controller (no longer master) >so could anyone please help as it is urgent This is a User group, so NOTHING here is urgent. If someone can

Re: Jenkins not able to launch the slave due to unrecognizable JAVA_HOME

2024-04-15 Thread Mark Waite
On Monday, April 15, 2024 at 7:09:03 AM UTC-7 Sai wrote: Hi, I have the below machine config *(Master Jenkins)* OS RedHat Enterprise Linux 7.6 openjdk version "11.0.22" 2024-01-16 LTS path: /usr/lib/jvm/java-11-openjdk-11.0.22.0.7-1.el7_9.x86_64/bin/java The Jenkins project stopped

Jenkins not able to launch the slave due to unrecognizable JAVA_HOME

2024-04-15 Thread Sai Bhargav Kottisa
Hi, I have the below machine config *(Master Jenkins)* OS RedHat Enterprise Linux 7.6 openjdk version "11.0.22" 2024-01-16 LTS path: /usr/lib/jvm/java-11-openjdk-11.0.22.0.7-1.el7_9.x86_64/bin/java * (Slave Jenkins)* RHEL VERSION=7.9 (Maipo) openjdk version "12.0.2" 2019-07-16 path: