United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7034702 JDK7 and JavaDB Packaging for Solaris 11 via IPS: remove old SUNWjavadb* packages
JDK-7034702 : JDK7 and JavaDB Packaging for Solaris 11 via IPS: remove old SUNWjavadb* packages

Details
Type:
Bug
Submit Date:
2011-04-07
Status:
Closed
Updated Date:
2013-05-27
Project Name:
JDK
Resolved Date:
2012-07-04
Component:
install
OS:
solaris
Sub-Component:
install
CPU:
sparc
Priority:
P3
Resolution:
Fixed
Affected Versions:
7,7u2
Fixed Versions:
7u6 (b14)

Related Reports
Backport:
Relates:
Relates:
Relates:
Relates:

Sub Tasks

Description
Java DB pkgs and rpm are to be removed from the JDK installers.  

JavaDB can already be found in the db directory under the JDK installation where it is always installed.
Re-opening: two of the bundles were missed as part of this exercise and still include the old SUNWjavadb* packages, e.g.

jdk-7u3-solaris-i586.tar.Z
 and
jdk-7u3-solaris-sparc.tar.Z

% Find SUNWjavadb

./jdk-7u3-solaris-i586.tar/SUNWjavadb-client
./jdk-7u3-solaris-i586.tar/SUNWjavadb-client/reloc/SUNWjavadb
./jdk-7u3-solaris-i586.tar/SUNWjavadb-common
./jdk-7u3-solaris-i586.tar/SUNWjavadb-common/reloc/SUNWjavadb
./jdk-7u3-solaris-i586.tar/SUNWjavadb-core
./jdk-7u3-solaris-i586.tar/SUNWjavadb-core/reloc/SUNWjavadb
./jdk-7u3-solaris-i586.tar/SUNWjavadb-demo
./jdk-7u3-solaris-i586.tar/SUNWjavadb-demo/reloc/SUNWjavadb
./jdk-7u3-solaris-i586.tar/SUNWjavadb-docs
./jdk-7u3-solaris-i586.tar/SUNWjavadb-docs/reloc/SUNWjavadb
./jdk-7u3-solaris-i586.tar/SUNWjavadb-javadoc
./jdk-7u3-solaris-i586.tar/SUNWjavadb-javadoc/reloc/SUNWjavadb
./jdk-7u3-solaris-i586.tar/SUNWjavadb-service
./jdk-7u3-solaris-sparc.tar/SUNWjavadb-client
./jdk-7u3-solaris-sparc.tar/SUNWjavadb-client/reloc/SUNWjavadb
./jdk-7u3-solaris-sparc.tar/SUNWjavadb-common
./jdk-7u3-solaris-sparc.tar/SUNWjavadb-common/reloc/SUNWjavadb
./jdk-7u3-solaris-sparc.tar/SUNWjavadb-core
./jdk-7u3-solaris-sparc.tar/SUNWjavadb-core/reloc/SUNWjavadb
./jdk-7u3-solaris-sparc.tar/SUNWjavadb-demo
./jdk-7u3-solaris-sparc.tar/SUNWjavadb-demo/reloc/SUNWjavadb
./jdk-7u3-solaris-sparc.tar/SUNWjavadb-docs
./jdk-7u3-solaris-sparc.tar/SUNWjavadb-docs/reloc/SUNWjavadb
./jdk-7u3-solaris-sparc.tar/SUNWjavadb-javadoc
./jdk-7u3-solaris-sparc.tar/SUNWjavadb-javadoc/reloc/SUNWjavadb
./jdk-7u3-solaris-sparc.tar/SUNWjavadb-service

                                    

Comments
EVALUATION

There are three packaging formats with Java DB files in various locations.

SVR4 for 6 and 7 no action on 6
IPS JDK6 and IPD JDK7 
Linux RPM


In order to have Java DB install as a sample/demo and not be part of otheer installs the following is required

SVR4 JDK 6  ( will be left as is )
SVR4 JDK 7   work already done in B140
IPS JDK7  No work if B140 work is complete
IPS JDk6 not clear on support requirement
RPM  Linux RPM pacakges need to be restructured - task not started and not scheduled for 7 GA.
                                     
2011-04-21
EVALUATION

The JavaDB team provides files to RE that contain JavaDB implementation. These files are put into the SUNW SVR4 java packages, not the javadb SVR4 packages. The IPS build process treats the Java DB files as any other artifact and places the files in the correct locations based on the package they are in, jdk or demos and samples.
                                     
2011-05-10
SUGGESTED FIX

I verified that IPS is procesing the Java DB files as expected.

From Dag, Wanvik

did a quick status check, results were as expected:

In all cases the bundles had Java DB 10.6.2.1 in the db directory. The
build containing the push we did yesterday of 10.8.1.2 will hopefully
appear soon.

/hudsonws/jdk7/bundles/linux-i586/b142-2011-05-10_241/jdk-7-ea-linux-i586.rpm

       - OK, only db + demo/db directories as expected

/hudsonws/jdk7/bundles/solaris-i586/b142-2011-05-10_241/jdk-7-ea-solaris-i586.tar.Z

       - not yet OK, has both db directory from SUNWj7dev + demo/db
         from SUNWj7dmo (correct), as well as separate SUNWjavadb-*
         packages (should go away)

/hudsonws/jdk7/bundles/windows-i586/b142-2011-05-10_241/jdk-7-ea-windows-i586.exe

       - OK, <jdk>/db subdirectory present. I could not see an extra
       Sun/JavaDB directory being installed any longer. Optional demo
       install seen. 

       PS! An "anomaly" I noticed: the installer asked for the
       directory to use for *JRE*, but not for the JDK. Both appeared
       in Program Files, though, the JRE twice, once inside the JDK and
       once under Program Files. I suppose this is as it should be(?).
                                     
2011-05-16
EVALUATION

not specific to IPS
                                     
2012-05-23
EVALUATION

building with fix from JDK 8
                                     
2012-06-11
EVALUATION

Review:     http://sqe-rb.us.oracle.com/r/10461/
Testcases:  http://oklahoma.east.sun.com/deployment/www/tests/1.8.0/7034702/bug.html
DS build:   http://oklahoma.us.oracle.com/arc/ds_build/1.7.0_06/cg207731/2012-06-11/build.report
changeset:  http://closedjdk.us.oracle.com/jdk7u/ds/install/rev/677569f2ac2d
                                     
2012-06-12



Hardware and Software, Engineered to Work Together