Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: burning .vdr files to DVD+R



Ulrich Gierschner wrote:

On Fri 07 Feb 03 12:53, you wrote:

Obviously java can not find some Classes.... where do I set the
environment parameter for the classes?

ds.jar uses swing and awk CLasses. those need X to configure. you must
use X even when using the command line..

I use as xterm when I execute it. (and I can execute other xprograms, too)
I think that is not the answer :-(

Have a deeper look at the output:

Exception in thread "main" java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
at java.awt.Window.init(Window.java:223)
at java.awt.Window.<init>(Window.java:267)
at java.awt.Frame.<init>(Frame.java:398)
at java.awt.Frame.<init>(Frame.java:363)
at javax.swing.JFrame.<init>(JFrame.java:154)
at ds$CollectionSpecials.<init>(ds.java:1851)
at ds.<init>(ds.java:84)
at ds.main(ds.java:2825)


A frame is about to be opened and wants to get a
GraphicsEnvironment:

public static synchronized GraphicsEnvironment getLocalGraphicsEnvironment() {
if (localEnv == null) {
String nm = (String) java.security.AccessController.doPrivileged
(new sun.security.action.GetPropertyAction
("java.awt.graphicsenv", null));

try {
localEnv = (GraphicsEnvironment) Class.forName(nm).newInstance();
if (isHeadless()) {
localEnv = new HeadlessGraphicsEnvironment(localEnv);
}

Setting up the GraphicsEnvironment fails... no rights?
no X? are valid questions.

--
Christian




--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index