pkgsrc-Users archive

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

Re: lang/classpath dosn't build.



Thanks for all your answers.

I build kaffe-x11, I can "compile" with jikes, but when i try to launch me myapp.class, I got:

java.lang.ClassNotFoundException: myapp not found in java.lang.ClassLoader$1{urls=[file:/usr/local/jdk1.5.0/jre/lib/rt.jar,file:/usr/local/jdk1.5.0/jre/lib/], parent=null}.

I put this into $CLASSPATH and $JIKESPATH : /usr/local/jdk1.5.0/jre/lib/rt.jar, I seen this on the net.

What I've miss again...??

Thanks a lot.


Antoine Reilles wrote:
Hi,

On Sun, Oct 22, 2006 at 02:47:09PM +0200, luc desfosses wrote:
i'm trying to build lang/classpath, and i got the following message:


  317.     dd = dd << 9 | dd >>> -9;
                                 ^^
*** Semantic Caution: The shift count -9 is negative; it will be masked to the appropriate width and behave as a positive shift count.


or even


564. atts.addAttribute (nsSupport.XMLNS, prefix,
                                                                ^---^
*** Semantic Warning: Accessing the class field "XMLNS" via an instance is discouraged because the field accessed will be the one in the variable's declared type, not the instance's dynamic type.
Those warnings should be harmless.
and at the end:

***System Failure: Out of memory
gmake[1]: *** [compile-classes] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/lang/classpath/work/classpath-0.91/lib'
gmake: *** [all-recursive] Error 1
I can't reproduce your problem on a i386 4.99.1 system, with
jikes-1.22nb3.
It looks like jikes failure here. What system and setup do you use ?

antoine




Home | Main Index | Thread Index | Old Index