[izpack-users] Error while installing my dist on Linux
Bartz, Klaus
Klaus.Bartz at coi.de
Thu Jul 20 08:41:12 CEST 2006
Hi Vinay,
this is not a problem of IzPack else your VM runs headless.
The VM tries to connect to the graphic server of your box and this
fails. Do you have X11 installed, or do you have only a console?
IzPack does not run on a console (only as automated installation).
Cheers
Klaus
>-----Original Message-----
>From: izpack-users-bounces at lists.berlios.de
>[mailto:izpack-users-bounces at lists.berlios.de]On Behalf Of Vinay
>Hattangadi
>Sent: Thursday, July 20, 2006 7:30 AM
>To: izpack-users at lists.berlios.de
>Subject: [izpack-users] Error while installing my dist on Linux
>
>
>Hi,
>
>I have created an installer using IZPack v3.8.1 and the
>installation jar
>works on windows os. But when I tried to install it on Linux,
>I get the
>following error:
>
>****************** exception encountered is
>*********************************
>Exception in thread "main" java.lang.InternalError: Can't
>connect to X11
>window server using ':0.0' as the value of the DISPLAY variable.
> at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
> at
>sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.
>java:134)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:141)
> at
>java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Graphi
>csEnvironment.java:62)
> at java.awt.Font.initializeFont(Font.java:308)
> at java.awt.Font.<init>(Font.java:344)
> at
>com.izforge.izpack.gui.IzPackMetalTheme.createFont(IzPackMetalT
>heme.java:60)
> at
>com.izforge.izpack.gui.IzPackMetalTheme.<init>(IzPackMetalTheme
>.java:50)
> at
>com.izforge.izpack.installer.GUIInstaller.loadLookAndFeel(GUIIn
>staller.java:280)
> at
>com.izforge.izpack.installer.GUIInstaller.<init>(GUIInstaller.java:113)
> at
>sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>Method)
> at
>sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeCon
>structorAccessorImpl.java:39)
> at
>sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Deleg
>atingConstructorAccessorImpl.java:27)
> at
>java.lang.reflect.Constructor.newInstance(Constructor.java:274)
> at java.lang.Class.newInstance0(Class.java:308)
> at java.lang.Class.newInstance(Class.java:261)
> at
>com.izforge.izpack.installer.Installer.main(Installer.java:62)
>******************
>
>The Linux version is:
>Linux version 2.4.21-4.EL (bhcompile at daffy.perf.redhat.com)
>(gcc version
>3.2.3 20030502 (Red Hat Linux 3.2.3-20)) #1 Fri Oct 3 18:13:58 EDT 2003
>
>Please let me know how to resolve the problem.
>
>Best Regards,
>Vinay
>
>
>_______________________________________________
>izpack-users mailing list
>izpack-users at lists.berlios.de
>http://bat.berlios.de/mailman/listinfo/izpack-users
>
More information about the izpack-users
mailing list