1 |
Hi Helmut, |
2 |
|
3 |
Helmut Jarausch wrote: |
4 |
|
5 |
> Hi, |
6 |
> |
7 |
> when emerging sci-geosciences/josm-9999 I get a Java error : |
8 |
> |
9 |
> |
10 |
> java.awt.AWTError: Can't connect to X11 window server using ':0' as the |
11 |
> value of the DISPLAY variable. |
12 |
> |
13 |
> |
14 |
> This is on a local machine using DISPLAY :0 |
15 |
> |
16 |
> Would anybody please shed some light on this error. |
17 |
> |
18 |
> (Emerge version 9060 proceeds just fine) |
19 |
> |
20 |
> Many thanks for a hint, |
21 |
> Helmut |
22 |
|
23 |
during the ebuild a Java application is running that requests the presence |
24 |
of X. So you're either on a machine without X or your JDK has no X support. |
25 |
E.g. the icedtea variants have a flag 'headless-awt' wich turns off X suport |
26 |
if active (and the name and meaning of the flag recently changed from 'X'). |
27 |
|
28 |
As another alternative you may try to fix the ebuild by running the java |
29 |
application in question with system property "-Djava.headless.awt=true". |
30 |
This can succeed if the application just initializes AWT, but does not use |
31 |
it to display something. |
32 |
|
33 |
Cheers, |
34 |
Jörg |