I understand the explanation but cannot reproduce this situation. What do you mean as scheduler - ScheduledExecutorService? I have adopted BeeperControl from API and when it is run no exception is thrown. Instead prompt is displayed.
Can you extend this question a bit?
About Question enthuware.ocpjp.v8.2.1282 :
Moderator: admin
-
- Posts: 27
- Joined: Tue Sep 22, 2015 1:01 pm
- Contact:
-
- Site Admin
- Posts: 10388
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v8.2.1282 :
Scheduler is a generic term that implies that a program is kicked off at a predefined time(s) automatically. For example, a windows service, a windows task scheduled by the task scheduler, or a cron job in *nix.
Such a job does get a console because it is not started from a console.
In Java, javaw.exe is used for this purpose instead of java.exe
It has nothing to with threads.
HTH,
Paul.
Such a job does get a console because it is not started from a console.
In Java, javaw.exe is used for this purpose instead of java.exe
It has nothing to with threads.
HTH,
Paul.
-
- Posts: 27
- Joined: Tue Sep 22, 2015 1:01 pm
- Contact:
Re: About Question enthuware.ocpjp.v8.2.1282 :
Thanks for the extra explanation.
I have checked it using windows task scheduler and only when it was run via javaw the result was as presented in the question-answer. When it was run via java, prompt was presented.
The meaning of the question is obvious, still it is a bit more deceptive than others
.
I have checked it using windows task scheduler and only when it was run via javaw the result was as presented in the question-answer. When it was run via java, prompt was presented.
The meaning of the question is obvious, still it is a bit more deceptive than others

Who is online
Users browsing this forum: Shiftingsandsxlc and 8 guests