[ubuntu-in] Is it possible to run openjdk and java side by side on linux

Subhadip Ghosh subhadip.sky at gmail.com
Sat Jul 18 04:58:16 UTC 2015


I suppose you actually meant Oracle JDK/JRE when you said java. It's 
possible to have OpenJDK and Oracle JDK installed on the same system but 
you can have only one set as default at any point of time for obvious 
reason.

Thanks,
Subhadip

On 07/17/2015 05:30 PM, ubuntu-in-request at lists.ubuntu.com wrote:
> Send ubuntu-in mailing list submissions to
> 	ubuntu-in at lists.ubuntu.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
> or, via email, send a message with subject or body 'help' to
> 	ubuntu-in-request at lists.ubuntu.com
>
> You can reach the person managing the list at
> 	ubuntu-in-owner at lists.ubuntu.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of ubuntu-in digest..."
>
>
> Today's Topics:
>
>     1. Re:  Is it possible to run openjdk and java side by side on
>        linux (Onkar Shinde)
>     2. Re:  Is it possible to run openjdk and java side by side on
>        linux (Ramnarayan.K)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 17 Jul 2015 11:19:56 +0530
> From: Onkar Shinde <onkarshinde at gmail.com>
> To: Ubuntu India Local Community <ubuntu-in at lists.ubuntu.com>
> Subject: Re: [ubuntu-in] Is it possible to run openjdk and java side
> 	by side on linux
> Message-ID:
> 	<CAKBPJyjDZHTX=r9qXaZ5PdjmavchTgvC5XGukx1s5nMFDovkag at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> I think you are probably asking wrong questions. But without much
> details of what you are trying to run it is difficult to give advice.
> Here is what I figure out.
> You are probably trying to run some ide which requires JDK so you need
> to install openjdk-7-jdk package using synaptic or some other package
> manager. This will also install java runtime.
> The other software you are trying to run requires either java runtime
> or java plugin (search icedtea in synaptic).
>
> You can probably run different softwares on different version of java
> by setting up correct environment variables. I have never tried it
> myself. And you probably do not need this kind of setup in this
> particular case.
>
>
> Regards,
> Onkar
>
>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 17 Jul 2015 11:35:05 +0530
> From: "Ramnarayan.K" <ramnarayan.k at gmail.com>
> To: Ubuntu India Local Community <ubuntu-in at lists.ubuntu.com>
> Subject: Re: [ubuntu-in] Is it possible to run openjdk and java side
> 	by side on linux
> Message-ID:
> 	<CAEiy1Cp=gBMQnKdZAC4Jdy9bCDout0Y6S7ucxd4a49LnWNy6rA at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Thanks Onkar
>
> Yes am trying to run two different pieces of software both of which have a
> requirement for different kind of Java .
>
> Right now , luckily , am only using one of the software but soon enough
> both will need to run . Till then will work on setting it up and letting
> you know what happens.
> regards
> ram
>
> On 17 July 2015 at 11:19, Onkar Shinde <onkarshinde at gmail.com> wrote:
>
>> I think you are probably asking wrong questions. But without much
>> details of what you are trying to run it is difficult to give advice.
>> Here is what I figure out.
>> You are probably trying to run some ide which requires JDK so you need
>> to install openjdk-7-jdk package using synaptic or some other package
>> manager. This will also install java runtime.
>> The other software you are trying to run requires either java runtime
>> or java plugin (search icedtea in synaptic).
>>
>> You can probably run different softwares on different version of java
>> by setting up correct environment variables. I have never tried it
>> myself. And you probably do not need this kind of setup in this
>> particular case.
>>
>>
>> Regards,
>> Onkar
>>
>> --
>> ubuntu-in mailing list
>> ubuntu-in at lists.ubuntu.com
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
>>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <https://lists.ubuntu.com/archives/ubuntu-in/attachments/20150717/90a6d1b9/attachment-0001.html>
>
> ------------------------------
>




More information about the ubuntu-in mailing list