Filippo commented on NETBEANS-615:

Do you mean the nbjavac library I can see in the list of installed plugins ?

If it is active the class compiled on save is ok and I can manually execute it 
with *java*. If the plugin is deactivated the class is till compiled on save 
but it has *RuntimeException* as the first line.

So according to my result executing *run* in the ide causes always the 
compilation of the class with something different from nbjavac (I assume javac 
of java 10 sdk).

> 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
> 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

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:

Reply via email to