opensuse: revert java path
@@ -96,7 +96,7 @@ RUN useradd \
RUN cd /tmp && wget https://services.gradle.org/distributions/gradle-7.4-bin.zip && unzip gradle-7.4-bin.zip && rm gradle-7.4-bin.zip && mv gradle-7.4 /opt/gradle
RUN alternatives --auto java && alternatives --auto javac
ENV PATH="${PATH}:/opt/gradle/bin" \
- JAVA_HOME="/usr/lib/jvm/java"
+ JAVA_HOME="/etc/alternatives/jre"
USER ${JENKINS_USERID}
