Posted by: Ravelli | Date: 2022-12-21 13:37 | IP: IP Logged
I'm just reviving my Java skills.
When I hit the compile button, a simple "Hello World" code gets successfully compiled, and a console opens to print the "Hello, world". But in the compiler settings I have "Capture Program Output Window" enabled. Shouldn't the output appear in PSPad's log window? Screenshot
For a feedback many thanks in advance
Posted by: pspad | Date: 2022-12-21 14:02 | IP: IP Logged
I don't know Java, but if Java use it's own console, PSpad isn't able to capture it.
You can redirect output to file and fill in Log file in the compiler settings
Posted by: pspad | Date: 2022-12-21 14:04 | IP: IP Logged
Sorry, I overlooked your screenshot.
Delete LOG file entry
If it doesn't help, uncheck Compile on background option
Posted by: Ravelli | Date: 2022-12-21 20:29 | IP: IP Logged
Deleting the "Log File" entry doesn't change anything.
Disabling "Capture Program Output Window" doesn't change anything.
Disabling "Compile on background" works as intended, it hides the compiler window, which usually pops up for a moment.
I'm pretty sure the "Capture Program Output Window" did work in the past. It's such a fundamental feature.
In addition, the entire thing somehow behaves unpredictable: When I make mistakes into the code, the compiler finds them, but PSPad doesn't display them. It simply runs the previously compiled file. And yes, I have this file marked as main file of the project.
Well, I will give up for now.
p.s.: apparently the forums "Send replies to this thread to me via email" still don't work.
Posted by: pspad | Date: 2022-12-23 09:52 | IP: IP Logged
Ravelli:I'm pretty sure the "Capture Program Output Window" did work in the past. It's such a fundamental feature.
Yes, it's fundamental and I am able to catch output in case when compilers uses standard console output. I am not sure it Java does it.
There is another way - redirect output to file and fill in LOG file entry. After compilation you will see your log file output.