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:
Orion Poplawski <[log in to unmask]>
Reply To:
Orion Poplawski <[log in to unmask]>
Date:
Mon, 24 Mar 2014 10:35:49 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (37 lines)
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



-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       [log in to unmask]
Boulder, CO 80301                   http://www.nwra.com

ATOM RSS1 RSS2