[ 
https://issues.apache.org/jira/browse/NETBEANS-615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16436964#comment-16436964
 ] 

Filippo edited comment on NETBEANS-615 at 4/13/18 7:52 AM:
-----------------------------------------------------------

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

If the plugin is deactivated the class is still compiled on save (I assume with 
javac of java 10 sdk) but it has *RuntimeException* as the first line.

I'm sure the plugin was installed and activated during my previous tests but 
now it seems to work.

 

 


was (Author: setecastronomy):
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
(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

Reply via email to