This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cannot find file for class java.lang.StringBuilder


Thanks for the reply

I had downloaded GCJ from
http://www.thisiscool.com/gcc_mingw.htm
http://www.thisiscool.net/gcc40-20051104.tar.bz2
GCJ (GCC) 4.0.2



Currently I am trying to compile my .class file with
gcj by using the following command.

gcj --main=com.prathamwoods.Test
--classpath=jasperreports-1.2.1.jar;jcmdline-1.0.2.jar;jcommon-1.0.0.jar;jdt-compiler.jar;jfreechart-1.0.0.jar;jr-bsh-compiler.jar;jr-groovy-compiler.jar;jsmoothgen-ant-0.9.7.jar;jta.jar;jxl.jar;antlr-2.7.5H3.jar;asm-attrs.jar;asm.jar;barbecue-1.1.jar;bsh-.3.0.jar;cglib-2.1.jar;commons-beanutils-1.5.jar;commons-collections-2.1.jar;commons-digester-1.7.jar;commons-logging-1.0.2.jar;commons-logging-api-1.0.2.jar;dom4j-1.6.jar;ehcache-1.1.jar;groovy-all-1.0-beta-10.jar;hibernate3.jar;hsqldb-1.7.1.jar;itext-1.3.1.jar;xml-apis.jar;log4j-1.2.8.jar;looks-2.0-rc.jar;mysql-connector-java-3.1.11-bin.jar;pngencoder.jar;poi-2.0-final-20040126.jar;tinylaf.jar;toniclf.jar;xalan.jar;xercesImpl.jar;jcalendar.jar;JCalendar4.jar
-o Test.exe com\common\*.class
com\prathamwoods\*.class 

com\utility\*.class com\utility\entity\*.class 

com\utility\view\ui\*.class com\utility\view\*.class



But the following errors appear



com/utility/view/ui/UtilityFocusTraversalPolicy.java:0:
error: cannot find file for class
java.awt.FocusTraversalPolicy
com/utility/view/ui/UtilityFocusTraversalPolicy.java:0:
confused by earlier errors, bailing out



Please Help me in this regard
Is there any support for java.awt.FocusTraversalPolicy

Thanks in advance

CSJakharia

--- Tom Tromey <tromey@redhat.com> wrote:

> >>>>> "Chirag" == Chirag  <csplrj@yahoo.co.in>
> writes:
> 
> Sorry for the delay in our reply.
> 
> Chirag> I am new to GCJ
> Chirag> I had downloaded MingW 
> Chirag> I am trying to compile my Jar File but it
> throws the
> Chirag> following errors saying cannot find for
> class
> 
> StringBuilder is new in java 1.5.
> 
> Chirag> Is there any patch available?
> Chirag> If Yes then please give me the link for the
> Chirag> downloading the same
> 
> We have StringBuilder in recent versions of gcj.
> Probably this means you are using an older version.
> (You didn't say what version you were using in your
> note.)
> 
> Tom
> 


 Subscribe to bermudaEmail:  [input]  [input] Browse Archives at groups.google.com

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]