Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Feb 2015 17:29:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 195860] textproc/apache-solr specifies JAVA_VERSION=1.7+ but solr rc.d script runs only with OpenJDK 7 (includes suggested fix)
Message-ID:  <bug-195860-13-aBWWymaXFr@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-195860-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-195860-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195860

--- Comment #3 from paul@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-195860-13-aBWWymaXFr>