Thank you Orion.

I am still trying to figure out how to do this. I don't switch very often, just prior to big releases where the whole test suite gets run.

At least there are options.

Best,
Joe

On 03/24/2014 09:35 AM, Orion Poplawski wrote:
On 03/22/2014 11:18 AM, Joseph Areeda wrote:

On 03/22/2014 09:17 AM, Orion Poplawski wrote:
On 03/22/2014 07:44 AM, 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.
Do you have java-1.7.0-openjdk-devel installed? That is where jar lives.

Hi Orion,

My problem is not running jar, but rather switching between different JDK's.
I have OpenJDK 6 and 7 and Oracle's 6 and 7 and use

update-alternatives --config java

to switch between them for testing. Unfortunately I can't seem to convince
everybody to use my favorite JDK ;-)


If you still want to use alternatives, jar is tied as a slave to the "javac" config, so:

update-alternatives --config javac



Reply via email to