Run jEdit from Unix without X Windows
Submitted by Tuesday, 18 October, 2005 - 13:50
on
Hi all,
Is it possible to run jEdit from pure Unix command line, just like vi or emacs, with no nececessary X windows supplied ? If I run jEdit from command line, it always appear error messages like these:
-------------------------------------------------------------------------------------
shell$ jedit
Exception in thread "main" [error] main: java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
[error] main: at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
[error] main: at sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:134)
[error] main: at java.lang.Class.forName0(Native Method)
[error] main: at java.lang.Class.forName(Class.java:141)
[error] main: at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
[error] main: at java.awt.Font.initializeFont(Font.java:308)
[error] main: at java.awt.Font.(Font.java:344)
[error] main: at org.gjt.sp.jedit.gui.SplashScreen.(SplashScreen.java:37)
[error] main: at org.gjt.sp.jedit.GUIUtilities.showSplashScreen(GUIUtilities.java:1494)
[error] main: at org.gjt.sp.jedit.jEdit.main(jEdit.java:300)
shell$
-------------------------------------------------------------------------
cheers,
~Noe~