You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Juergen Klotz (JIRA)" <ji...@apache.org> on 2018/03/26 16:34:00 UTC

[jira] [Created] (NETBEANS-524) Project does not compile with java 10 2018-03-20 (build 10+46)

Juergen Klotz created NETBEANS-524:
--------------------------------------

             Summary: Project does not compile with java 10 2018-03-20 (build 10+46)
                 Key: NETBEANS-524
                 URL: https://issues.apache.org/jira/browse/NETBEANS-524
             Project: NetBeans
          Issue Type: Bug
          Components: java - Compiler
    Affects Versions: 8.2
         Environment: Product Version: NetBeans IDE Dev (Build 201803220002)
Java: 10; Java HotSpot(TM) 64-Bit Server VM 10+46
Runtime: Java(TM) SE Runtime Environment 10+46
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)

            Reporter: Juergen Klotz


Just installed java 10 (2018-03-20- build 10+46) from Oracle.

Trying to compile a simple  "Hello World" in the IDE, 
shows the following error on compilation:

    javac: invalid target release: 10.0
    Usage: javac <options> <source files>
    use --help for a list of possible options

running the following on command line 
      javac -target 10.0
shows the same msg.

Actually, it seems like javac is expecting the version to be specified as
      javac -target 10

 

 

 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists