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

appletviewer can't load file with an absolute path

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 1.3.1
    • tools

      Appletviewer can't run when using absolute file path. detail:

                # which appletviewer
                /usr/jdk1.3.1beta/bin/appletviewer
                # pwd
                /usr/jdk1.3.1beta/demo/applets/Clock
                # ls -l
                total 32
                -rw-rw-r-- 1 root other 4894 12 12 20:33 Clock2.class
                -r--r--r-- 1 root other 8306 12 12 20:33 Clock2.java
                -r--r--r-- 1 root other 1469 12 12 20:33 example1.html
                # appletviewer /usr/jdk1.3.1beta/demo/applets/Clock/example1.html
                 /usr/jdk1.3.1beta/demo/applets/Clock/usr/jdk1.3.1beta/demo/applets/Clock/example1.html
                (No such file or directory) I/O
                # appletviewer example1.html
                (run successful)
                # appletviewer ../../applets/Clock/example1.html
                (run successful)
                 Appletviewer can't run when using absolute file path. detail:

                # which appletviewer
                /usr/jdk1.3.1beta/bin/appletviewer
                # pwd
                /usr/jdk1.3.1beta/demo/applets/Clock
                # ls -l
                total 32
                -rw-rw-r-- 1 root other 4894 12 12 20:33 Clock2.class
                -r--r--r-- 1 root other 8306 12 12 20:33 Clock2.java
                -r--r--r-- 1 root other 1469 12 12 20:33 example1.html
                # appletviewer /usr/jdk1.3.1beta/demo/applets/Clock/example1.html
                 /usr/jdk1.3.1beta/demo/applets/Clock/usr/jdk1.3.1beta/demo/applets/Clock/example1.html
                (No such file or directory) I/O exception.
                # appletviewer example1.html
                (run successful)
                # appletviewer ../../applets/Clock/example1.html
                (run successful)
                 

            mr Mark Reinhold
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: