> the problem is the "64-bit VM" detection in the ant script that expects the > old Java <9 installation directory. > I found this a while ago but didn't found time to create a proper PR, sorry.
I remember fixing a similar bug a while back, for the maven NetBeans Platform app runner. If it's any help, here's the code I ended up using for detecting 32-bit vs. 64-bit Java installations: https://github.com/mojohaus/nbm-maven-plugin/pull/46 https://github.com/apache/netbeans-parent/pull/1 -- Eirik -----Original Message----- From: Jens Hofschröer <em...@nigjo.de> Sent: Thursday, January 20, 2022 8:15 AM To: dev@netbeans.apache.org Subject: Re: How to get output of System.out.println() in NB Output view? Hi the problem is the "64-bit VM" detection in the ant script that expects the old Java <9 installation directory. set jvm.arch.string=64 on CLI or in your private.properties and you will see the output again. The problem is in harness/run.xml (search for "architecture of jvm on which app will run"). I found this a while ago but didn't found time to create a proper PR, sorry. Jens Am 20.01.2022 um 13:27 schrieb Karl Tauber: > that's what I expect, but it does not show up in the Output window. > > When I create a simple Ant project app, it works. > But when running NetBeans IDE from NetBeans, it does not. > > Karl > > > Am 1/20/2022 um 12:18 PM schrieb Michael Bien: >> it won't show up in the log view, however, if you start the platform >> application or module with netbeans (e.g run project), it should be >> visible in the output window (of the IDE, not from the app). >> >> -mbien >> >> On 20.01.22 10:26, Karl Tauber wrote: >>> Hi, >>> >>> while working on improvements/fixes for FlatLaf support in NetBeans, >>> I'd like to temporary add some System.out.println() to NetBeans core >>> modules and see its output in the NetBeans Output view. But it does >>> not show up. >>> >>> The printlns are compiled. I've checked it with the debugger. >>> >>> -J-Dnetbeans.logger.console=true did not help. >>> >>> The last lines in the Output view are: >>> debug: >>> nbbuild.tryme-debug: >>> Searching for JARs in D:\Java\netbeans-apache\nbbuild\netbeans, this >>> may take a moment... >>> nbbuild.tryme-setup-debug-args: >>> nbbuild.tryme: >>> >>> >>> >>> I'm using NetBeans 12.6 with Java 11 >>> >>> Any ideas? >>> >>> Thanks, >>> Karl >>> >>> -------------------------------------------------------------------- >>> - To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org >>> For additional commands, e-mail: dev-h...@netbeans.apache.org >>> >>> For further information about the NetBeans mailing lists, visit: >>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists >>> >>> >>> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org >> For additional commands, e-mail: dev-h...@netbeans.apache.org >> >> For further information about the NetBeans mailing lists, visit: >> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists >> >> >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org > For additional commands, e-mail: dev-h...@netbeans.apache.org > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org For additional commands, e-mail: dev-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists