icedtea-web javaws invocation

Dominic Fandrey kami at freebsd.org
Thu Feb 5 12:31:25 UTC 2015


I installed icedtea-web for using an IPMI remote client. And noticed
that by invoking /usr/local/openjdk7/bin/java directly the environment
setup of the java wrapper in /usr/local/bin/java is circumvented and
leads to an error linking libjvm.so.

A simple fix is attached.

-- 
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail? 

-------------- next part --------------
Index: java/icedtea-web/Makefile
===================================================================
--- java/icedtea-web/Makefile	(revision 378405)
+++ java/icedtea-web/Makefile	(working copy)
@@ -45,7 +45,7 @@
 PORTDOCS=	netx
 
 CONFIGURE_ARGS=	--with-asm=no --with-ecj=no --with-emma=no --with-jacoco=no
-CONFIGURE_ARGS+=--with-jdk-home="${JAVA_HOME}"
+CONFIGURE_ARGS+=--with-jdk-home="${JAVA_HOME}" --with-java="${LOCALBASE}/bin/java"
 CONFIGURE_ENV=	ac_cv_path_BIN_BASH=${bash_CMD}
 SH=		${bash_CMD}
 


More information about the freebsd-java mailing list