Discussion Board
There are no previous messagesGo to the following message
Current Forum: Homework 2 Forum
Date: Sat Sep 22 2001 5:25 pm
Author: Jen, Cindy Dar-Shuan <cdj@andrew.cmu.edu>
Subject: appletviewer problem

I typed appletviewer MazeApplet.html and got these messages:

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
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:124)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:63)
at
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:124)
at java.awt.Toolkit$2.run(Toolkit.java:499)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:492)
at sun.applet.AppletCopyright.(AppletCopyright.java:28)
at sun.applet.AppletViewer.mainInit(AppletViewer.java:1161)
at sun.applet.AppletViewer.main(Compiled Code)


Is there some sort of setup i need to do first?
Post response

There are no previous messagesGo to the following message
Current Thread Detail:
appletviewer problem      Jen, Cindy Dar-Shuan      Sat Sep 22 2001 5:25 pm       
Re: appletviewer problem      Agarwal, Aditya      Sat Sep 22 2001 7:05 pm       

Back to previous screen