Page 1 of 1

About Question enthuware.ocpjp.v7.2.1286 :

Posted: Thu May 05, 2016 1:50 pm
by dfigueira
Hello, could you help me with this question?

What is the difference between starting JVM with and without stream redirection to Console?
If the interactive console without redirection "will typically be connected to the keyboard and display from which the JVM was launched" how should the interactive console with redirection of standard input/output to Console work ?

The correct option do not say anything about relate the standard input/output streams to Console.

Thank you.

B.Regards,
Dfigueira

Re: About Question enthuware.ocpjp.v7.2.1286 :

Posted: Thu May 05, 2016 7:59 pm
by admin
"with redirection" implies that your code redirects it to console, which is not required. You don't need to redirect them. They are already directed to the console by default.
HTH,
Paul.

Re: About Question enthuware.ocpjp.v7.2.1286 :

Posted: Wed Oct 28, 2020 8:06 am
by Deleted User 6318
If this virtual machine has a console
"this" meaning the one from the previous sentence? so started automatically? or this rule applies to each and every one of them?

Re: About Question enthuware.ocpjp.v7.2.1286 :

Posted: Wed Oct 28, 2020 8:24 am
by admin
"This" meaning the VM on which the code that is trying to acquire the console is executing.

Re: About Question enthuware.ocpjp.v7.2.1286 :

Posted: Sat Jan 28, 2023 9:32 am
by Deleted User 6318
"with redirection" implies that your code redirects it to console, which is not required.
is it even possible?