Re: permissions and windowserver
Re: permissions and windowserver
- Subject: Re: permissions and windowserver
- From: Cornelius Jaeger <email@hidden>
- Date: Mon, 22 Dec 2003 10:15:23 +0100
hi cliff,
i get an exception, a fatal null followed by
Caused by: java.awt.HeadlessException
at
java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:
121)
at java.awt.Window.<init>(Window.java:266)
at java.awt.Frame.<init>(Frame.java:398)
at java.awt.Frame.<init>(Frame.java:363)
at quicktime.QTSession.<clinit>(QTSession.java:76)
... 15 more
some links on the web seem to suggest this is a problem across almost
all jdk's incl. 1.4.3 beta
i'm running on panther server and when i try.
System.out.println("Graphics can operate in headless mode:
"+java.awt.GraphicsEnvironment.isHeadless());
i get false.
any ideas?
cornelius
On Dec 17, 2003, at 12:49 AM, Cliff Tuel wrote:
>> i tried to deploy one of my apps on panther, it makes extensive use of
>> quicktime4j and so it needs to access the windowserver (apparently),
>> the app won't launch in monitor as it doesn't have permissions to
>> access the window server.
>
> Setting the Property java.awt.headless=true should work; apparently
> this
> didn't work until 10.3 (which includes QuickTime 6.4).
>
> If you're still stuck, try our quicktime-java list.
>
> --
> Cliff Tuel email@hidden http://apple.com/services/technicalsupport
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.