What happened to get-jre7-oracle?

Non-Desktop related topics
Ответить
Аватара пользователя
viking
Сообщения: 53
Зарегистрирован: 31 июл 2012, 22:10
Operating system: Rosa 2012 x64
KDE 4.8.3
nrj-netbook 3.4.11

What happened to get-jre7-oracle?

Сообщение viking » 02 авг 2012, 01:44

Release notes for ROSA Marathon 2012 have this line:
"OpenJDK is installed by default, but you can install Oracle JRE/JDK with the new helper packages: get-jre6-oracle, get-jre7-oracle, get-jdk6-oracle, and get-jdk7-oracle"

I can not find any of those packages anywhere. :(

I found some references for get-jre7-oracle on abf, but haven't found rpm anywhere.

I used oracle-java-installer-1.6.0_30-69-mib2011.0.x86_64.rpm to install Java, but I would like to have official Rosa package if possible.

Oh yes, OpenJDK is not installed by default, as stated.

Аватара пользователя
sylvainsjc
Сообщения: 1276
Зарегистрирован: 28 июн 2012, 20:39
Operating system: ROSA Linux
Контактная информация:

Re: What happened to get-jre7-oracle?

Сообщение sylvainsjc » 12 авг 2012, 12:11

Hi,
I was also searching for those helper packages before finding this thread... Can you tell us how to find it ?

Аватара пользователя
ДроноваЮ
Сообщения: 2636
Зарегистрирован: 01 июн 2011, 13:11
Operating system: Ubuntu/ROSA
Откуда: Москва

Re: What happened to get-jre7-oracle?

Сообщение ДроноваЮ » 12 авг 2012, 23:39

Due to Oracle licensing policy (which changed since the Marathon release notes had been published), the jdk7/jre7 packages are available to direct download from Oracle site only. So the package get-jre7-oracle was removed from ABF.
Please download and install Java7 manually (see the link: http://www.oracle.com/technetwork/java/ ... index.html , grab the Java for RPM-based distros ). I'll remove the appropriate lines from ReleaseNotes, thank you for raising the problem.

Аватара пользователя
viking
Сообщения: 53
Зарегистрирован: 31 июл 2012, 22:10
Operating system: Rosa 2012 x64
KDE 4.8.3
nrj-netbook 3.4.11

Re: What happened to get-jre7-oracle?

Сообщение viking » 15 авг 2012, 21:46

ДроноваЮ писал(а):Due to Oracle licensing policy (which changed since the Marathon release notes had been published), the jdk7/jre7 packages are available to direct download from Oracle site only. So the package get-jre7-oracle was removed from ABF.
Please download and install Java7 manually (see the link: http://www.oracle.com/technetwork/java/ ... index.html , grab the Java for RPM-based distros ). I'll remove the appropriate lines from ReleaseNotes, thank you for raising the problem.
Unfortunately there is no hope for 7u6 RPMs in Rosa at this moment.

I tried to install JRE and then JDK, but both failed. I also tired both install methods urpmi and rpm.

This is what I got for JRE:

Код: Выделить всё

installing jre-7u6-linux-x64.rpm
Preparing...                     #############################################
      1/1: jre                   #############################################
Unpacking JAR files...
        rt.jar...
Error: Could not open input file: /usr/java/jre1.7.0_06/lib/rt.pack
        jsse.jar...
Error: Could not open input file: /usr/java/jre1.7.0_06/lib/jsse.pack
        charsets.jar...
Error: Could not open input file: /usr/java/jre1.7.0_06/lib/charsets.pack
        localedata.jar...
Error: Could not open input file: /usr/java/jre1.7.0_06/lib/ext/localedata.pack
For JDK situations is pretty same, but with more errors (it have more packages).

Only way to install JDK 7u6 is by using bundle with NetBeans (jdk-7u6-nb-7_2-linux-x64-ml.sh)!

The good news is that JRE 7u5 (jre-7u5-linux-x64.rpm form http://java.com/en/download/manual.jsp?locale=en) can be installed with urpmi.

But...

If I go to http://www.java.com/en/download/testjava.jsp looks like I do not have java.

It's same if I try to use alternatives --config java

With NetBeans bundle even java -version doesn't work.

Looks like some sym links are missing in both cases.

Looks like the best choice for now is to use oracle-java-installer-1.6.0_30-69-mib2011.0.x86_64.rpm from MIB.

Аватара пользователя
ДроноваЮ
Сообщения: 2636
Зарегистрирован: 01 июн 2011, 13:11
Operating system: Ubuntu/ROSA
Откуда: Москва

Re: What happened to get-jre7-oracle?

Сообщение ДроноваЮ » 15 авг 2012, 23:51

You should try to install native NetBeans, not from repos, but from the http://netbeans.org/downloads/index.html + Java from off.site, and try this bundle.

Аватара пользователя
viking
Сообщения: 53
Зарегистрирован: 31 июл 2012, 22:10
Operating system: Rosa 2012 x64
KDE 4.8.3
nrj-netbook 3.4.11

Re: What happened to get-jre7-oracle?

Сообщение viking » 16 авг 2012, 00:21

ДроноваЮ писал(а):You should try to install native NetBeans, not from repos, but from the http://netbeans.org/downloads/index.html + Java from off.site, and try this bundle.
You totally missed the point of my post. Please read more carefully.

I do not need NetBeans at all. :no:

I tried to figure out is it possible to install JDK/JRE 7u6 or JDK/JRE 7u5 in Rosa, and already wrote that is not possible to use packages from Oracle site, and you writing that I should use packages from Oracle site.

From Oracle site

JDK 7u6 (RPM) from
http://www.oracle.com/technetwork/java/ ... 37583.html
CAN NOT BE INSTALLED AT ALL! (actually it make errors when unpacking some things during rpm install)

JRE 7u6 (RPM) from
http://www.oracle.com/technetwork/java/ ... 37588.html
CAN NOT BE INSTALLED AT ALL! (actually it make errors when unpacking some things during rpm install)

JDK 7u6 with NetBeans 7.2 (sh) from
http://www.oracle.com/technetwork/java/ ... 32126.html
CAN BE INSTALLED BUT WORK PARTIALLY! (java doesn't work in browser, java is not in path)

From Java.com

JRE 7u5 (RPM) from
http://java.com/en/download/manual.jsp?locale=en
CAN BE INSTALLED BUT WORK PARTIALLY! (java doesn't work in browser, alternatives doesn't see it)

I hope it's clear now.

Ответить

Вернуться в «Marathon (LTS) General Software»