Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-615

Cannot run java application from IDE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Cannot Reproduce
    • 9.0
    • None
    • None
    • Netbeans 9 beta x64

      Windows 2008 R2 x64

      Java 10 sdk

    Description

      I created the following class:

      public static void main(String[] args) {
              
              System.out.println("java version: " + System.getProperty("java.version"));
          }
      

      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.

      Attachments

        Issue Links

          Activity

            People

              jlahoda Jan Lahoda
              setecastronomy Filippo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h