No Java Shell output from System.out.println("Hello World");

Please login with a confirmed email address before reporting spam

Hello, I have the windows version of COMSOL but System.out.println("Hello World"); doesn't print to Java Shell window, in contrast what is said in the Reference PDF. Do I have to redirect System.out. to Java Shell Window manually before using System.out. ??

I tried also with .flush() without success.

When using System.out.println("Hello World"); directly in JavaShellWindow-> Run it is functioning, but not from (global) method, like said above.

Nice Greetings


Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.