Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4856620

Broken link in SUNWj3rt and SUNWj3dev if you install s10_33 with javaws.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.2
    • solaris_10
    • install
    • b24
    • generic
    • solaris_10
    • Not verified


        ###@###.### 2003-04-30

        This is found in the latest s10 nightly build and this will happen in s10_33. This is found by our automatic install and we found the following broken link:

        1. Install SUNWCXall cluster and it reports the following broken link:

        Checking /usr/bin/javaws
        /usr/bin/javaws=/a/usr/j2se/jre/javaws/javaws s none SUNWj3rt SUNWj3dev

        The postinstall/postermove scripts had the following problem in SUNWj3rt and SUNWj3dev:


          for i in $list; do
            LATEST_JAVAWS_PATH=$PKG_INSTALL_ROOT/`$pParamCmd $i BASEDIR`/$JAVAWS_BIN
            if [ \( -n "${LATEST_JAVAWS_PATH}" -a -x "${LATEST_JAVAWS_PATH}" \) ]; then
                dir_name=`dirname $JAVAWS_LINK`
                if [ ! -d "$dir_name" ]; then
                        installf -c none $PKGINST ${dir_name} d 0755 root bin
                fi
                installf -c none $PKGINST "$JAVAWS_LINK=$LATEST_JAVAWS_PATH" s
                installf -f $PKGINST
                return
            fi


        We have two problems here:

        1. The /usr/bin/javaws link should be relative link instead of absolute link.

        2. The link is not wrong and it should not include /a.

              bmurphysunw Bruce Murphy (Inactive)
              mmding Mary Ding (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: