Re: Bundle JRE 10 to a netbeans platform application

2018-08-21 Thread Andreas Hauffe
Hi, I already did both. See https://issues.apache.org/jira/projects/NETBEANS/issues/NETBEANS-1157 The point is, that I don't understand how the zip-files with the precompiled native executables and libraries work and where they come from, that are used during the netbeans build process. So a

Re: Bundle JRE 10 to a netbeans platform application

2018-08-21 Thread Tushar Joshi
This looks like a necessary update for Java10 and shall be submitted as a PR against one issue created for this topic. Please think over it. with regards Tushar On Mon, Aug 20, 2018 at 9:11 PM Andreas Hauffe wrote: > Hi, > > thanks for the hint. > > But I just change the code of the windo

Re: Bundle JRE 10 to a netbeans platform application

2018-08-20 Thread Andreas Hauffe
Hi, thanks for the hint. But I just change the code of the windows installer launcher of netbeans so that it is working for Java 10. This was quite a pain, due the fact, that I do not really understand how the build process during the IDE compilation is working. Some ZIP files are used which

Re: Bundle JRE 10 to a netbeans platform application

2018-08-20 Thread Neil C Smith
You might want to check out the thread around using InnoSetup for this from around Aug 1st too. Best wishes, Neil On Mon, 20 Aug 2018, 08:55 Andreas Hauffe, wrote: > Hi, > > I tried with Netbeans 9 and JDK8/JRE8 and this is working. > > The verbose output of running the windows installer with

Re: Bundle JRE 10 to a netbeans platform application

2018-08-20 Thread Andreas Hauffe
Hi, I tried with Netbeans 9 and JDK8/JRE8 and this is working. The verbose output of running the windows installer with a bundled JRE10 is the following: 2018-08-20 09:48:12.421]> Create new process: [2018-08-20 09:48:12.421]>   command : C:\Users\${USER}\AppData\Local\Temp\\NBI25406

Re: Bundle JRE 10 to a netbeans platform application

2018-08-19 Thread Geertjan Wielenga
First try to bundle JRE 8. If that works, then try to bundle JRE 10. Doing it like this makes it easier to narrow down the problem. Gj On Mon, Aug 20, 2018 at 8:10 AM, Andreas Hauffe < andreas.hau...@tu-dresden.de> wrote: > Hi, > > I'm trying to bundle a JRE 10.0.2 to a netbeans platform applica

Bundle JRE 10 to a netbeans platform application

2018-08-19 Thread Andreas Hauffe
Hi, I'm trying to bundle a JRE 10.0.2 to a netbeans platform application. I'm using the following article https://dzone.com/articles/including-jre-in-nbi and change the part of creating the zip file of the jre by something like the following lines jlink --strip-debug --no-header-files --no-m