aspose file tools*
The moose likes Applets and the fly likes error while executing applet in UNIX Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "error while executing applet in UNIX" Watch "error while executing applet in UNIX" New topic
Author

error while executing applet in UNIX

Ramu Valivarthi
Ranch Hand

Joined: Apr 24, 2007
Posts: 37

Hi When iam trying to run my Applet in UNIX Iam getting below error.

Exception in thread "main" java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.

Can someone please assist me.
Freddy Wong
Ranch Hand

Joined: Sep 11, 2006
Posts: 959

Are you trying to run the application in a non-graphical environment? Try to do this



in your terminal.

Hope it helps.


SCJP 5.0, SCWCD 1.4, SCBCD 1.3, SCDJWS 1.4
My Blog
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42919
    
  68
Applets are run on the client; is that where this exception occurs? If so, what kind of client is this?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: error while executing applet in UNIX