osx - Problems opening a java file using gedit on terminal -


i'm using terminal test java code. have mac. when compile example:

->javac myjava.java (it compiles perfectly)

->java myjava (it works perfectly)

but problem when i'm trying edit java file using gedit, this:

->gedit *.java

it displays error:

->(gedit:12827): gtk-warning **: cannot open display:

what cause? have installed gedit on mac, still giving same problem.

regards!

you're trying launch editor (gedit) requires xwindows. download , install xserver (like xquartz) or use terminal based editor vim, or use native mac editor.


Comments

Popular posts from this blog

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -