You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Jeff (Jira)" <ji...@apache.org> on 2020/12/10 12:17:00 UTC

[jira] [Commented] (NETBEANS-4999) Executable created in NB fails to run

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

Jeff commented on NETBEANS-4999:
--------------------------------

In a scenario where I have to package and deploy to multiple users who do not have a JRE, how does one bundle the JRE with the application?

Thanks

> Executable created in NB fails to run
> -------------------------------------
>
>                 Key: NETBEANS-4999
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-4999
>             Project: NetBeans
>          Issue Type: Bug
>          Components: java - Project
>    Affects Versions: 8.2
>         Environment: Windows 10, OpenJDK 8 Hotspot 
>            Reporter: Jeff
>            Priority: Major
>             Fix For: Next
>
>
> 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, 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists