This is how i have configured  (classpath 0.97 )

./configure --host=arm-xscale-linux-gnueabi --with-x --enable-local-sockets
--enable-portable-native-sync --enable-examples --disable-plugin
--enable-jni --enable-core-jni --with-vm=/usr/local/jamvm/bin/jamvm
--disable-gconf-peer  --enable-gtk-peer  --enable-default-toolkit
--with-javac="/usr/bin/ecj -1.5 -proceedOnError"
--with-classpath=/usr/local/jamvm/share/jamvm/classes.zip
--enable-java-lang-system-explicit-initialization  --enable-load-library
--enable-collections --enable-Werror=no
--with-javah="/home/shankar/jdk5/jdk1.5.0_15/bin/javah"

Is anything wrong with the above configure options??

Yes it exist  at share/classpath/examples/
tried unziping examples.zip.. It contains the gnu.classpath  tree

Shankar


On Wed, Mar 19, 2008 at 5:56 PM, Andrew John Hughes <
[EMAIL PROTECTED]> wrote:

> On 19/03/2008, grep <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > Thanks for your kind reply...
> >
> > I followed Andrew's suggestion and got the Hello.class  working.... :)
> > Now i am trying to test the swing and awt components. I am using the
> > following command to run the examples...
> >
> > /usr/local/jamvm/bin/jamvm  -cp
> > /usr/local/classpath/share/classpath/examples/examples.zip
> >  gnu.classpath.examples.swing.Demo
> >
> > I get the following error....
> >
> > java.lang.NoClassDefFoundError:
> > gnu/classpath/examples/swing/Demo
> >     <<No stacktrace available>>
> > Caused by: java.lang.ClassNotFoundException:
> > gnu.classpath.examples.swing.Demo not found in
> > java.lang.ClassLoader$1{urls=[
> > file:/usr/local/classpath/share/classpath/examples/examples.zip],
> > parent=null}
> >     at
> > java.net.URLClassLoader.findClass(URLClassLoader.java:529)
> >    at java.lang.ClassLoader.loadClass(ClassLoader.java:341)
> >    at
> > java.lang.ClassLoader$1.loadClass(ClassLoader.java:1112)
> >    at java.lang.ClassLoader.loadClass(ClassLoader.java:293)
> >
> > I tried some of the options posted in the mialing lists but got the same
> > result...
> >
> > My installation directories..
> > JAMVM === /usr/local/jamvm
> > CLassPATH = /usr/local/classpath
> >
> >
> > What should i do to get the swing and Awt demo up and running....
> >
> > Thanks
> > Shankar
> >
> >
> >
> > On Wed, Mar 19, 2008 at 2:20 PM, Andrew John Hughes
> > <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > >
> > > On 19/03/2008, Christian Thalinger <[EMAIL PROTECTED]>
> wrote:
> > > > On Wed, 2008-03-19 at 10:36 +0530, shankar grep wrote:
> > > >  > Hi,
> > > >  >
> > > >  > I have compiled jamvm 1.5  and  gnu classpath 0.96.   When i try
> to
> > > >  > run a simple hello world program i get the following error...
> > > >  >
> > > >  >
> > > >  > $ ./bin/jamvm  -cp
> > > >  >
> > lib/rt.jar:/usr/local/classpath/share/classpath/tool.zip
> > Hello
> > > >
> > > >
> > > > You have to put . into the classpath, as long as Hello.class is not
> in
> > > >  one of the two .jar's you're using.
> > > >
> > > >  - twisti
> > > >
> > > >
> > > >
> > >
> > > I have to wonder what these JARs are as well, especially lib/rt.jar.
> > > For something as simple  as HelloWorld, jamvm Hello should work fine.
> > > --
> > > Andrew :-)
> > >
> > > Document Freedom Day - March 26th
> > > http://documentfreedom.org
> > >
> > > Support Free Java!
> > > Contribute to GNU Classpath and the OpenJDK
> > > http://www.gnu.org/software/classpath
> > > http://openjdk.java.net
> > >
> > > PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
> > > Fingerprint: F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8
> > >
> >
> >
>
> Are you sure examples.zip exists? I think the default build option is
> not to include them.  You need to pass --enable-examples to configure.
> --
> Andrew :-)
>
> Document Freedom Day - March 26th
> http://documentfreedom.org
>
> Support Free Java!
> Contribute to GNU Classpath and the OpenJDK
> http://www.gnu.org/software/classpath
> http://openjdk.java.net
>
> PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
> Fingerprint: F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8
>

Reply via email to