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/fe421898-249f-4074-8576-84c568a6213b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
