[Bug 195860] textproc/apache-solr specifies JAVA_VERSION=1.7+ but solr rc.d script runs only with OpenJDK 7 (includes suggested fix)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Feb 6 17:29:19 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195860

--- Comment #3 from paul at gromit.dlib.vt.edu ---
(In reply to John Marino from comment #2)

The version of Solr in the port will work with Java 1.7 and Java 1.8.  Making
the change you suggest will force an installation of Java 1.7 even in the case
where the user already has only Java 1.8 installed (which would nevertheless be
adequate to run Solr).

My suggested change looks at what the default "java" actually is and uses that
for the procname.  It would be nice to have someone familiar with Java ports
comment on the standard way to do this, as I'm not too familiar with the
runtime Java selection mechanism.  For example, the approach here might be
problematic if a system has Java 1.6, 1.7, and 1.8 installed but Java 1.6 set
to being the default.

Your suggested change is the safest, although it does violate the spirit of the
original "JAVA_VERSION= 1.7+" option and forces the installation of Java 1.7.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list