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 toralf.l...@pgs.com 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

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 lesmikes...@gmail.com 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,

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 toralf.l...@pgs.com 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

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 Chittomcar...@wistly.net wrote: Asma rabeasma.r...@gmail.com 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

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 toralf.l...@pgs.com 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

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 toralf.l...@pgs.com 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

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 toralf.l...@pgs.com 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

[CentOS] java 1.6 and 1.7 on CentOS

2014-08-19 Thread Asma rabe
Hi , 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 is there a better solution. If i should install both

Re: [CentOS] java 1.6 and 1.7 on CentOS

2014-08-19 Thread Carson Chittom
Asma rabe asma.r...@gmail.com 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.

Re: [CentOS] java 1.6 and 1.7 on CentOS

2014-08-19 Thread Liam O'Toole
On 2014-08-19, Carson Chittom car...@wistly.net wrote: Asma rabe asma.r...@gmail.com 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

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 asma.r...@gmail.com 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

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 asma.r...@gmail.com 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

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 asma.r...@gmail.com 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

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 Chittomcar...@wistly.net wrote: Asma rabeasma.r...@gmail.com 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

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 pie...@hogranch.com 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-openjdk and

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

Re: [CentOS] java 1.6 and 1.7 on CentOS

2014-08-19 Thread Liam O'Toole
On 2014-08-19, John R Pierce pie...@hogranch.com 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

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 pie...@hogranch.com 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.