[Kaffe] How can I test the Sun demos ?

Archaiesteron archaiesteron at laposte.net
Mon Mar 28 00:37:21 PST 2005


Hi,

I already posted about my other trouble with my own program.
But I have to mention that I can't launch any Sun's demo either.
For instance :

$ kaffe -jar SwingSet2.jar
java.lang.Error: not implemented
   at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment 
(GraphicsEnvironment.java:73)
   at SwingSet2.main (SwingSet2.java:237)
   at java.lang.reflect.Method.invoke0 (Method.java)
   at java.lang.reflect.Method.invoke (Method.java:255)
   at kaffe.jar.ExecJarName.main (ExecJarName.java:67)
   at kaffe.jar.ExecJar.main (ExecJar.java:75)

I still mention that my CLASSPATH variable is set to the jars from Sun 
(and especially rt.jar).


Another try with my exact previous problem :

$ kaffe -jar Stylepad.jar
java.lang.SecurityException: Prohibited package: 
java/awt/KeyboardFocusManager
   at javax.swing.JFrame.<init> (JFrame.java:155)
   at Stylepad.main (Stylepad.java:80)
   at java.lang.reflect.Method.invoke0 (Method.java)
   at java.lang.reflect.Method.invoke (Method.java:255)
   at kaffe.jar.ExecJarName.main (ExecJarName.java:67)
   at kaffe.jar.ExecJar.main (ExecJar.java:75)

I think it only has to do with some settings, but which one ?

Regards,




More information about the kaffe mailing list