Skip to main content

Disable Java Console

4 replies [Last post]
trurl2812
Offline
Joined: 2009-03-03
Points: 0

Hi.
I use phoneME Advanced - Personal Profile b110 for WM6 (downloaded from http://www.cs.kuleuven.be/~davy/phoneme/index.php?q=node/10).

My question is:
Is it possible to disable Java Console? I want to write output in a file (-Xopt:stdioPrefix...), but i dont need no output on the Java Console. Is it possible?

Thanks

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
trurl2812
Offline
Joined: 2009-03-03
Points: 0

Everithing works great! Thanks.

The new 6.0 seems to work with 6.1 too now (i was a little bit wondered, as you removed 6.1 version)

Nice work! Thanks a lot!!!

trurl2812
Offline
Joined: 2009-03-03
Points: 0

Thanks, davy.
It would be great.

davyp
Offline
Joined: 2007-01-03
Points: 0

I added an optional "-Xopt:useConsole" parameter, which is set to true by
default. To log output to files in "\storage card" and disable the Java Console,
add this to the command line

cvm.exe "-Xopt:stdioPrefix=/storage card,useConsole=false" ...

If you don't want output to /storage card or to the Java Console, do this:

cvm.exe "-Xopt:useConsole=false" ...

I have rebuild the binaries (b110, rev17059), so you will have to redownload
them. Feedback is much appreciated.

Davy

davyp
Offline
Joined: 2007-01-03
Points: 0

No, the Java Console will be created as soon as you print something on stderr or stdout.
It is currently not possible to disable the Java Console altogether, but I may add such an
option in a future release.

Davy