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

./java -? does not work on Solaris

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 6
    • hotspot
    • sparc
    • solaris


      JDK-Info:
      ---------
      java version "1.6.0-ea"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b24)
      Java HotSpot(TM) Client VM (build 1.6.0-ea-b24, mixed mode, sharing)


      System-Info:
      ------------
      Solaris


      Steps to Reproduce:
      -------------------
      Getting java help using the command java -? works fine on Windows and
      Linux, as listed from command: java -help, but not on Solaris
       
      ramkumar:/home/rk145013/build/jdk1.6.0/bin 136 % ./java -help
      Usage: java [-options] class [args...]
                  (to execute a class)
      ..
      ..
           -? -help print this help message
      ..
      ..
      ramkumar:/home/rk145013/build/jdk1.6.0/bin 137 % ./java -?
      No match

      Ref:
      http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/java.html
      http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/java.html

      Expected Behavior:
      ------------------
      ./java -? should list the same help notes as listed for ./java -help

      Actual Behavior:
      ----------------
      ./java -? does not work on Solaris

      ###@###.### 2005-03-04 06:47:40 GMT

            dcubed Daniel Daugherty
            rkumarsunw Ram Kumar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: