javac: invalid target release: cldc1.0

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: P2
    • None
    • Affects Version/s: 6
    • Component/s: tools
    • x86
    • windows_xp

      FULL PRODUCT VERSION :
      java version "1.6.0_01"
      Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
      Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows XP [Version 5.1.2600]

      A DESCRIPTION OF THE PROBLEM :
      target cldc1.0 is not a valid target option:

      javac -target cldc1.0 ...

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      In cmd prompt, write:
      javac -target cldc1.0 A.java

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Compilation should work as in jdk5
      ACTUAL -
      This information is written as output from javac:

      javac: invalid target release: cldc1.0


      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      javac: invalid target release: cldc1.0


      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      A.java
      =====

      public class A {}

      ---------- END SOURCE ----------

      Release Regression From : 5.0u11
      The above release value was the last known release where this
      bug was not reproducible. Since then there has been a regression.

            Assignee:
            Unassigned
            Reporter:
            Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: