AOT Compilation Error Java Application using GCJ and Apache harmony

Andrew Haley aph@redhat.com
Tue Apr 3 17:10:00 GMT 2007


Please don't top-post.
Chirag writes:
 > --- Andrew Haley <aph@redhat.com> wrote:
 > 
 > > Chirag writes:
 > > > I tried compiling my Java Application using gcj
 > > > compiler and harmony jar files but it throws the
 > > > following errors
 > > > 
 > > > gcj --main=com.harshgiri.LoginPassword --classpath=jasperreports-1.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;awt.jar;swing.jar;luni.jar;accessibility.jar;jcalendar.jar;JCalendar4.jar-o
 > > 
 > > It would be a lot easier for us if you explained
 > > what you are trying
 > > to do. Do you want to precompile all these jars, or
 > > just one
 > > application program?
 > > 
 > I am trying to create a single Executable Exe from my
 > Jar Application so that it gets AOT compiled
Right, so you're going to have to AOT-compile each one of your jars by
using "gcj -c" and then link them all together with gcj at the end.
Andrew.
-- 
Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, UK
Registered in England and Wales No. 3798903


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /