Windows server and Oracle Java updates
Dave Bartholomew
Dave.Bartholomew at csueastbay.edu
Fri Dec 2 16:57:03 EST 2016
First, note that I'm using the EXE install program and not a zip file.
> why does that work?
Because I avail myself of the option to change the destination directory
(so as to avoid your long list below...).
There are two JREs involved - one within the JDK (which comes along for
the ride and which I therefore install) and a separate JRE that hooks into
the browser than I decline to install (at least on a server). You'll find
the jre directory within any of your JDK directories below if you drill
down a bit. And I turn your jre1.8xxx directories below into just JRE for
the same reason (i.e. to lose the numbers and to be able to install in the
same place all the time), but only when installing Java on workstations.
> to expect people to maintain a symlinked folder to the "latest" jre/jdk
and use that explicitly.
Yes, I would do that too - if I were still running on Linux...
> noticed any problems with running the JRE rather than the JDK
I do run the JDK.
Dave Bartholomew
Cal State University, East Bay
ITS
Dave.Bartholomew at csueastbay.edu
(510) 885 - 2324
-----Original Message-----
From: users [mailto:users-bounces at shibboleth.net] On Behalf Of Rod
Widdowson
Sent: Friday, December 02, 2016 8:02 AM
To: 'Shib Users'
Subject: RE: Windows server and Oracle Java updates
> > > This means that whenever I update Shib, I have to go to the daemon
> > > GUI and put "C:\Program Files\Java\jre\bin\server\jvm.dll " in the
> > > Java tab (after unchecking "Use default").
> >
> > Would a batch file (or - shudder - a powershell file) to do this (or
> > some
> > equivalent) make things any easier for you?
>
> Definitely, if I were responsible for updating a 100 IdPs, but given
> that I need to do it three times and only for a Shib update, I haven't
> considered it worth the trouble.
Actually I now have different questions
Firstly, why does that work? On my machine the JREs all go into version
depended directories:
Directory of C:\Program Files\Java
3/08/2014 14:31 <DIR> jdk1.6.0_45
9/04/2014 15:25 <DIR> jdk1.7.0_55
2/07/2014 09:36 <DIR> jdk1.8.0_11
9/10/2016 13:32 <DIR> jdk1.8.0_112
9/06/2016 14:04 <DIR> jdk1.8.0_91
9/10/2016 13:32 <DIR> jre1.8.0_112
1/10/2015 09:25 <DIR> jre1.8.0_20
0/01/2016 14:08 <DIR> jre1.8.0_65
4/04/2016 09:11 <DIR> jre1.8.0_71
9/10/2016 13:30 <DIR> jre1.8.0_91
3/08/2014 14:31 <DIR> jre6
9/04/2014 15:25 <DIR> jre7
But there isn't a 'jre' directory. Is this something you maintain? One
of the discussions we had was to expect people to maintain a symlinked
folder to the "latest" jre/jdk and use that explicitly.
Secondly have you noticed any problems with running the JRE rather than
the JDK, particularly the status page? For historic reasons (to do with
JSPs not working) we recommend running the JDK but if we could relax that
that would be good.
Rod
--
To unsubscribe from this list send an email to
users-unsubscribe at shibboleth.net
More information about the users
mailing list