* Java 1.1 on solaris 2.4 using an Alpha screen
@ 1997-06-20 4:00 Christos N. Pasalidis
1997-07-05 4:00 ` Chris Huebsch
0 siblings, 1 reply; 2+ messages in thread
From: Christos N. Pasalidis @ 1997-06-20 4:00 UTC (permalink / raw)
Hello everyone
I am trying to use jdk 1.1 (installed in a sun/Solaris2.4) using
a DEC alpha (DU4.0) as display. When I trying to use jdk-1.1.1, it
gives
...
[Loaded java/awt/EventDispatchThread.class from
/home/students/mscse96/cxp/scratch/java-1.1.1/lib/classes.zip]
[Loaded java/lang/InternalError.class from
/home/students/mscse96/cxp/scratch/java-1.1.1/lib/classes.zip]
java.lang.InternalError: Can't connect to X11 window server using
'mr-messy:0.0' as the value of the DISPLAY variable.
at sun.awt.motif.MToolkit.<init>(MToolkit.java:48)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:244)
at java.awt.Font.initializeFont(Font.java:105)
at java.awt.Font.<init>(Font.java:119)
at javafig.GE_console.<init>(GE_console.java)
at javafig.Editor.consoleMessage(Editor.java:3768)
at javafig.Editor.getApplicationDefaults(Editor.java:413)
at javafig.Editor.init(Editor.java:600)
at javafig.Editor.main(Editor.java:552)
Trying to use jdk-1.1.2 stops in
[Loaded java/awt/EventDispatchThread.class from
/home/students/mscse96/cxp/scratch/jdk1.1.2/lib/classes.zip]
This happens most of the times. (A couple of times worked, but it
was randomly and not repeatable).
In the jdk-1.1.1 installation, font.properties has been renamed to
font.properties.bak
In the jdk-1.1.2 installation font.properties* have been moved to
a directory named $javadistribution/lib/font.props
Does any one have a hint about this situation ? (The relevant question
in the java programmeers faq, has already been tried...)
Thanks in advance...
Christos Pasalidis
C.Pasalidis-MSCSE96@cs.bham.ac.uk
Heaven is a place on earth...It is called GREECE
Kalh soy mera an ksypnas
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: Java 1.1 on solaris 2.4 using an Alpha screen
1997-06-20 4:00 Java 1.1 on solaris 2.4 using an Alpha screen Christos N. Pasalidis
@ 1997-07-05 4:00 ` Chris Huebsch
0 siblings, 0 replies; 2+ messages in thread
From: Chris Huebsch @ 1997-07-05 4:00 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1177 bytes --]
Christos N. Pasalidis wrote:
>
> Hello everyone
>
> I am trying to use jdk 1.1 (installed in a sun/Solaris2.4) using
> a DEC alpha (DU4.0) as display. When I trying to use jdk-1.1.1, it
> gives
{...}
> java.lang.InternalError: Can't connect to X11 window server using
> 'mr-messy:0.0' as the value of the DISPLAY variable.
>
> Does any one have a hint about this situation ? (The relevant question
> in the java programmeers faq, has already been tried...)
Hi,
there are two things which are more UNIX-related than java specific.
Make sure that the DISPLAY variable is set to the host you are working
at.
The x-server on the display-host has to be told to allow other x-servers
to display something on its screens. (This is done with the "xhost"
command)
If you use appletviewer make sure that you use absolute number in the
applet-tag. Percentage values are only valid in browsers.
I hope that will help
Chris
--
public class chu extends ChrisH�bsch implements TUChemnitz {
String email = "mailto:chu@informatik.tu-chemnitz.de";
URL homepage = new URL("http://www.tu-chemnitz.de/~chu");
Talk talkto = new Talk("chu@argus.csn.tu-chemnitz.de");
}
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-07-05 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-06-20 4:00 Java 1.1 on solaris 2.4 using an Alpha screen Christos N. Pasalidis
1997-07-05 4:00 ` Chris Huebsch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox