Discussion:
[aspectj-users] Headless installation of AspectJ on a linux box?
Ludger Solbach
18 years ago
Permalink
Hello everybody,
java -jar ../../download/aspectj-1.5.3.jar
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.

Thanks for your help.

Ludger Solbach

_______________________________________________________________________
Viren-Scan für Ihren PC! Jetzt für jeden. Sofort, online und kostenlos.
Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc=022222
Mulligan, Tim
18 years ago
Permalink
Try using "-Djava.awt.headless=true" java arg

-----Original Message-----
From: aspectj-users-***@eclipse.org [mailto:aspectj-users-***@eclipse.org] On Behalf Of Ludger Solbach
Sent: Friday, February 23, 2007 11:33 AM
To: aspectj-***@eclipse.org
Subject: [aspectj-users] Headless installation of AspectJ on a linux box?

Hello everybody,
java -jar ../../download/aspectj-1.5.3.jar
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.

Thanks for your help.

Ludger Solbach

_______________________________________________________________________
Viren-Scan für Ihren PC! Jetzt für jeden. Sofort, online und kostenlos.
Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc=022222
M.A.Bednarz
18 years ago
Permalink
Ludgar,

did you try to use -Djava.awt.headless=true as argument ?

Maciej Andreas Bednarz
Hannover

----- Original Message -----
From: "Ludger Solbach" <***@web.de>
To: <aspectj-***@eclipse.org>
Sent: Friday, February 23, 2007 5:33 PM
Subject: [aspectj-users] Headless installation of AspectJ on a linux box?


Hello everybody,

I want to install AspectJ on a linux server on which I have just a shell
access. Are there any command line arguments to bypass the GUI installer?
java -jar ../../download/aspectj-1.5.3.jar
Exception in thread "main" java.lang.InternalError: Can't connect to X11
window server using ':0.0' as the value of the DISPLAY variable.

Thanks for your help.

Ludger Solbach

_______________________________________________________________________
Viren-Scan für Ihren PC! Jetzt für jeden. Sofort, online und kostenlos.
Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc=022222
Ludger Solbach
18 years ago
Permalink
Hello again,
Post by Ludger Solbach
java -jar ../../download/aspectj-1.5.3.jar
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
I tried starting the installer with -Djava.awt.headless=true and I got the following exception:
internal error: java.awt.HeadlessException
java.awt.HeadlessException
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:121)

Maybe currently there is no non GUI installation? At least I haven't found any reference in the documentation and the FAQ.
How about some command line args to give the installer the information the GUI requests (installation path, JVM path)?

Bye

Ludger Solbach
__________________________________________________________________________
Erweitern Sie FreeMail zu einem noch leistungsstärkeren E-Mail-Postfach!
Mehr Infos unter http://freemail.web.de/home/landingpad/?mc=021131
Andy Clement
18 years ago
Permalink
java -jar aspectj-1.5.3.jar -to /tmp/somedir
...
Loading...