# Attempting to upgrade from 2.195 with outdated plugins as well

**URL:** <https://community.jenkins.io/t/attempting-to-upgrade-from-2-195-with-outdated-plugins-as-well/9716>\
**Category:** Ask a question\
**Created:** [September 20, 2023, 8:03pm UTC](https://community.jenkins.io/t/attempting-to-upgrade-from-2-195-with-outdated-plugins-as-well/9716 "2023-09-20T20:03:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hicpics](https://avatars.discourse-cdn.com/v4/letter/h/f17d59/32.png) [@hicpics](https://community.jenkins.io/u/hicpics)\
**Post date:** [September 20, 2023, 8:03pm UTC](https://community.jenkins.io/t/attempting-to-upgrade-from-2-195-with-outdated-plugins-as-well/9716/1 "2023-09-20T20:03:42Z")

</div>

I have installed/verified that JAVA 8.381 is installed and availabe, i have installed the 17 sdk but not sure why it is not showing up. but when i select auto update this failed message is what i get back.

sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target  
at sun.security.provider.certpath.SunCertPathBuilder.build(Unknown Source)  
at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown Source)  
at java.security.cert.CertPathBuilder.build(Unknown Source)  
Caused: sun.security.validator.ValidatorException: PKIX path building failed  
at sun.security.validator.PKIXValidator.doBuild(Unknown Source)  
at sun.security.validator.PKIXValidator.engineValidate(Unknown Source)  
at sun.security.validator.Validator.validate(Unknown Source)  
at sun.security.ssl.X509TrustManagerImpl.validate(Unknown Source)  
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)  
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)  
Caused: javax.net.ssl.SSLHandshakeException  
at sun.security.ssl.Alerts.getSSLException(Unknown Source)  
at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)  
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)  
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)  
at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)  
at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)  
at sun.security.ssl.Handshaker.processLoop(Unknown Source)  
at sun.security.ssl.Handshaker.process\_record(Unknown Source)  
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)  
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)  
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)  
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)  
at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)  
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)  
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)  
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)  
at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown Source)  
at java.net.URLConnection.getHeaderFieldLong(Unknown Source)  
at java.net.URLConnection.getContentLengthLong(Unknown Source)  
at java.net.URLConnection.getContentLength(Unknown Source)  
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getContentLength(Unknown Source)  
at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1161)  
Caused: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target  
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)  
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)  
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)  
at java.lang.reflect.Constructor.newInstance(Unknown Source)  
at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source)  
at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source)  
at java.security.AccessController.doPrivileged(Native Method)  
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)  
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)  
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)  
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)  
at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1177)  
Caused: java.io.IOException: Failed to load [https://updates.jenkins.io/download/war/2.423/jenkins.war](https://updates.jenkins.io/download/war/2.423/jenkins.war) to C:\Program Files\Jenkins\jenkins.war.tmp  
at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1184)  
Caused: java.io.IOException: Failed to download from [https://updates.jenkins.io/download/war/2.423/jenkins.war](https://updates.jenkins.io/download/war/2.423/jenkins.war)  
at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1218)  
at hudson.model.UpdateCenter$DownloadJob.\_run(UpdateCenter.java:1766)  
at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1740)  
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)  
at java.util.concurrent.FutureTask.run(Unknown Source)  
at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:111)  
at java.lang.Thread.run(Unknown Source)

---

<div class="post-metadata">

**Author:** ![MarkEWaite](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/markewaite/32/20_2.png) [@MarkEWaite](https://community.jenkins.io/u/MarkEWaite)\
**Post date:** [September 21, 2023, 11:10am UTC](https://community.jenkins.io/t/attempting-to-upgrade-from-2-195-with-outdated-plugins-as-well/9716/2 "2023-09-21T11:10:42Z")

</div>

> [@hicpics](#):
>
> when i select auto update this failed message is what i get back.
> 
> sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

That likely indicates that the JDK running your Jenkins 2.195 controller is outdated enough that it does not support the Let’s Encrypt SSL certificates that are used by the Jenkins sites. There is a [stack overflow answer](https://stackoverflow.com/questions/34110426/does-java-support-lets-encrypt-certificates) that will tell you more about it.

You can download the Jenkins war file with your web browser from the [Jenkins download page](https://www.jenkins.io/download/) instead of attempting to download from inside Jenkins itself.

Upgrading in a single step from Jenkins 2.195 to Jenkins 2.414.2 may bring many surprises, since you’re upgrading across multiple years of Jenkins versions and major Java versions.

---

<div class="post-metadata">

**Author:** ![hicpics](https://avatars.discourse-cdn.com/v4/letter/h/f17d59/32.png) [@hicpics](https://community.jenkins.io/u/hicpics)\
**Post date:** [September 21, 2023, 2:53pm UTC](https://community.jenkins.io/t/attempting-to-upgrade-from-2-195-with-outdated-plugins-as-well/9716/3 "2023-09-21T14:53:33Z")

</div>

Thank you. Just curious how do i find what java jenkins is using. I actually uninstalled all the JAVA that i had previously installed and Jenkins still runs. i found a jvm.dll under the Jenkins folder and suspect it is using it but how could i verify that or change Jenkins to use the newly installed one.  
and as for updated the current Jenkins to the latest Jenkins i have no problem with installing new and starting fresh. But when i tested this before i couldn’t get the current jobs imported to the new Jenkins installation. These jobs are not complicated jobs but when i tried to setup a job on new version i couldn’t get it working. email kept failing and i was not able to dig deep enough into finding out how it was email on the old version.

---

<div class="post-metadata">

**Author:** ![MarkEWaite](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/markewaite/32/20_2.png) [@MarkEWaite](https://community.jenkins.io/u/MarkEWaite)\
**Post date:** [September 22, 2023, 3:42am UTC](https://community.jenkins.io/t/attempting-to-upgrade-from-2-195-with-outdated-plugins-as-well/9716/4 "2023-09-22T03:42:00Z")

</div>

> [@hicpics](#):
>
> Just curious how do i find what java jenkins is using

The “Manage Jenkins” → “System Information” page will usually show the Java version that is running.

---

<div class="post-metadata">

**Author:** ![hicpics](https://avatars.discourse-cdn.com/v4/letter/h/f17d59/32.png) [@hicpics](https://community.jenkins.io/u/hicpics)\
**Post date:** [September 22, 2023, 7:29pm UTC](https://community.jenkins.io/t/attempting-to-upgrade-from-2-195-with-outdated-plugins-as-well/9716/5 "2023-09-22T19:29:11Z")

</div>

Cool and yes it is configured to use the JVE folder installed under jenkins. What configuration file controls that in Jenkins. i don’t see any option for changing it so there must be a config/xml file that controls that.
