This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: cannot find file for class java.lang.StringBuilder
- From: dezumondo <dezumondo at gmail dot com>
- To: java at gcc dot gnu dot org
- Date: Sat, 10 Jun 2006 12:24:07 +0800
- Subject: Re: cannot find file for class java.lang.StringBuilder
I have that jar file named libgcj-4.0.2.jar in this
folder C:\PROGRA~1\thisiscool-gcc\gcc-4.0\share\java
I opened that jar file and did not found
java.awt.FocusTraversalPolicy
Could you tell me where can i get that latest jar file
so that I can compile my class with the same or if you
can mail the same.
Thanks in advance
CSJakharia
--- Tom Tromey <tromey@redhat.com> wrote:
> >>>>> "Chirag" == Chirag <csplrj@yahoo.co.in>
> writes:
>
> Chirag> I had downloaded GCJ from
> http://www.thisiscool.com/gcc_mingw.htm
> Chirag>
> http://www.thisiscool.net/gcc40-20051104.tar.bz2
>
> Chirag> But the following errors appear
>
> Chirag>
>
com/utility/view/ui/UtilityFocusTraversalPolicy.java:0:
> error: cannot find file for class
> java.awt.FocusTraversalPolicy
> Chirag>
>
com/utility/view/ui/UtilityFocusTraversalPolicy.java:0:
> confused by earlier errors, bailing out
>
> Offhand I don't know. My copy of 4.0 does have this
> class. You
> might look at your libgcj.jar and see if is there.
>
> Tom
Re: cannot find file for class java.lang.StringBuilder
http://gcc.gnu.org/ml/java/2006-05/msg00119.html
Hi. The version of GCJ that you downloaded is different from the
conventional GCJ. The conventional GCJ is using the Classpath 0.91 as
the Java library. As the implementation of the AWT and Swing are
incomplete in Classpath 0.91, the developer stripped these two
packages and incorporated the SwingWT into the GCJ instead. Although
SwingWT is a more complete package, there are still some classes
missing. One of these classes it the java.awt.FocusTraversalPolicy.
You can verify this by checking the API specification of the SwingWT.
SwingWT API: http://swingwt.sourceforge.net/javadoc/index.html