Re: [CentOS] java 1.6 and 1.7 on CentOS

2014-08-22 Thread Les Mikesell
On Fri, Aug 22, 2014 at 9:55 AM, Les Mikesell wrote: > /var for the java > executables?? /opt might have made sense. > Oops, I guess it is actually under /usr/lib/jvm which isn't quite as bad, but still not the first place you'd expect for an executables like java, javac, jar, jconsole, etc. to

Re: [CentOS] java 1.6 and 1.7 on CentOS

2014-08-22 Thread Les Mikesell
On Thu, Aug 21, 2014 at 4:15 AM, Toralf Lund wrote: > >> What is formally correct about putting executables in some obscure >> place under /var? > I'm not quite sure what you mean by that. For the alternatives setup I > have links on /usr/bin or whatever pointing to other links on > /etc/alternat

Re: [CentOS] java 1.6 and 1.7 on CentOS

2014-08-21 Thread Toralf Lund
On 20/08/14 16:45, Les Mikesell wrote: > On Wed, Aug 20, 2014 at 9:02 AM, Toralf Lund wrote: >> I can confirm that. I have both installed. You can configure the default >> using the 'alternatives' system. > is it just me, or does anyone else think that 'alternatives' system is > co

Re: [CentOS] java 1.6 and 1.7 on CentOS

2014-08-20 Thread Les Mikesell
On Wed, Aug 20, 2014 at 9:02 AM, Toralf Lund wrote: > > I can confirm that. I have both installed. You can configure the default > using the 'alternatives' system. is it just me, or does anyone else think that 'alternatives' system is completely bogus? >>> I've always seen it as

Re: [CentOS] java 1.6 and 1.7 on CentOS

2014-08-20 Thread Toralf Lund
On 20/08/14 15:43, Les Mikesell wrote: > On Wed, Aug 20, 2014 at 8:25 AM, Toralf Lund wrote: >> On 19/08/14 20:33, John R Pierce wrote: If i should install both java 1.6 and 1.7 , how to do that ? >> I don't know whether you*should* do it, not knowing much about your >> setup, bu

Re: [CentOS] java 1.6 and 1.7 on CentOS

2014-08-20 Thread Les Mikesell
On Wed, Aug 20, 2014 at 8:25 AM, Toralf Lund wrote: > On 19/08/14 20:33, John R Pierce wrote: >>> If i should install both java 1.6 and 1.7 , how to do that ? > I don't know whether you*should* do it, not knowing much about your > setup, but assuming CentOS 7, I think you can install

Re: [CentOS] java 1.6 and 1.7 on CentOS

2014-08-20 Thread Toralf Lund
On 19/08/14 20:33, John R Pierce wrote: > On 8/19/2014 5:16 AM, Liam O'Toole wrote: >> On 2014-08-19, Carson Chittom wrote: Asma rabe writes: >> If i should install both java 1.6 and 1.7 , how to do that ? I don't know whether you*should* do it, not knowing much about your >>>

Re: [CentOS] java 1.6 and 1.7 on CentOS

2014-08-19 Thread Les Mikesell
On Tue, Aug 19, 2014 at 2:25 PM, John R Pierce wrote: > On 8/19/2014 12:08 PM, Les Mikesell wrote: >> Yes, I think pretty much everything in recent Linux distributions is >> aimed at making it more single-user and PC-like instead of a unix >> server. Following Apple's lead, I guess. But even a si

Re: [CentOS] java 1.6 and 1.7 on CentOS

2014-08-19 Thread Liam O'Toole
On 2014-08-19, John R Pierce wrote: > On 8/19/2014 12:08 PM, Les Mikesell wrote: >> Yes, I think pretty much everything in recent Linux distributions is >> aimed at making it more single-user and PC-like instead of a unix >> server. Following Apple's lead, I guess. But even a single user may >> n

Re: [CentOS] java 1.6 and 1.7 on CentOS

2014-08-19 Thread John R Pierce
On 8/19/2014 12:08 PM, Les Mikesell wrote: > Yes, I think pretty much everything in recent Linux distributions is > aimed at making it more single-user and PC-like instead of a unix > server. Following Apple's lead, I guess. But even a single user may > need to run applications with differing requ

Re: [CentOS] java 1.6 and 1.7 on CentOS

2014-08-19 Thread Les Mikesell
On Tue, Aug 19, 2014 at 1:33 PM, John R Pierce wrote: > >> > >>If i should install both java 1.6 and 1.7 , how to do that ? >>> > >>> >I don't know whether you*should* do it, not knowing much about your >>> >setup, but assuming CentOS 7, I think you can install both the >>> >java-1.6.0-openj

Re: [CentOS] java 1.6 and 1.7 on CentOS

2014-08-19 Thread John R Pierce
On 8/19/2014 5:16 AM, Liam O'Toole wrote: > On 2014-08-19, Carson Chittom wrote: >> >Asma rabe writes: >> > >>> >>If i should install both java 1.6 and 1.7 , how to do that ? >> > >> >I don't know whether you*should* do it, not knowing much about your >> >setup, but assuming CentOS 7, I think yo

Re: [CentOS] java 1.6 and 1.7 on CentOS

2014-08-19 Thread Les Mikesell
On Tue, Aug 19, 2014 at 6:06 AM, Asma rabe wrote: > > I have java 1.7 installed on CentOS machine. when i tried to run java > program i got an error and found that i should run it using java 1.6. > > > Is the best solution to install Java 1.6 and have both java 1.6 and java > 1.7 at same time? or

Re: [CentOS] java 1.6 and 1.7 on CentOS

2014-08-19 Thread Toralf Lund
On 19/08/14 14:48, Chris Pemberton wrote: > On 08/19/2014 07:00 AM, Carson Chittom wrote: >> Asma rabe writes: >> >>> If i should install both java 1.6 and 1.7 , how to do that ? >> I don't know whether you *should* do it, not knowing much about your >> setup, but assuming CentOS 7, I think you ca

Re: [CentOS] java 1.6 and 1.7 on CentOS

2014-08-19 Thread Chris Pemberton
On 08/19/2014 07:00 AM, Carson Chittom wrote: > Asma rabe writes: > >> If i should install both java 1.6 and 1.7 , how to do that ? > I don't know whether you *should* do it, not knowing much about your > setup, but assuming CentOS 7, I think you can install both the > java-1.6.0-openjdk and java

Re: [CentOS] java 1.6 and 1.7 on CentOS

2014-08-19 Thread Liam O'Toole
On 2014-08-19, Carson Chittom wrote: > Asma rabe writes: > >> If i should install both java 1.6 and 1.7 , how to do that ? > > I don't know whether you *should* do it, not knowing much about your > setup, but assuming CentOS 7, I think you can install both the > java-1.6.0-openjdk and java-1.7.0-

Re: [CentOS] java 1.6 and 1.7 on CentOS

2014-08-19 Thread Carson Chittom
Asma rabe writes: > If i should install both java 1.6 and 1.7 , how to do that ? I don't know whether you *should* do it, not knowing much about your setup, but assuming CentOS 7, I think you can install both the java-1.6.0-openjdk and java-1.7.0-openjdk packages. _