Hi For 1) You need a java_home env var set to the jdk you wanna use Type set in a command prompt to see if java_home is set or on the right version
For 2) I would say you need to change the url of MAVEN_REPO in the file nbbuild/extlibs/DownloadBinaries.java Best regards Eric -----Message d'origine----- De : Jean-Marc Borer <[email protected]> Envoyé : lundi 19 janvier 2026 19:14 À : [email protected] Objet : [PUB] Building Netbeans 27 from sources issues Hello guys, I need to compile NB IDE 27 from the sources to debug an issue I get while trying to brand a maven based NB platform project. I am on a Windows PC I now have several questions: 1) I was able to clone the repo (which is already a performance in my context), Then opened the project nbbuild in the my NB 27 IDE. I don't use ant usually, so I was surprised that I the options do not provide a JDK to select for running ant. How can I set the JDK to use? Because with Java 21 I get "Warning: Could not find resource javaresource "com/sun/jdi/AbsentInformationException.class" to copy." 2) I could download most resource directly from the internet, but some are blocked by our corporate proxy. As we have maven proxy that has more rights, how can I configure ant to use that one instead of "central" Downloading: https://repo.maven.apache.org/maven2/org/ow2/asm/asm/9.9/asm-9.9.jar [TestDownload] Could not download C29635C8A7AFA03D74B33C1884DF8ABB2B3F3DCC-asm-9.9.jar Thank you for your help. Cheers JM --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
