SCIENTIFIC-LINUX-USERS Archives

March 2014

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Joseph Areeda <[log in to unmask]>
Reply To:
Joseph Areeda <[log in to unmask]>
Date:
Mon, 24 Mar 2014 09:53:52 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (47 lines)
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
>
>
>

ATOM RSS1 RSS2