|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
JamVM 1.5.1 and FelixHi,
I attempt to work with JamVM 1.5.1 and classpath 0.97 or 0.98 and felix 1.8 or 1.0.4. In all combinations with JamVM 1.5.1, I got this message : $ export BOOTCLASSPATH=/home/next/trenext/jamvm-1.5.1/lib/classes.zip:/home/next/trenext/build/classpath/lib/glibj.zip:/home/next/trenext/build/classpath/tools/tools.zip $ jamvm -verbose:class -jar bin/felix.jar Couldn't find Main-Class attribute in bin/felix.jar Manifest. If I try $ jamvm -verbose:class -cp bin/felix.jar org.apache.felix.main.Main I hang on [Loaded org/osgi/framework/FrameworkEvent] The link of this class is not done and I never get the Felix shell. I got a success, without manifest error message, with JamVM 1.5.3 and classpath 0.98 and felix 1.8 or with JamVM 1.4.5 and classpath 0.97 and felix 1.0.3. Why this combination JamVM 1.5.1 and classpath 0.97 or 0.98 and felix 1.8 or 1.0.4 does not work ? Best Regards, Claude ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Jamvm-general mailing list Jamvm-general@... https://lists.sourceforge.net/lists/listinfo/jamvm-general |
|
|
|
|
|
Re: JamVM 1.5.1 and FelixHi,
2009/8/29 Claude Vittoria <claude.vittoria@...>: > [snip] > > Ok after a lot of test and debug, I found the issue. > The problem is gcc 4.x, when I compile with gcc 3.4 JamVM does not get > a thread deadlock during loading classes. > Thanks for the report. A move from 1.x to 1.x+1 normally means major changes, and it sometimes takes a few releases to iron out the last bugs. I don't know if this is reason here but as it works with 1.5.3 it is likely that the bug was introduced in 1.5.0, subsequently fixed. > arch x86 > JamVM 1.5.1 > Classpath 0.98 > JDK ecj v_774_R33x, 3.3.1 > Felix 1.8.0 > Which version of gcc 4.x you are using, and what Linux distribution? Thanks, Rob. > I hope this might help someone, > Claude > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Jamvm-general mailing list > Jamvm-general@... > https://lists.sourceforge.net/lists/listinfo/jamvm-general > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Jamvm-general mailing list Jamvm-general@... https://lists.sourceforge.net/lists/listinfo/jamvm-general |
|
|
Re: JamVM 1.5.1 and FelixHi,
On Sat, Aug 29, 2009 at 8:49 PM, Robert Lougher<rob.lougher@...> wrote: > Hi, > > 2009/8/29 Claude Vittoria <claude.vittoria@...>: >> [snip] >> >> Ok after a lot of test and debug, I found the issue. >> The problem is gcc 4.x, when I compile with gcc 3.4 JamVM does not get >> a thread deadlock during loading classes. >> > > Thanks for the report. A move from 1.x to 1.x+1 normally means major > changes, and it sometimes takes a few releases to iron out the last > bugs. I don't know if this is reason here but as it works with 1.5.3 > it is likely that the bug was introduced in 1.5.0, subsequently fixed. > >> arch x86 >> JamVM 1.5.1 >> Classpath 0.98 >> JDK ecj v_774_R33x, 3.3.1 >> Felix 1.8.0 >> > > Which version of gcc 4.x you are using, and what Linux distribution? > > Thanks, > Rob. > >> I hope this might help someone, >> Claude I redone my tests the compilers 4.3.2(debian) and 4.3.3(Ubuntu, debian sid) produce the issue 4.1.3 and 4.2.2 are ok. I done the tests with a classpath compiled with gcc3.4 and with the same version of gcc which compiled JamVM. Classpath doesn't seem to be affected by gcc version. Each time (jamvm -jar bin/felix.jar) if the error message *Couldn't find Main-Class attribute in bin/felix.jar Manifest* is displayed. The -cp path/to/class gives a deadlock VM. the configures: ../../classpath-0.98/configure --prefix=/home/cvittoria/trenext/usr --disable-gtk-peer --disable-gconf-peer --disable-plugin --disable-alsa ../../jamvm-1.5.1/configure --prefix=/home/cvittoria/trenext/usr --with-classpath-install-dir=/home/cvittoria/trenext/usr Cheer, Claude ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Jamvm-general mailing list Jamvm-general@... https://lists.sourceforge.net/lists/listinfo/jamvm-general |
|
|
Re: JamVM 1.5.1 and FelixHi,
2009/8/29 Claude Vittoria <claude.vittoria@...>: > > I redone my tests the compilers 4.3.2(debian) and 4.3.3(Ubuntu, debian > sid) produce the issue > 4.1.3 and 4.2.2 are ok. > I done the tests with a classpath compiled with gcc3.4 and with the > same version of gcc which compiled JamVM. Classpath doesn't seem to be > affected by gcc version. > > Each time (jamvm -jar bin/felix.jar) if the error message > *Couldn't find Main-Class attribute in bin/felix.jar Manifest* > is displayed. The -cp path/to/class gives a deadlock VM. > > the configures: > ../../classpath-0.98/configure --prefix=/home/cvittoria/trenext/usr > --disable-gtk-peer --disable-gconf-peer --disable-plugin > --disable-alsa > ../../jamvm-1.5.1/configure --prefix=/home/cvittoria/trenext/usr > --with-classpath-install-dir=/home/cvittoria/trenext/usr > Thanks for clarifying the gcc versions. Aliasing changes in gcc 4.3 broke JamVM 1.5.0 and 1.5.1. This was fixed in version 1.5.2. From the NEWS file: - Strict-aliasing fixes when compiled with GCC 4.3, interpreter stack-caching is enabled, and interpreter inlining is on Rob. > Cheer, > Claude > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Jamvm-general mailing list Jamvm-general@... https://lists.sourceforge.net/lists/listinfo/jamvm-general |
| Free embeddable forum powered by Nabble | Forum Help |