Problem from Installation GNU Classpath 0.97.2

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


I'm just starting to learn about jvm and classpath. I try to install
classpath 0.97.2 on my pc which has i686 and Linux(Kubuntu). However, once I

./configure --disable-gtk-peer --disable-gconf-peer --disable-plugin

I notice that there is some incorrect classpath:
checking for ecj... ecj -warn:-deprecation,serial,unusedImport
checking if ecj -warn:-deprecation,serial,unusedImport works... yes
checking whether javac supports -J... incorrect classpath:

However once this command finish then i run command "make"

and there is 1 error and 1 warning that I cannot fix it

Making all in lib
make[1]: Entering directory `/home/tktan/classpath-0.97.2/lib'
top_builddir=.. top_srcdir=.. /bin/sh ./ standard
Adding java source files from srcdir '..'.
Adding java source files from VM directory ../vm/reference
ecj -warn:-deprecation,serial,unusedImport  -J-Xmx768M -source 1.5 -target
1.5 -bootclasspath '' -classpath
-d . @classes
incorrect classpath:
1. ERROR in ../sun/reflect/annotation/
 (at line 87)
        memberValues.put(name, m.getDefaultValue());
The method getDefaultValue() is undefined for the type Method
2. WARNING in ../sun/reflect/annotation/
 (at line 373)
        throw new IncompleteAnnotationException(type, methodName);
Type safety: The expression of type Class needs unchecked conversion to
conform to Class<? extends Annotation>
2 problems (1 error, 1 warning)make[1]: *** [compile-classes] Error 255
make[1]: Leaving directory `/home/tktan/classpath-0.97.2/lib'
make: *** [all-recursive] Error 1

can anyone please help me solve this problem? Any hints are greatly
View this message in context:
Sent from the Gnu - Classpath - General mailing list archive at

[Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux