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

Executable created in NB fails to run

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 8.2
    • Next
    • java - Project
    • None
    • Windows 10, OpenJDK 8 Hotspot

    Description

      Hi there. I'm new to NetBeans and am using Netbeans 8. I've started with some example project, more specifically the FeedReader app that comes with the Netbeans tutorial pack. I'm using the AdoptOpenJDK Java 8. I've managed to build the FeedReader app in the IDE and ran it successfully. I tested by pulling some RSS feeds from various sources snd could read them in the Feedreader app. 
      My next step was to package the app. 

      In the "Packaging" option, I selected the "zip" option which completed successfully.
       

      I then went to my file system directory "...\feedreadersuite\feedreader\bin and there are two binaries FeederReeder.exe and FeedReeder64.exe(which I presume one is the 32 bit one and the other 64 bit). 
       
      When I try to run(double click) both of these files, I get a pop-up with an error message that says:
      " Cannot find java 1.8 or higher" 
      I'm stumped by this as I thought Netbeans bundled the binary exes with the requisite jres.
      Whats am I missing here? 
      Regards, 

      Attachments

        Activity

          People

            Unassigned Unassigned
            Tireki Jeff
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: