On 5/1/05, Michael Koch <konqueror@...> wrote:
> On Sun, May 01, 2005 at 10:03:08AM +0300, gxkahn wrote:
> > Hi
> > I compile JamVM 1.3.0 on FC3 and classpath-0.14
> > When trying to run gets follows message:
> > "Exception occurred while VM initialising.
> > java/lang/NoClassDefFoundError: java/lang/Thread"
> You have forgotten to use --with-classpath-install-dir=3D/your/classpath/=
> This even needs to be given when classpath is installed in the default lo=
> or the used the same prefix as jamvm. This is a bug/mis-feature in jamvm =
> could be made more elegant.
Hmmm. That shouldn't be happening. If you configure and install
JamVM and Classpath in the default locations no additional options
should be needed. JamVM assumes Classpath is installed in
/usr/local/classpath. You should only need to use
--with-classpath-install-dir if you've configured classpath to install
in a different location (using --prefix) or you've copied it somewhere
else after installing.
I admit --with-classpath-install-dir isn't perfect, but I've always
assumed most people don't need to know about it, as everything should
normally "just work". I'd be very interested to hear if other people
are finding they have to specify it, when all they're doing is
./configure ...; make; make install. If you are installing classpath
in a different place then there's no cleaner/more elegant way, as
JamVM has to know where it's installed (unless anybody else can think
of a better solution).
P.S. I'm referring to Classpath downloaded from the GNU site. If
you're using a built package, it may be configured to live somewhere
P.P.S. I've just arrived in Singapore (for 3 months) --
unfortunately, it looks as if it'll take a couple of days to sort out
network access so I won't be online much...
> Escape the Java Trap with GNU Classpath!
> Join the community at http://planet.classpath.org/
> This SF.Net email is sponsored by: NEC IT Guy Games.
> Get your fingers limbered up and give it your best shot. 4 great events, =
> opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
> win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=3D20
> Jamvm-general mailing list