Print at Dec 17, 2025, 5:07:22 AM

Posted by starrunner at Jan 4, 2020, 2:55:42 PM
Access console output
Yesterday another user had problems loading my plugin:
https://sourceforge.net/p/sweethome3d/plug-ins/4/?page=1

I wanted to ask, is it possible for a normal user to see the console output of Sweet Home 3D?

I know that I can call Sweet Home 3D with the console executable of Java:
"...path to my JRE..\bin\java.exe" ... com.eteks.sweethome3d.SweetHome3D

But there are two problems: the included JRE does not contain the "java.exe" and the additional arguments depend on the SH3D version and current environment.

So it would be nice, if we had a command line switch, something like:
SweetHome3D.exe -log MyLogFile.log

Or the user could open the console output from inside of Sweet Home 3D.

As I always offer both for my standalone programs, I could provide a patch for that.

But I wanted to ask first for any objections.