[ https://issues.apache.org/jira/browse/NETBEANS-615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16449668#comment-16449668 ]
Geertjan Wielenga commented on NETBEANS-615: -------------------------------------------- Can we close this issue? > Cannot run java application from IDE > ------------------------------------ > > Key: NETBEANS-615 > URL: https://issues.apache.org/jira/browse/NETBEANS-615 > Project: NetBeans > Issue Type: Bug > Affects Versions: 9.0 > Environment: Netbeans 9 beta x64 > Windows 2008 R2 x64 > Java 10 sdk > Reporter: Filippo > Assignee: Jan Lahoda > Priority: Blocker > Labels: pull-request-available > Time Spent: 1h 10m > Remaining Estimate: 0h > > I created the following class: > {code:java} > public static void main(String[] args) { > > System.out.println("java version: " + > System.getProperty("java.version")); > } > {code} > It compiles correctly and I can execute it from coammand line with *java*. > If I try to run it from the ide a new .class file is generated which contains > RuntimeException as the first line. > I double checked the configuration and found nothing wrong. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists