Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

workaround to run GUI apps on only text env.?

843805Apr 11 2006 — edited Apr 12 2006
Hi gurus,

I have a GUI application and recently, I tried to add a shell mode support to it but, unfortunately, I found out that this apps is strongly GUI dependent. For now, I kinda cheated hiding any GUI display when run in shell mode.

In fact, running from shell mode will still use awt, javax libraries but will not display any GUI. Therefore, when running this application in an only text environment will throw the exception "Can't connect to X11 window server".

Is there any possible solution to workaround this issue? I'd like to try every possible solution before trying to remove completely the GUI dependence because this will be a major change for me.

Any help will be greatly appreciated.
Ward
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 10 2006
Added on Apr 11 2006
3 comments
175 views