Filippo created NETBEANS-615:
--------------------------------
Summary: 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
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: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists