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

Makefiles using CLASSPATH environment setting, can be probematic

XMLWordPrintable

    • beta2
    • 6
    • b90
    • generic
    • generic

      The file j2se/make/sun/rmi/corbalogsources/Makefile uses CLASSPATH as a way to communicate the classpath to javac/java, and should use the -classpath option instead.

      export CLASSPATH=$(JSCHEME_CLASSPATH)

      This is a public environment variable and may be defined (or forced to be undefined) for other reasons.
      This initially started with a build failure with the control makefiles: 'gnumake scsl' resulted in a:

          Exception in thread "main" java.lang.NoClassDefFoundError: jscheme/REPL

            ohair Kelly Ohair (Inactive)
            ohair Kelly Ohair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: