Problem from Installation GNU Classpath 0.97.2

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

 



Hi

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
run 

./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:
yes
....

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'
true
top_builddir=.. top_srcdir=.. /bin/sh ./gen-classlist.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
../vm/reference:..:../external/w3c_dom:../external/sax:../external/relaxngDatatype:../external/jsr166:.::
-d . @classes
incorrect classpath:
----------
1. ERROR in ../sun/reflect/annotation/AnnotationInvocationHandler.java
 (at line 87)
        memberValues.put(name, m.getDefaultValue());
                                 ^^^^^^^^^^^^^^^
The method getDefaultValue() is undefined for the type Method
----------
2. WARNING in ../sun/reflect/annotation/AnnotationInvocationHandler.java
 (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
appreciated. 
-- 
View this message in context: http://www.nabble.com/Problem-from-Installation-GNU-Classpath-0.97.2-tp19622463p19622463.html
Sent from the Gnu - Classpath - General mailing list archive at Nabble.com.



[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux