Prev: Need the Solaris SPARC patch 119254 (see body for other Solaris versions)
Next: dtrace undocumented feature: dumps core itself
From: John D Groenveld on 3 Sep 2009 21:53 In article <F0_nm.5455$4t6.1730(a)newsfe06.iad>, ohaya <ohaya(a)cox.net> wrote: >When the two .sh files are run, all they do is unpack the JRE files into >a jre1.5.0_20 directory. > >I thought that there was suppose to be a package instead, that would >distribute the files in the "right" places? Where can I get that >instead of the .sh files, so I don't have to setup the softlinks, etc.? Was there no link to the packages? Sun provides both a self-extracting archive (to be installed in your preferred directory) and the packages, at least for the Java SDK. John groenveld(a)acm.org
From: ohaya on 3 Sep 2009 22:04 ohaya wrote: > > > ohaya wrote: > >> >> >> ohaya wrote: >> >>> >>> >>> ohaya wrote: >>> >>>> >>>> >>>> bill wrote: >>>> >>>>> ohaya wrote: >>>>> >>>>>> >>>>>> >>>>>> ohaya wrote: >>>>>> >>>>>>> >>>>>>> >>>>>>> John D Groenveld wrote: >>>>>>> >>>>>>>> In article <n5Wnm.136971$cf6.54616(a)newsfe16.iad>, ohaya >>>>>>>> <ohaya(a)cox.net> wrote: >>>>>>>> >>>>>>>>> I've also checked Sun's Java website, thinking, that, at worst, >>>>>>>>> we could install JRE 1.50 Update 20, but it looks like the >>>>>>>>> latest 1.50 is Update 19. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Sun is advertising JRE 5.0 Update 20, both packages and >>>>>>>> self-extracting executable, on the JDK5 download page: >>>>>>>> <URL:http://java.sun.com/javase/downloads/index_jdk5.jsp> >>>>>>>> >>>>>>>> John >>>>>>>> groenveld(a)acm.org >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> Hi John, >>>>>>> >>>>>>> I had been looking at: >>>>>>> >>>>>>> http://java.sun.com/products/archive/ >>>>>>> >>>>>>> so, thanks for the link. >>>>>>> >>>>>>> Jim >>>>>>> >>>>>> >>>>>> Hi, >>>>>> >>>>>> I had to fill out a form to get a download link. After I did >>>>>> that, the linked page had two files: >>>>>> >>>>>> Java Runtime Environment 5.0 Update 20 >>>>>> jre-1_5_0_20-solaris-sparcv9.sh 8.79 MB >>>>>> >>>>>> Java Runtime Environment 5.0 Update 20 >>>>>> jre-1_5_0_20-solaris-sparc.sh 20.52 MB >>>>>> >>>>>> Do you have any idea what the difference between these two files? >>>>>> >>>>>> Thanks, >>>>>> Jim >>>>>> >>>>> >>>>> 64 bit machines need both, 32bit machines need >>>>> jre-1_5_0_20-solaris-sparc.sh 20.52 MB >>>>> >>>>> Bill >>>> >>>> >>>> >>>> >>>> >>>> >>>> Bill, >>>> >>>> Thanks. These are 440s and 490s, so I guess I need both. Is that >>>> correct? >>>> >>>> Also, before we install the 1.50 JRE, should we uninstall the >>>> 1.4.2_08 (I think) that's already on there? Using pkgrm? >>>> >>>> Thanks again, >>>> Jim >>>> >>> >>> Hi, >>> >>> I'm installing Solaris 9 on my Sun Blade to try to test these, and >>> will post back. >>> >>> Thanks, >>> Jim >>> >> >> Just got Solaris 9 restored. >> >> Jim >> > > Hi, > > When the two .sh files are run, all they do is unpack the JRE files into > a jre1.5.0_20 directory. > > I thought that there was suppose to be a package instead, that would > distribute the files in the "right" places? Where can I get that > instead of the .sh files, so I don't have to setup the softlinks, etc.? > > Thanks, > Jim > Hi, I've found the packages for the JRE. Per: http://www.centos.org/docs/5/html/CDS/install/8.0/Installation_Guide-Directory_Server_on_Solaris-jre.html they appear to be in the JDK tar.Z files. I've now done the unpacking and ran the pkgadd, and it looks like it was kind of successful, but it didn't "finish the job". It put the files in /usr/jdk/instances/jdk1.5.0/jre/, but it looks like it's still using the original Java 1.4.2_08 by default. Does anyone know what else I need to do to "upgrade" it so that the default Java/JRE is 1.50 Update 20? Thanks, Jim
From: ohaya on 3 Sep 2009 22:16 John D Groenveld wrote: > In article <F0_nm.5455$4t6.1730(a)newsfe06.iad>, ohaya <ohaya(a)cox.net> wrote: > >>When the two .sh files are run, all they do is unpack the JRE files into >>a jre1.5.0_20 directory. >> >>I thought that there was suppose to be a package instead, that would >>distribute the files in the "right" places? Where can I get that >>instead of the .sh files, so I don't have to setup the softlinks, etc.? > > > Was there no link to the packages? > Sun provides both a self-extracting archive (to be installed > in your preferred directory) and the packages, at least for > the Java SDK. > > John > groenveld(a)acm.org John, No there wasn't, not under JRE. Our posts crossed. I just did find the JRE packages. It looks like they're inside the JDK tar.Z. I just posted about that. I think that I might have figured out how to do the last piece, i.e., changing things so that "java" defaults to the new 1.5.0_20. /usr originally had: lrwxrwxrwx 1 root other 17 Sep 3 20:38 java -> jdk/j2sdk1.4.2_08 drwxr-xr-x 5 root bin 512 Sep 3 20:38 java1.2 drwxr-xr-x 3 root bin 512 Sep 3 21:52 jdk and, in /usr/jdk, there was this: total 12 drwxr-xr-x 3 root bin 512 Sep 3 21:52 . drwxr-xr-x 37 root sys 1024 Sep 3 20:39 .. drwxr-xr-x 3 root bin 512 Sep 3 21:51 instances lrwxrwxrwx 1 root other 7 Sep 3 20:38 j2sdk1.4.2_08 -> .../j2se lrwxrwxrwx 1 root other 18 Sep 3 21:52 jdk1.5.0_20 -> instances/jdk1.5.0 lrwxrwxrwx 1 root other 11 Sep 3 21:52 latest -> jdk1.5.0_20 So, what I did was this: bash-2.05# rm /usr/java bash-2.05# ln -s jdk/jdk1.5.0_20 /usr/java bash-2.05# java -version java version "1.5.0_20" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_20-b02) Java HotSpot(TM) Client VM (build 1.5.0_20-b02, mixed mode, sharing) As you can see, "java -version" now shows the new JRE. This is all giving me a headache. Can someone here who's much more familiar with Solaris (I'm not) review what I did above and tell me if that is the "right" way to do that last part? By "right", I mean that it would be the "normal" way that a Solaris admin would do this? Thanks for ALL of the patience! Jim
From: John D Groenveld on 4 Sep 2009 00:15 In article <pM_nm.129542$O23.52232(a)newsfe11.iad>, ohaya <ohaya(a)cox.net> wrote: >By "right", I mean that it would be the "normal" way that a Solaris >admin would do this? For what its worth, I don't break Sun's links and tell my users to specify their favorite JDK via PATH and JAVA_HOME environment variables. You never know which Sun application requires /usr/bin/java to be something specific, nor which Sun patch might revert your filesystem changes. John groenveld(a)acm.org
From: ohaya on 4 Sep 2009 00:44 John D Groenveld wrote: > In article <pM_nm.129542$O23.52232(a)newsfe11.iad>, ohaya <ohaya(a)cox.net> wrote: > >>By "right", I mean that it would be the "normal" way that a Solaris >>admin would do this? > > > For what its worth, I don't break Sun's links and tell my users to > specify their favorite JDK via PATH and JAVA_HOME environment > variables. > > You never know which Sun application requires /usr/bin/java > to be something specific, nor which Sun patch might revert > your filesystem changes. > > John > groenveld(a)acm.org Hi John, Unfortunately, that would not "get us where we want to go" in this case. The reason that we're needing to do this JRE upgrade is because JRE 1.4.2_08 appeared on report from a security scan, so the whole point is that we have to upgrade the default JRE. My apologies that I didn't explain that earlier. Having said that, is what I did/tested "ok"? In the original/default Solaris configuration, there were softlinks pointing to softlinks, etc., so I'm just trying to do what makes sense to get us where we want to go. Actually, this is a kind of "non-exercise", in a way, as Java is not used on these machines at all. The JRE just happens to be installed, and we just happen to need to "check a checkbox" to make some folks happy. Thanks, Jim
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 4 5 Prev: Need the Solaris SPARC patch 119254 (see body for other Solaris versions) Next: dtrace undocumented feature: dumps core itself |