ДроноваЮ писал(а):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.