Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Feb 2015 13:31:11 +0100
From:      Dominic Fandrey <kami@freebsd.org>
To:        java@freebsd.org
Subject:   icedtea-web javaws invocation
Message-ID:  <54D3628F.8060102@freebsd.org>

index | next in thread | raw e-mail

[-- Attachment #1 --]
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? 


[-- Attachment #2 --]
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}
 
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54D3628F.8060102>