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

On Windows javap does not find classes on classpath unless in last entry

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 5.0
    • tools
    • None
    • x86
    • solaris_2.5

      javap will not find classes that are on the classpath unless the class is in the last entry.
      eg.
      >javac -d c:\myclasses foo.java
      >set classpath=c:\myclasses;%CLASSPATH% // where %CLASSPATH% is not empty
      >javap foo
      >ERROR:Could not find foo

      however
      >set classpath=%CLASSPATH%;c:\myclasses
      >javap foo
      will succeed

            gafter Neal Gafter (Inactive)
            ssides Steve Sides
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: