Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to use/open a GUI in Eclipse Che?

I'm recently working with Eclipse Che and have the task to import a Java Project that opens a GUI in it (like a simple Swing/SWT Calculator).

I am using the Java CentOS Stack, importing the .jar files, etc. is no problem but I get the "No X11 DISPLAY variable was set, but this program performed an operation which requires it." error.

Obviously, I found many threads about that Error, but I just wanted to ask if it is even possible to open a GUI in a web based IDE like Eclipse Che before wasting hours trying to fix that error when it's not even possible.

Maybe some of you already tried that and have a solution/tip or smth for me.

edit: found a video that answered my question. https://www.youtube.com/watch?v=AjgSp0dkxxU

Thanks anyway.

like image 656
LBohr Avatar asked Oct 30 '22 19:10

LBohr


1 Answers

This will help you out - https://eclipse-che.readme.io/docs/che-and-swing

You need to use the right stack

like image 63
bianchi Avatar answered Nov 15 '22 04:11

bianchi