JDK installer from java.sun.com is asking for the JDK ID

81 views
Skip to first unread message

Eugen Paraschiv

unread,
Dec 9, 2015, 5:36:56 AM12/9/15
to Jenkins Users
Hi,
I'm configuring my newly installed Jenkins server (v1.640, running in a Tomcat 8 on an Ubuntu box) - and I'm trying to install the JDK within Jenkins.
I went with the "Install from java.sun.com" installer, filled in my Oracle account credentials, but now it's asking me to "Define JDK ID" with no auto-complete options and no hint of what that ID should be.
I can think of a few options here: 1.8.0_66, JDK 8, etc - but without a clear indication of what that ID should be, I can't know for sure.
Is this the way this installation should work, or am I missing something?
Also - a minor question - shouldn't the option be called "Install from oracle.com"?
Cheers,
Eugen.

Mark Waite

unread,
Dec 9, 2015, 10:18:55 AM12/9/15
to Jenkins Users
I've seen a similar behavior with other tools and recent versions of Java 8.  For example, when I define that maven 3.3.9 should be downloaded from apache, sometimes it shows the pick list, and other times it does not.  Likewise, when I define that ant 1.9.6 should be downloaded from apache, sometimes it shows the pick list, other times it does not.  The same happens to me with the JDK installers.

My temporary work around was to host the tool installers that I need on a locally hosted http server.

I believe the same behavior does not happen with Java 7, though I am not 100% certain of that.

Mark Waite

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/ddce76f9-f5b6-43f8-9a4c-281289e1aafb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Eugen Paraschiv

unread,
Dec 9, 2015, 10:23:34 AM12/9/15
to jenkins...@googlegroups.com
Yes, Maven is exactly in the same situation - I don't see any dropdown to select from, only a raw text field.
I opened a JIRA to track this: https://issues.jenkins-ci.org/browse/JENKINS-31977
The way I solved it was to install the tools locally and then, in Jenkins, not use any installer, just point to the local tool.
Cheers,
Eugen.

--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/9Fb8sNGrScg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtGettB6UfbpY0ejyV_f%2BE%2BnXqr_XUK8y5059rG9JBs_Bw%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.



--
Eugen Paraschiv
Consultant, Baeldung
Mobile: +40728896170
Blog: www.baeldung.com
Twitter: @baeldung

Baptiste Mathus

unread,
Dec 9, 2015, 10:32:43 AM12/9/15
to jenkins...@googlegroups.com
Didn't track it down, but as I was playing with something recently, I saw this is working in 1.609.3 but not in the latest LTS.
I'll see if I can bisect it.


For more options, visit https://groups.google.com/d/optout.



--
Baptiste <Batmat> MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !

Andrew Bayer

unread,
Dec 9, 2015, 12:24:58 PM12/9/15
to jenkins...@googlegroups.com
I've seen it in the latest LTS - only thing I've found that clears it up is restarting a few times and force-updating. I think it might be the cert issues on tool installer metadata that Kohsuke's supposed to fix. =)

A.

Daniel Beck

unread,
Dec 9, 2015, 3:11:35 PM12/9/15
to jenkins...@googlegroups.com
This should be resolved since earlier today.
> To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPbPdObwh8mq76%3DrNoyt3tFrOtJB23FAo6BjT9ZjDW1eriQRpg%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages