[Tutor] jython without all the swingage...

Shawhan, Doug (EM, ITS) Doug.Shawhan@ge.com
Wed Jun 18 17:41:43 2003


I am attempting to install jython on SunOS 5.8 without any graphical =
environment.

Doing the usual:=20

	java jython-21

gives me the following awfulness:
=09
SunOsBox$ java jython-21
try path /export/home/dshawhan/bin/
exception in called method =
net.sourceforge.liftoff.installer.Install2.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 <Unloaded Method>
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName0(Compiled Code)
        at java.lang.Class.forName(Compiled Code)
        at =
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvi
ronment.java:63)
        at java.awt.Font.initializeFont(Font.java:262)
        at java.awt.Font.<init>(Font.java:292)
        at net.sourceforge.liftoff.installer.Info.getFont(Info.java:393)
        at =
net.sourceforge.liftoff.installer.awt.InstallerFrame.<init>(Installer
Frame.java:81)
        at net.sourceforge.liftoff.installer.Install2.<init>(Compiled =
Code)
        at =
net.sourceforge.liftoff.installer.Install2.main(Install2.java:130)
        at java.lang.reflect.Method.invoke(Native Method)
        at jython-21.main(Install.java:377)
java.lang.reflect.InvocationTargetException

How can I install the jython interpreter to my local bin directory =
without X?

Thanks!

"Consistency requires you to be as ignorant today as you were a year =
ago." -- Bernard Berenson