Thanks to xa and Nico

Joe

On 03/23/2014 05:12 AM, Nico Kadel-Garcia wrote:
On Sat, Mar 22, 2014 at 10:00 PM, zxq9 <z...@zxq9.com> wrote:
On Saturday 22 March 2014 06:44:19 Joseph Areeda wrote:
Hi All,

My immediate problem is that the utility "jar" is not in my path and
update-alternatives --config java does not set up the symbolic link.  I
currently have /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java selected.
This is as installed.

In my reading I can see a way to set up a new alternative by installing
all the utilities as slaves.

Is there a way to just add jar and a few other utilities to the existing
alternative?
You may have to rethink this. If you want to consistently use a
consistent Java release for a particular package, you can get in
trouble changing the "alternatives" settings for *all* system software
the way you've been doing. In particular, it will be reset
automatically when you RPM update any of your Java core packages.

If you need a particular bundle, strongly consider setting "JAVA_HOME"
for the relevant user or the rlelevant software configuratoin to point
to /usr/lib/jvm/java-1.7.0-openjdk.x86_64/  or similar locations, and
set PATH to include /usr/lib/jvm/java-1.7.0-openjdk.x86_64/bin first.

Reply via email to