Hi, I setup cygwin64 on windows 10. Thanks to your tips I update to i686* tools chain. I add to static link libgcc, libstdc++ and also add -static lpthread to get it works. Artefact are huge now but I was able test some code to check for jdk9 compatibility.
The remaining issue are: how to generate the platform-launcher-9.0beta.zip and launcher.zip, how to populate the external binaries repository with those artefact Regards Eric -----Message d'origine----- De : John Muczynski [mailto:johnst...@gmail.com] Envoyé : mercredi 21 février 2018 19:10 À : dev@netbeans.incubator.apache.org Objet : Re: launcher for windows and building c file Hi Eric, These are excellent issues to unearth. I like the idea of creating a setup to build the executable. Here at work, we don't build the launcher too often. We keep a zip of C:\cygwin from a set of cygwin files that worked to build the launcher. I notice that my NetBeans is set up to use C:\cygwin\bin\i686-w64-mingw32-g++.exe when building from the IDE. You were asking if someone had a working setup. Would more information and/or files about this process help you personally? Kind Regards, Johnny -- Johnny Muczynski 734-262-2045 On Wed, Feb 21, 2018 at 12:54 PM, Eric Barboni <sk...@apache.org> wrote: > Hi, > > I was trying to launch Apache Netbeans 9.0 beta on a windows 10 box > with only jdk9 installed. > > Executable is failing to retrieve a 1.8 or higher java because of > important registry changes in jdk9 and also version scheme change [2]. > > > > I try to follow the wiki page [1] but the required old compiler are > gone in cygwin. I also give a try to mingw32 toolchain. No luck :/ > > > > Question 1: > > Did someone have a working setup for building this ? > > > > Question 2: > > Would it be an option to move the windows “c++” code to another git > repository ? Setup a Jenkins or buildbot at Apache to build the > executable in a consistent way. > > > > Best Regards > > Eric > > [1] > > http://wiki.netbeans.org/LauncherBuild > > [2] > > > <https://docs.oracle.com/javase/9/install/installation- > jdk-and-jre-microsoft > -windows-platforms.htm> > https://docs.oracle.com/javase/9/install/installation- > jdk-and-jre-microsoft- > windows-platforms.htm ( § Windows Registry Settings) > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists