Re: glib-java + no accpetable jar
- From: "Joseph E. Sacco, Ph.D." <joseph_sacco comcast net>
- To: garnome-list <garnome-list gnome org>
- Subject: Re: glib-java + no accpetable jar
- Date: Fri, 17 Nov 2006 14:09:04 -0500
Ron,
GARNOME uses the PATH defined in gar.conf.mk. Add
/usr/jre1.5.0_08/bin
to the PATH defined in gar.conf.mk to find
/usr/jre1.5.0_08/bin/jar
-Joseph
====================================================================
On Fri, 2006-11-17 at 00:31 +0100, Ron Wezeman wrote:
> Trying to build glib-java with garnome (CVS update 14-11-2006) give me
> this configure error:
>
> checking for gcj... gcj -C
> checking if gcj -C works... yes
> checking for jar... no
> configure: error: no acceptable jar program found in $PATH
> make[3]: *** [configure-work/main.d/glib-java-0.4.0/configure] Error 1
> make[3]: Leaving directory `garnome-cvs/bindings/glib-java'
> make[2]: *** [../../bindings/glib-java/cookies/main.d/install] Error 2
> make[2]: Leaving directory `garnome-cvs/bindings/cairo-java'
> make[1]: *** [paranoid-install] Error 2
> make[1]: Leaving directory `garnome-cvs/bindings'
> make: *** [paranoid-install] Error 2
> bash-3.1#
>
> When export JAVEPREFIX=/usr/jre1.5.0_08/bin
>
> make[4]: execvp: /J/jre1.5.0_08/bin: Permission denied
> make[4]: *** [glib0.4.jar] Error 127
> make[4]: Leaving directory
> `garnome-cvs/bindings/glib-java/work/main.d/glib-java-0.4.0'
> make[3]: *** [build-work/main.d/glib-java-0.4.0/Makefile] Error 2
> make[3]: Leaving directory `garnome-cvs/bindings/glib-java'
> make[2]: *** [../../bindings/glib-java/cookies/main.d/install] Error 2
> make[2]: Leaving directory `garnome-cvs/bindings/cairo-java'
> make[1]: *** [paranoid-install] Error 2
> make[1]: Leaving directory `garnome-cvs/bindings'
> make: *** [paranoid-install] Error 2
> bash-3.1#
>
> About execvp, I found this:"So, when you call execvp(),
> the /usr/bin/java wrapper is re-executed,
> not gij. This in turn, re-executes gij, ad nauseam.
> So, to make this clear:
> /usr/bin/java prefixes LD_LIBRARY_PATH and execs gij
> gij prefixes LD_LIBRARY_PATH and execs /usr/bin/java
> ...
> This only happens because each tool execs the other. This won't
> happen when java symlinks to gij."
>
> Which acceptable jar program?
> execvp?
> Permission denied?
>
> Regards,
>
> Ron Wezeman
>
--
joseph_sacco [at] comcast [dot] net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]