Interesting, I don't even consider 32bit as an option these days (even
my old raspi runs a 64bit kernel and VMs).
If this is often a problem we could make 64bit the default in the config
(in case it has trouble to detect the system it would just set it to 64
as default).
-mbien
On 20.01.22 14:30, Eirik Bakke wrote:
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 <[email protected]>
Sent: Thursday, January 20, 2022 8:15 AM
To: [email protected]
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: [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
---------------------------------------------------------------------
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
---------------------------------------------------------------------
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
---------------------------------------------------------------------
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
---------------------------------------------------------------------
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
---------------------------------------------------------------------
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