maybe I wasn't clear. I know how to install java by hand 
from ppa:webupd8team/java. What I want is to have puppetlabs-java install 
it, and it fails. Adding ppa:webupd8team/java repo doesn't help. Has anyone 
managed to install 'oracle-jdk' using puppetlabs-java on ubuntu?

best,
Milan

On Saturday, June 7, 2014 4:32:29 PM UTC+2, Николай Колев wrote:
>
> Hi Milan,
>
> the name of the package is oracle-java7-installer
> what deb package does is to download java archive from Oracle;s web site 
> and then unpacks it and then some postinstall work like regsitering in 
> alternatives and setting JAVA_HOME etc.
> Hope this helps.
>
> best regards,
> Nickoaly Kolev
>
>
> 07 юни 2014, събота, 14:19:09 UTC+3, Milan Simonović написа:
>>
>> Николай thanks for the tip. Sorry I forgot to mention that 
>> ppa:webupd8team/java had been added already, 
>> but still it doesn't work, there's no oracle-j2sdk1.7 deb package there. 
>>
>> best,
>> Milan
>>
>> On Saturday, June 7, 2014 11:15:40 AM UTC+2, Николай Колев wrote:
>>>
>>> Hi Milan,
>>>
>>> In order to install oracle java you have to add third party repository, 
>>> How you can do this you can do it read this article: 
>>> http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html 
>>> <http://www.google.com/url?q=http%3A%2F%2Fwww.webupd8.org%2F2012%2F01%2Finstall-oracle-java-jdk-7-in-ubuntu-via.html&sa=D&sntz=1&usg=AFQjCNEf6wazKBUutEmPxmyUCT6CGxUJTQ>
>>> If you want this to be part of the puppet catalog use puppetlabs-apt 
>>> module to add it to the sources list
>>>
>>> best regards,
>>> Nickolay Kolev
>>>
>>> 06 юни 2014, петък, 23:17:20 UTC+3, Milan Simonović написа:
>>>>
>>>> Hi,
>>>>
>>>> puppet 3.6.1 on a vanilla trusty ubuntu server, trying to install 
>>>> oracle-jdk:
>>>>
>>>>   class { 'java':
>>>>
>>>>     distribution => 'oracle-jdk',
>>>>
>>>>     version      => 'latest',
>>>>
>>>>   }
>>>>
>>>> exits with the following error:
>>>>
>>>>
>>>> Error: Could not update: Execution of '/usr/bin/apt-get -q -y -o 
>>>> DPkg::Options::=--force-confold install oracle-j2sdk1.7' returned 100: 
>>>> Reading package lists...
>>>>
>>>> Building dependency tree...
>>>>
>>>> Reading state information...
>>>>
>>>> E: Unable to locate package oracle-j2sdk1.7
>>>>
>>>> E: Couldn't find any package by regex 'oracle-j2sdk1.7'
>>>>
>>>> am I missing a source or what (puppetlabs.list is in 
>>>> /etc/apt/sources.list.d/)?
>>>>
>>>> thanks,
>>>> Milan
>>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/5654dfa9-0f24-42f2-9797-f23664882148%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to