This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: gcj: error trying to exec 'ecj1': execvp
David Michel wrote:
> But I did put use the options:
> $ ./configure --enable-languages=java
> --prefix=/local/gcc-4_4-branch/install --enable-java-home
> --enable-java-awt=gtk
Oh.
> although I didn't put --with-x
>
> Is that the problem ?
I don't think so.
But the odd line is this:
Caused by: java.lang.ClassNotFoundException:
There should be a class name at the end of that line.
Try this:
import gnu.classpath.SystemProperties;
public class Tool
{
private static String default_toolkit_name
= gnu.classpath.Configuration.default_awt_peer_toolkit;
public static void main(String[] args)
{
System.out.println(default_toolkit_name);
System.out.println(SystemProperties.getProperty
("awt.toolkit",
default_toolkit_name));
}
}
Andrew.