Jump to content
Excelsior Forums
Sign in to follow this  

Console output

Recommended Posts

Hi all,

I use the last Excelsior Pro with Java SE 1.6.

So, I tried the options "-gui+" and "-gui-" but the result it is not that i want.

"-gui+" doesn't show windows console from Windows Explorer, but I cannot see output when I start my application from a console.

with "-gui-", i can see output in the console, but from Windows Explorer a console is opened with my window application.

I would like no console when i start from Windows Explorer, but see outputs (System.out and System.err) when i start from a console (normal operation, no?).

Some body have a solution?


Share this post

Link to post
Share on other sites

Use Linux -- it has exactly this behavior  ;).

On Windows, it is an executable property to have or not to have a console, that is not sensitive to the calling context.

As workaround, I can only suggest to have two executables: one with console and another without, like "java" and "javaw". It may be fake executables that call main executable after making "gui -" or "gui +" on it.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this