From: Craig H. <cr...@gu...> - 2005-07-12 18:25:55
|
I checked in some very nicely done makefile from John Blair last night, and jamvm and the classpath are now in the buildroot. Looks like they add about 6-7MB to the root_fs image size, so comfortably fit in flash on an XM. Will require from trickery to stick them on an mmc or CF storage card then mount in the right place if you are using a non-XM gumstix. C |
From: <jer...@gm...> - 2005-07-13 08:27:55
|
Hello ! Good job, we were just looking for a java vm yesterday and found the needed= =20 .mk on the web. Effectively, my root_fs_arm_nofpu goes from 2.6MB to 8MB. /trunk/build_arm_nofpu/root/usr/share/classpath/glibj.zip is 5.5MB So our idea is to resize to 0B the glibj.zip in the tarball and replace it= =20 with the good one after all (a link in /mnt/mmc). 2005/7/12, Craig Hughes <cr...@gu...>: >=20 > I checked in some very nicely done makefile from John Blair last > night, and jamvm and the classpath are now in the buildroot. Looks > like they add about 6-7MB to the root_fs image size, so comfortably > fit in flash on an XM. Will require from trickery to stick them on > an mmc or CF storage card then mount in the right place if you are > using a non-XM gumstix. >=20 > C >=20 >=20 > ------------------------------------------------------- > This SF.Net <http://SF.Net> email is sponsored by the 'Do More With Dual!= '=20 > webinar happening > July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual > core and dual graphics technology at this free one hour event hosted by= =20 > HP, > AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users >=20 --=20 Jerome |
From: Aleksandar M. <ama...@gm...> - 2005-07-13 13:00:02
|
Does this JVM include java compiler tools as well, or only a JRE? Which=20 version of the JavaVM is it - 1.4.2? Is there anyhting not inlcuded? Regards, Aleksandar On 7/13/05, J=E9r=F4me Multrier <jer...@gm...> wrote: >=20 > Hello ! > Good job, we were just looking for a java vm yesterday and found the=20 > needed .mk on the web. Effectively, my root_fs_arm_nofpu goes from 2.6MBt= o 8MB. > /trunk/build_arm_nofpu/root/usr/share/classpath/glibj.zip is 5.5MB > So our idea is to resize to 0B the glibj.zip in the tarball and replace i= t=20 > with the good one after all (a link in /mnt/mmc). >=20 >=20 >=20 > 2005/7/12, Craig Hughes <cr...@gu...>: > >=20 > > I checked in some very nicely done makefile from John Blair last > > night, and jamvm and the classpath are now in the buildroot. Looks > > like they add about 6-7MB to the root_fs image size, so comfortably > > fit in flash on an XM. Will require from trickery to stick them on=20 > > an mmc or CF storage card then mount in the right place if you are > > using a non-XM gumstix. > >=20 > > C > >=20 > >=20 > > ------------------------------------------------------- > > This SF.Net <http://SF.Net> email is sponsored by the 'Do More With=20 > > Dual!' webinar happening=20 > > July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dua= l > > core and dual graphics technology at this free one hour event hosted by= =20 > > HP, > > AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar > > _______________________________________________ > > gumstix-users mailing list > > gum...@li... > > https://lists.sourceforge.net/lists/listinfo/gumstix-users > >=20 >=20 >=20 >=20 > --=20 > Jerome > |
From: <jer...@gm...> - 2005-07-20 10:10:50
|
I added jamvm and classpath to Makefile, built root_fs, moved glibj.zip and= =20 rebuilt. So know I have a root_fs that sizes 3MB and glibj.zip 5MB I flashed the file system and added a link to glibj.zip. But now I have the following error : # jamvm test Exception occurred while VM initialising. java/lang/NoClassDefFoundError: java/lang/Thread So I suppose that jamvm can't find/open glibj.zip I there something like zlib.mk <http://zlib.mk> to add to TARGETS, or do I= =20 need to unzip glibj.zip on my MMC ? PS : jamvm is version 1.3.1 , is only a VM, and follows JVM specification= =20 version 2 (blue book) 2005/7/13, Aleksandar Matijaca <ama...@gm...>: >=20 > Does this JVM include java compiler tools as well, or only a JRE? Which= =20 > version of the > JavaVM is it - 1.4.2? Is there anyhting not inlcuded? >=20 > Regards, Aleksandar >=20 > On 7/13/05, J=E9r=F4me Multrier <jer...@gm...> wrote: > >=20 > > Hello ! > > Good job, we were just looking for a java vm yesterday and found the=20 > > needed .mk on the web. Effectively, my root_fs_arm_nofpu goes from 2.6M= Bto 8MB. > > /trunk/build_arm_nofpu/root/usr/share/classpath/glibj.zip is 5.5MB > > So our idea is to resize to 0B the glibj.zip in the tarball and replace= =20 > > it with the good one after all (a link in /mnt/mmc). > >=20 > >=20 > >=20 > > 2005/7/12, Craig Hughes <cr...@gu...>:=20 > > >=20 > > > I checked in some very nicely done makefile from John Blair last > > > night, and jamvm and the classpath are now in the buildroot. Looks > > > like they add about 6-7MB to the root_fs image size, so comfortably > > > fit in flash on an XM. Will require from trickery to stick them on=20 > > > an mmc or CF storage card then mount in the right place if you are > > > using a non-XM gumstix. > > >=20 > > > C > > >=20 > > >=20 > > > ------------------------------------------------------- > > > This SF.Net <http://SF.Net> email is sponsored by the 'Do More With= =20 > > > Dual!' webinar happening=20 > > > July 14 at 8am PDT/11am EDT. We invite you to explore the latest in= =20 > > > dual > > > core and dual graphics technology at this free one hour event hosted= =20 > > > by HP, > > > AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar > > > _______________________________________________ > > > gumstix-users mailing list > > > gum...@li... > > > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > >=20 > >=20 > >=20 > >=20 > > --=20 > > Jerome > >=20 >=20 >=20 --=20 Jerome |
From: Maxime A. <Max...@bi...> - 2005-07-20 13:25:31
|
It`s a bug with jamvm not seeing the zlib library and therefore disab= ling=20 zlib when you compile it. Therefore it will not open glibj.zip and open it`s classes. It will work if you fix the compile to make it find zlib or if you un= zip the=20 GNU classpath zip. You will observe that when this problem occurs, your JamVM classes ar= e not=20 zipped after compilation. The author is aware and he was supposed to have a fix soon or you cou= ld fix=20 it yourself. I had managed to fix it but since I have dropped Java for Trolltech`s= Qt=20 instead and flushed the JamVM source tree. Good luck. ----- Original Message -----=20 =46rom: J=E9r=F4me Multrier To: gum...@li... Sent: Wednesday, July 20, 2005 6:10 AM Subject: Re: [Gumstix-users] JamVM and Classpath now in buildroot I added jamvm and classpath to Makefile, built root_fs, moved glibj.z= ip and=20 rebuilt. So know I have a root_fs that sizes 3MB and glibj.zip 5MB I flashed the file system and added a link to glibj.zip. But now I have the following error : # jamvm test Exception occurred while VM initialising. java/lang/NoClassDefFoundError: java/lang/Thread So I suppose that jamvm can't find/open glibj.zip I there something like zlib.mk to add to TARGETS, or do I need to unz= ip=20 glibj.zip on my MMC ? PS : jamvm is version 1.3.1 , is only a VM, and follows JVM specifica= tion=20 version 2 (blue book) 2005/7/13, Aleksandar Matijaca <ama...@gm...>: Does this JVM include java compiler tools as well, or only a JRE? Wh= ich=20 version of the JavaVM is it - 1.4.2? Is there anyhting not inlcuded? Regards, Aleksandar On 7/13/05, J=E9r=F4me Multrier < jer...@gm...> wrote: Hello ! Good job, we were just looking for a java vm yesterday and found the = needed=20 =2Emk on the web. Effectively, my root_fs_arm_nofpu goes from 2.6MB t= o 8MB. /trunk/build_arm_nofpu/root/usr/share/classpath/glibj.zip is 5.5MB So our idea is to resize to 0B the glibj.zip in the tarball and repla= ce it=20 with the good one after all (a link in /mnt/mmc). 2005/7/12, Craig Hughes <cr...@gu...>: I checked in some very nicely done makefile from John Blair last night, and jamvm and the classpath are now in the buildroot. Looks like they add about 6-7MB to the root_fs image size, so comfortably fit in flash on an XM. Will require from trickery to stick them on an mmc or CF storage card then mount in the right place if you are using a non-XM gumstix. C ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar ha= ppening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in d= ual core and dual graphics technology at this free one hour event hosted = by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ gumstix-users mailing list gum...@li... https://lists.sourceforge.net/lists/listinfo/gumstix-users --=20 Jerome --=20 Jerome=20 |
From: Robert L. <rob...@gm...> - 2005-07-20 17:49:13
|
Hi, Maxime Asselin <Maxime.Asselin <at> bigfoot.com> writes: > > It`s a bug with jamvm not seeing the zlib library and therefore disabling > zlib when you compile it. > > Therefore it will not open glibj.zip and open it`s classes. > It will work if you fix the compile to make it find zlib or if you unzip the > GNU classpath zip. > How's this a bug with JamVM? JamVM uses automake and autoconf to handle configuration and makefile generation. This is the standard way on Linux/Unix systems, as it tries very hard to handle differences. If ./configure can't find zlib (header or library) it's a problem with _your_ setup not JamVM. > You will observe that when this problem occurs, your JamVM classes are not > zipped after compilation. if ./configure disables zip support (or it is explictly disabled with --disable-zip) JamVM's classes are not packaged into a zip file. The problem, however, is GNU Classpath -- this by default produces glibj.zip. As it is a separate package JamVM's ./configure can't do anything about it. > The author is aware and he was supposed to have a fix soon or you could fix > it yourself. > When did you inform me, and what am I supposed to do about it? Ship zlib with JamVM? The only thing I might change is the automatic disabling of zip support if the required header/library can't be found. At present it prints a warning, but this is too easily lost in the rest of the output from ./configure, and nobody really reads it anyway. Rob. > I had managed to fix it but since I have dropped Java for Trolltech`s Qt > instead and flushed the JamVM source tree. > > Good luck. Good riddance. |
From: Maxime A. <Max...@bi...> - 2005-07-23 21:22:05
|
Sorry I think I was misunderstood. ----- Original Message ----- > How's this a bug with JamVM? JamVM uses automake and autoconf to handle > configuration and makefile generation. This is the standard way on > Linux/Unix > systems, as it tries very hard to handle differences. If ./configure > can't > find zlib (header or library) it's a problem with _your_ setup not JamVM. > Yeah I didn't mean that it was a JamVM bug. I meant exactly what you said. But after reading my text I understand the confusion and your thinking that I was targetting JamVM as a problem. >> You will observe that when this problem occurs, your JamVM classes are >> not >> zipped after compilation. > > if ./configure disables zip support (or it is explictly disabled with > --disable-zip) JamVM's classes are not packaged into a zip file. The > problem, > however, is GNU Classpath -- this by default produces glibj.zip. As it is > a > separate package JamVM's ./configure can't do anything about it. > >> The author is aware and he was supposed to have a fix soon or you could >> fix >> it yourself. >> > > When did you inform me, and what am I supposed to do about it? Ship zlib > with > JamVM? The only thing I might change is the automatic disabling of zip > support if the required header/library can't be found. At present it > prints a > warning, but this is too easily lost in the rest of the output from > ./configure, and nobody really reads it anyway. > > Rob. > >> I had managed to fix it but since I have dropped Java for Trolltech`s Qt >> instead and flushed the JamVM source tree. >> >> Good luck. > > Good riddance. N.B: We didn't drop JamVM because it's not good, we changed API and therefore we didn't need Java anymore. It might not seem like it but I was "trying" to help. Chill dude. |
From: Doug S. <do...@pr...> - 2005-07-24 16:16:10
|
Question on JamVM: Does this build include commapi for uart access? On x86 there is a native driver component (rxtx) for serial comms. Is that native part included with JamVM in the buildroot? Thanks, Doug |
From: Robert L. <rob...@gm...> - 2005-07-20 18:28:06
|
Hi, Jérôme Multrier <jerome.multrier <at> gmail.com> writes: > > > I added jamvm and classpath to Makefile, built root_fs, moved glibj.zip > and rebuilt. > So know I have a root_fs that sizes 3MB and glibj.zip 5MB > I flashed the file system and added a link to glibj.zip. > But now I have the following error : > # jamvm test > Exception occurred while VM initialising. > java/lang/NoClassDefFoundError: java/lang/Thread > So I suppose that jamvm can't find/open glibj.zip I'm the author of JamVM. I don't know much about the gumstix build system, or root_fs organisation, but I hope this may be of some use... By default JamVM expects Classpath to be installed in /usr/local/classpath, and the location of glibj.zip to be: /usr/local/classpath/share/classpath/glibj.zip. However, this may be overridden by build options. As JamVM builds, look for the definition of CLASSPATH_INSTALL_DIR to see how it's been setup on the gumstix. If JamVM's configure script cannot find the zlib header or library it disables zip support. It will print out a warning saying it is doing so, but it is easily lost. Easiest way to tell if this has happened is to look for JamVM's classes. By default these are installed in: /usr/local/share/jamvm Though again, this may be being overridden by a build option (look for INSTALL_DIR while building). If you find a file called classes.zip zip support is enabled. I they're separate .class files zip support has been disabled. Hope this helps, Rob. P.S. How/where were you doing the link? How is the mmc card formatted? > I there something like zlib.mk to add to TARGETS, or do I need to unzip > glibj.zip on my MMC ? > PS : jamvm is version 1.3.1 , is only a VM, and follows JVM specification > version 2 (blue book) > |
From: Dave H. <dhy...@gm...> - 2005-07-20 20:08:41
|
Hi Rob, > By default JamVM expects Classpath to be installed in /usr/local/classpat= h, > and the location of glibj.zip to be: >=20 > /usr/local/classpath/share/classpath/glibj.zip. I'm not trying to use JamVM, but I know that there are often issues because we're cross compiling here. So the location of the file when it's built (on the PC) is different than the location on the gumstix when it's running. I could be way off base, in which case you can just ignore me :) --=20 Dave Hylands Vancouver, BC, Canada http://www.DaveHylands.com/ |
From: Craig H. <cr...@gu...> - 2005-07-20 20:46:46
|
I didn't realize jamvm wanted zlib -- I've now added that as a =20 dependency in the buildroot makefile. It seems to find it and =20 include it for me when I build jamvm now. C On Jul 20, 2005, at 1:07 PM, Dave Hylands wrote: > Hi Rob, > > >> By default JamVM expects Classpath to be installed in /usr/local/=20 >> classpath, >> and the location of glibj.zip to be: >> >> /usr/local/classpath/share/classpath/glibj.zip. >> > > I'm not trying to use JamVM, but I know that there are often issues > because we're cross compiling here. > > So the location of the file when it's built (on the PC) is different > than the location on the gumstix when it's running. > > I could be way off base, in which case you can just ignore me :) > > --=20 > Dave Hylands > Vancouver, BC, Canada > http://www.DaveHylands.com/ > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id=16492&op=3Dclick > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > |
From: <jer...@gm...> - 2005-07-21 07:23:34
|
Thanks for all your help ! I'll try it when i'll have time, and tell you how it works ! :) 2005/7/20, Craig Hughes <cr...@gu...>: >=20 > I didn't realize jamvm wanted zlib -- I've now added that as a > dependency in the buildroot makefile. It seems to find it and > include it for me when I build jamvm now. >=20 > C >=20 > On Jul 20, 2005, at 1:07 PM, Dave Hylands wrote: >=20 > > Hi Rob, > > > > > >> By default JamVM expects Classpath to be installed in /usr/local/ > >> classpath, > >> and the location of glibj.zip to be: > >> > >> /usr/local/classpath/share/classpath/glibj.zip. > >> > > > > I'm not trying to use JamVM, but I know that there are often issues > > because we're cross compiling here. > > > > So the location of the file when it's built (on the PC) is different > > than the location on the gumstix when it's running. > > > > I could be way off base, in which case you can just ignore me :) > > > > -- > > Dave Hylands > > Vancouver, BC, Canada > > http://www.DaveHylands.com/ > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > > from IBM. Find simple to follow Roadmaps, straightforward articles, > > informative Webcasts and more! Get everything you need to get up to > > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id=16492&op=3Dclick > > _______________________________________________ > > gumstix-users mailing list > > gum...@li... > > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > >=20 >=20 >=20 > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id=16492&opclick > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users >=20 --=20 Jerome |