[opensuse-factory] Installing Sun jdk it's a pain
HI guys, is there a easy way to install sun jsdk on opensuse/leap ? Are 2 days that I'm trying on 13.2 but at the end, there is always something that does not work. There are dozen of tutorial, forum thread, video, script but they are outdated not working. There are tutorial for Leap too so things are not better. I know that the sun jdk cannot be shipped with the distro. OpenJdk is not the answer. What about at working spec file ? Or an src that download jdk from sun website and rebuild it locally ? Do we want to be one of the worst distro for working with java ? Thanks, Daniele. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Am 31.12.2015 um 12:38 schrieb Daniele:
HI guys, is there a easy way to install sun jsdk on opensuse/leap ? Are 2 days that I'm trying on 13.2 but at the end, there is always something that does not work.
There are dozen of tutorial, forum thread, video, script but they are outdated not working.
How did you try it? How I use it: Download the binary zip for your system (not the rpm). Extract it to a directory of your choice. Then add to your .bashrc: export PATH=<jdk_dir>/bin:$PATH export JAVA_HOME=<jdk_dir> export JAVA_BINDIR=${JAVA_HOME}/bin export JAVA_ROOT=$JAVA_HOME That works for me (and integrates it also with Eclipse). Br, Frank -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Il 31/12/2015 12:53, Frank Kunz ha scritto:
Am 31.12.2015 um 12:38 schrieb Daniele:
HI guys, is there a easy way to install sun jsdk on opensuse/leap ? Are 2 days that I'm trying on 13.2 but at the end, there is always something that does not work.
There are dozen of tutorial, forum thread, video, script but they are outdated not working.
How did you try it?
How I use it:
Download the binary zip for your system (not the rpm). Extract it to a directory of your choice. Then add to your .bashrc:
export PATH=<jdk_dir>/bin:$PATH export JAVA_HOME=<jdk_dir> export JAVA_BINDIR=${JAVA_HOME}/bin export JAVA_ROOT=$JAVA_HOME
That works for me (and integrates it also with Eclipse).
Br, Frank
I'd like to install jdk system wide with all alternatives link in place ! Thanks, Daniele. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Thu, Dec 31, 2015 at 12:38 PM, Daniele <kailed@kailed.net> wrote:
HI guys, is there a easy way to install sun jsdk on opensuse/leap ? Are 2 days that I'm trying on 13.2 but at the end, there is always something that does not work.
There are dozen of tutorial, forum thread, video, script but they are outdated not working.
There are tutorial for Leap too so things are not better.
I know that the sun jdk cannot be shipped with the distro.
OpenJdk is not the answer.
May I ask why?
What about at working spec file ? Or an src that download jdk from sun website and rebuild it locally ?
Do we want to be one of the worst distro for working with java ?
Also, could you clarify what exactly does not work? And why do you want alternatives? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Thu, Dec 31, 2015 at 12:38 PM, Daniele <kailed@kailed.net> wrote:
HI guys, is there a easy way to install sun jsdk on opensuse/leap ? Are 2 days that I'm trying on 13.2 but at the end, there is always something that does not work.
There are dozen of tutorial, forum thread, video, script but they are outdated not working.
There are tutorial for Leap too so things are not better.
I know that the sun jdk cannot be shipped with the distro.
OpenJdk is not the answer.
May I ask why? Well, I'm not a big fun of java and for my needs OpenJdk is working fine. But: some software rants if the sun jdk is not used, installing Netbeans is another half pain,
Il 31/12/2015 17:06, Stanislav Baiduzhyi ha scritto: the sun implementation is still the most used, at least on windows. So testing in that VM, even for just to be sure, is not bad at all.
What about at working spec file ? Or an src that download jdk from sun website and rebuild it locally ?
Do we want to be one of the worst distro for working with java ?
Also, could you clarify what exactly does not work? And why do you want alternatives?
I don't *want* aternatives but we have them and should be configured when you install an alternative $something system wide. Thanks, Daniele. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Thu, Dec 31, 2015 at 6:50 PM, Daniele <kailed@kailed.net> wrote:
Well, I'm not a big fun of java and for my needs OpenJdk is working fine. But: some software rants if the sun jdk is not used, installing Netbeans is another half pain, the sun implementation is still the most used, at least on windows. So testing in that VM, even for just to be sure, is not bad at all.
I don't *want* aternatives but we have them and should be configured when you install an alternative $something system wide.
Well in that case I would suggest you to do following: 1. uninstall all other java and openjdk packages. 2. unpack Oracle JDK somewhere under /opt 3. symlink it to /opt/jdk (so unpacking updates you'll change only symlink) 4. go to netbeans.conf and change the jdk location to /opt/jdk 5. echo '#!/bin/sh' >/usr/local/bin/java && echo 'export JAVA_HOME=/opt/jdk' >>/usr/local/bin/java && echo '/opt/jdk/bin/java "$@"' >>/usr/local/bin/java && chmod a+x /usr/local/bin/java I used that method since NetBeans 4.1, no issues so far, as long as there is no other java installed in the system. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Il 31/12/2015 20:06, Stanislav Baiduzhyi ha scritto:
On Thu, Dec 31, 2015 at 6:50 PM, Daniele <kailed@kailed.net> wrote:
Well, I'm not a big fun of java and for my needs OpenJdk is working fine. But: some software rants if the sun jdk is not used, installing Netbeans is another half pain, the sun implementation is still the most used, at least on windows. So testing in that VM, even for just to be sure, is not bad at all.
I don't *want* aternatives but we have them and should be configured when you install an alternative $something system wide.
Well in that case I would suggest you to do following: 1. uninstall all other java and openjdk packages. 2. unpack Oracle JDK somewhere under /opt 3. symlink it to /opt/jdk (so unpacking updates you'll change only symlink) 4. go to netbeans.conf and change the jdk location to /opt/jdk 5. echo '#!/bin/sh' >/usr/local/bin/java && echo 'export JAVA_HOME=/opt/jdk' >>/usr/local/bin/java && echo '/opt/jdk/bin/java "$@"' >>/usr/local/bin/java && chmod a+x /usr/local/bin/java
I used that method since NetBeans 4.1, no issues so far, as long as there is no other java installed in the system.
Not so easy. Step 1 should be avoided, libreoffice requires some java stuff, not jdk but there are some dependecies issues.. So, alternatives should be usefull... For netbeans, is enough to select the java dir during installation (for sun jdk). With openjdk, installation is ok but if you try to enable some additional modules, missing this, missing that... Thanks, Daniele. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Thu, Dec 31, 2015 at 8:40 PM, Daniele <kailed@kailed.net> wrote:
Not so easy. Step 1 should be avoided, libreoffice requires some java stuff, not jdk but there are some dependecies issues..
So, alternatives should be usefull...
There are only couple of strange extensions really requiring openjdk, not sure if you really need those.
For netbeans, is enough to select the java dir during installation (for sun jdk).
With openjdk, installation is ok but if you try to enable some additional modules, missing this, missing that...
Anything other than JavaFX is missing? I'm using NetBeans on top of OpenJDK since 7u2, SE, web and enterprise development fully works, and I don't see any sense in JavaFX so nothing is missing for me. PS: also. netbeans installer is little annoying, I used to download zip. Now I've established my own openjdk + netbeans repo: http://download.opensuse.org/repositories/home:/tuxjdk/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Il 31/12/2015 21:12, Stanislav Baiduzhyi ha scritto:
On Thu, Dec 31, 2015 at 8:40 PM, Daniele <kailed@kailed.net> wrote:
Not so easy. Step 1 should be avoided, libreoffice requires some java stuff, not jdk but there are some dependecies issues..
So, alternatives should be usefull...
There are only couple of strange extensions really requiring openjdk, not sure if you really need those.
For netbeans, is enough to select the java dir during installation (for sun jdk).
With openjdk, installation is ok but if you try to enable some additional modules, missing this, missing that...
Anything other than JavaFX is missing? I'm using NetBeans on top of OpenJDK since 7u2, SE, web and enterprise development fully works, and I don't see any sense in JavaFX so nothing is missing for me. PS: also. netbeans installer is little annoying, I used to download zip. Now I've established my own openjdk + netbeans repo: http://download.opensuse.org/repositories/home:/tuxjdk/
I don't know but after a quick test: GUI Builder: JDK is missing. Debugger: some modules cannot be installed.. JavaFX: as above Profiler: Dependecy failed on package com.sun.tools.attach[VirtualMachine] This on Leap with OpenJdk On 13.2 with sun stuff installed locally, everything is fine. Daniele. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Thu, Dec 31, 2015 at 10:29 PM, Daniele <kailed@kailed.net> wrote:
I don't know but after a quick test:
GUI Builder: JDK is missing. Debugger: some modules cannot be installed.. Profiler: Dependecy failed on package com.sun.tools.attach[VirtualMachine]
I've just tried, all of the above work fine on my machine. That may indicate that something is wrong with your installation of either NetBeans of OpenJDK. Would you like to dig deeper into it? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Il 01/01/2016 13:51, Stanislav Baiduzhyi ha scritto:
On Thu, Dec 31, 2015 at 10:29 PM, Daniele <kailed@kailed.net> wrote:
I don't know but after a quick test:
GUI Builder: JDK is missing. Debugger: some modules cannot be installed.. Profiler: Dependecy failed on package com.sun.tools.attach[VirtualMachine]
I've just tried, all of the above work fine on my machine. That may indicate that something is wrong with your installation of either NetBeans of OpenJDK. Would you like to dig deeper into it?
The fix is easy: netbeans --jdkhome /usr/lib64/jvm/java-1.8.0-openjdk Why is needed for openjdk and not for sun ? Maybe this is fixable.. bug in openjdk ? bug in netbeans ? packaging bug ? Who knows.. Thanks, Daniele. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Fri, Jan 1, 2016 at 2:19 PM, Daniele <kailed@kailed.net> wrote:
The fix is easy: netbeans --jdkhome /usr/lib64/jvm/java-1.8.0-openjdk
Why is needed for openjdk and not for sun ? Maybe this is fixable.. bug in openjdk ? bug in netbeans ? packaging bug ? Who knows..
Could you please paste the output of following commands: grep 'netbeans_jdkhome' netbeans/etc/netbeans.conf echo $JAVA_HOME I have a suspicion that's because of the bad symlink handling, while in case of Oracle JDK you're not using symlinks. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Il 01/01/2016 14:33, Stanislav Baiduzhyi ha scritto:
On Fri, Jan 1, 2016 at 2:19 PM, Daniele <kailed@kailed.net> wrote:
The fix is easy: netbeans --jdkhome /usr/lib64/jvm/java-1.8.0-openjdk
Why is needed for openjdk and not for sun ? Maybe this is fixable.. bug in openjdk ? bug in netbeans ? packaging bug ? Who knows..
Could you please paste the output of following commands: grep 'netbeans_jdkhome' netbeans/etc/netbeans.conf echo $JAVA_HOME
I have a suspicion that's because of the bad symlink handling, while in case of Oracle JDK you're not using symlinks.
On Leap (clean install): dan@HPa6230:~> grep 'netbeans_jdkhome' netbeans-8.1/etc/netbeans.conf netbeans_jdkhome="/usr" dan@HPa6230:~> echo $JAVA_HOME /usr/lib64/jvm/java on 13.2 with sun VM: netbeans_jdkhome="/local/jdk1.8.0_65" (this is right) JAV_HOME = /usr/lib64/jvm/jre Here I'm not sure if alternatives and symlink are all right.. But here the point is why I need to fix Netbeans and not how.. Thanks, Daniele. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Fri, Jan 1, 2016 at 2:50 PM, Daniele <kailed@kailed.net> wrote:
dan@HPa6230:~> grep 'netbeans_jdkhome' netbeans-8.1/etc/netbeans.conf netbeans_jdkhome="/usr" dan@HPa6230:~> echo $JAVA_HOME /usr/lib64/jvm/java
Here's your problem, NetBeans found java executable under /usr/bin and decided that JAVA_HOME is /usr. Change that to /usr/lib64/jvm/java and that should fix it.
But here the point is why I need to fix Netbeans and not how..
How did you install NetBeans, rpm RPM or using official installer or using cross-platform ZIP? Quite possible this is an installer issue, RPM should write the correct value to netbeans.conf and unzip will probably detect it based on JAVA_HOME. So now you too have a reason not to use the installer. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Attached are rpm build specs for Sun/Oracle Java 1.7 and 1.8 which I was using to created packages on an private OBS instance. They are nothing more than a "continuation" of the 1.6.0 specs from past openSUSE releases that have been adopted for the newer releases after Oracle changed the licensing, FWIW the 1.6 specs can still be gotten from the build service. -- Later, Darin On Fri, Jan 1, 2016 at 9:02 AM, Stanislav Baiduzhyi <baiduzhyi.devel@gmail.com> wrote:
On Fri, Jan 1, 2016 at 2:50 PM, Daniele <kailed@kailed.net> wrote:
dan@HPa6230:~> grep 'netbeans_jdkhome' netbeans-8.1/etc/netbeans.conf netbeans_jdkhome="/usr" dan@HPa6230:~> echo $JAVA_HOME /usr/lib64/jvm/java
Here's your problem, NetBeans found java executable under /usr/bin and decided that JAVA_HOME is /usr. Change that to /usr/lib64/jvm/java and that should fix it.
But here the point is why I need to fix Netbeans and not how..
How did you install NetBeans, rpm RPM or using official installer or using cross-platform ZIP? Quite possible this is an installer issue, RPM should write the correct value to netbeans.conf and unzip will probably detect it based on JAVA_HOME. So now you too have a reason not to use the installer. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Il 03/01/2016 20:39, Darin Perusich ha scritto:
Attached are rpm build specs for Sun/Oracle Java 1.7 and 1.8 which I was using to created packages on an private OBS instance. They are nothing more than a "continuation" of the 1.6.0 specs from past openSUSE releases that have been adopted for the newer releases after Oracle changed the licensing, FWIW the 1.6 specs can still be gotten from the build service. -- Later, Darin
Great ! Tested 1.8 spec and now: java-1_8_0-sun-1.8.0.u66-1.x86_64.rpm java-1_8_0-sun-devel-1.8.0.u66-1.x86_64.rpm java-1_8_0-sun-plugin-1.8.0.u66-1.x86_64.rpm java-1_8_0-sun-alsa-1.8.0.u66-1.x86_64.rpm java-1_8_0-sun-jdbc-1.8.0.u66-1.x86_64.rpm java-1_8_0-sun-src-1.8.0.u66-1.x86_64.rpm but: zypper in --oldpackage *.rpm [1] Loading repository data... Reading installed packages... Resolving package dependencies... Problem: nothing provides libavcodec.so.53()(64bit) needed by java-1_8_0-sun-plugin-1.8.0.u66-1.x86_64 Solution 1: do not install java-1_8_0-sun-plugin-1.8.0.u66-1.x86_64 Solution 2: break java-1_8_0-sun-plugin-1.8.0.u66-1.x86_64 by ignoring some of its dependencies Choose from above solutions by number or cancel [1/2/c] (c): I've libavcodec56 installed. [1] --oldpackage because I've already installed sun jre from obs, zypper rants.. This on os 13.2. I'll try on Leap.. Any ideas ? Thanks, Daniele. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
not that difficult: first download packages from java website (check for x32 or x64) then unpack (as root) to /usr/lib64/ then run this in root konsole (terminal) /usr/sbin/update-alternatives --install "/usr/bin/java" "java" "/usr/lib64/jre1.8.0_66/bin/java" 1805 /usr/sbin/update-alternatives --install "/usr/bin/java" "java" "/usr/lib64/jdk1.8.0_66/bin/java" 1805 /usr/sbin/update-alternatives --install "/usr/lib/browser-plugins/javaplugin.so" "javaplugin" "/usr/lib64/jre1.8.0_66/lib/amd64/libnpjp2.so" 18020 #set java version to use system wide /usr/sbin/update-alternatives --config java /usr/sbin/update-alternatives --config javaplugin ## FOR FIREFOX (check your path before running)## ## update symlink to plugin in appropriate user dir: cd /home/usersname/.mozilla/firefox/Profiles/mfxd2d7n.firefox/plugins cd /home/usersname/.config/google-chrome-beta/plugins rm libnpjp2.so ln -s /usr/lib64/jre1.8.0_66/lib/amd64/libnpjp2.so libnpjp2.so chown -v -R usersname:users /home/usersname/.mozilla chmod -v -R 0774 /home/usersname/.mozilla when done, reboot computer. André Op 03-01-16 om 21:27 schreef Daniele:
Il 03/01/2016 20:39, Darin Perusich ha scritto:
Attached are rpm build specs for Sun/Oracle Java 1.7 and 1.8 which I was using to created packages on an private OBS instance. They are nothing more than a "continuation" of the 1.6.0 specs from past openSUSE releases that have been adopted for the newer releases after Oracle changed the licensing, FWIW the 1.6 specs can still be gotten from the build service. -- Later, Darin
Great ! Tested 1.8 spec and now:
java-1_8_0-sun-1.8.0.u66-1.x86_64.rpm java-1_8_0-sun-devel-1.8.0.u66-1.x86_64.rpm java-1_8_0-sun-plugin-1.8.0.u66-1.x86_64.rpm java-1_8_0-sun-alsa-1.8.0.u66-1.x86_64.rpm java-1_8_0-sun-jdbc-1.8.0.u66-1.x86_64.rpm java-1_8_0-sun-src-1.8.0.u66-1.x86_64.rpm
but:
zypper in --oldpackage *.rpm [1] Loading repository data... Reading installed packages... Resolving package dependencies...
Problem: nothing provides libavcodec.so.53()(64bit) needed by java-1_8_0-sun-plugin-1.8.0.u66-1.x86_64 Solution 1: do not install java-1_8_0-sun-plugin-1.8.0.u66-1.x86_64 Solution 2: break java-1_8_0-sun-plugin-1.8.0.u66-1.x86_64 by ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/c] (c):
I've libavcodec56 installed.
[1] --oldpackage because I've already installed sun jre from obs, zypper rants..
This on os 13.2. I'll try on Leap..
Any ideas ?
Thanks,
Daniele. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
update: chrome doesn't work, ignore that :) Op 03-01-16 om 21:27 schreef Daniele:
Il 03/01/2016 20:39, Darin Perusich ha scritto:
Attached are rpm build specs for Sun/Oracle Java 1.7 and 1.8 which I was using to created packages on an private OBS instance. They are nothing more than a "continuation" of the 1.6.0 specs from past openSUSE releases that have been adopted for the newer releases after Oracle changed the licensing, FWIW the 1.6 specs can still be gotten from the build service. -- Later, Darin
Great ! Tested 1.8 spec and now:
java-1_8_0-sun-1.8.0.u66-1.x86_64.rpm java-1_8_0-sun-devel-1.8.0.u66-1.x86_64.rpm java-1_8_0-sun-plugin-1.8.0.u66-1.x86_64.rpm java-1_8_0-sun-alsa-1.8.0.u66-1.x86_64.rpm java-1_8_0-sun-jdbc-1.8.0.u66-1.x86_64.rpm java-1_8_0-sun-src-1.8.0.u66-1.x86_64.rpm
but:
zypper in --oldpackage *.rpm [1] Loading repository data... Reading installed packages... Resolving package dependencies...
Problem: nothing provides libavcodec.so.53()(64bit) needed by java-1_8_0-sun-plugin-1.8.0.u66-1.x86_64 Solution 1: do not install java-1_8_0-sun-plugin-1.8.0.u66-1.x86_64 Solution 2: break java-1_8_0-sun-plugin-1.8.0.u66-1.x86_64 by ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/c] (c):
I've libavcodec56 installed.
[1] --oldpackage because I've already installed sun jre from obs, zypper rants..
This on os 13.2. I'll try on Leap..
Any ideas ?
Thanks,
Daniele. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Stanislav Baiduzhyi wrote:
Anything other than JavaFX is missing? I'm using NetBeans on top of OpenJDK since 7u2, SE, web and enterprise development fully works, and I don't see any sense in JavaFX so nothing is missing for me.
Unfortunately Greenfoot used for teaching programming in schools requires JavaFX. Ciao, Michael.
On Thursday 31 December 2015 12.38:36 Daniele wrote:
HI guys, is there a easy way to install sun jsdk on opensuse/leap ? Are 2 days that I'm trying on 13.2 but at the end, there is always something that does not work.
There are dozen of tutorial, forum thread, video, script but they are outdated not working.
There are tutorial for Leap too so things are not better.
I know that the sun jdk cannot be shipped with the distro.
OpenJdk is not the answer.
What about at working spec file ? Or an src that download jdk from sun website and rebuild it locally ?
Do we want to be one of the worst distro for working with java ?
Thanks,
Daniele.
If the proposed upstream rpm doesn't work, that a bug issue for upstream! I don't see what openSUSE community can do on that subject. Oracle "offer" subscription, support etc for its products. We just can't. -- Bruno Friedmann Ioda-Net Sàrl www.ioda-net.ch openSUSE Member & Board, fsfe fellowship GPG KEY : D5C9B751C4653227 irc: tigerfoot -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Il 31/12/2015 17:16, Bruno Friedmann ha scritto:
If the proposed upstream rpm doesn't work, that a bug issue for upstream!
I don't see what openSUSE community can do on that subject. Oracle "offer" subscription, support etc for its products. We just can't.
You don't have to fix upstream rpm (made for RH) but make the life easy for opensuse users. https://en.opensuse.org/SDB:Installing_Java I'd like to see something official shipped with the distro that takes care of the needed steps. Maybe downloading the archive... Thanks, Daniele. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Thu, Dec 31, 2015 at 6:58 PM, Daniele <kailed@kailed.net> wrote:
Il 31/12/2015 17:16, Bruno Friedmann ha scritto:
If the proposed upstream rpm doesn't work, that a bug issue for upstream!
I don't see what openSUSE community can do on that subject. Oracle "offer" subscription, support etc for its products. We just can't.
You don't have to fix upstream rpm (made for RH) but make the life easy for opensuse users.
https://en.opensuse.org/SDB:Installing_Java
I'd like to see something official shipped with the distro that takes care of the needed steps. Maybe downloading the archive...
Do you know any other non-commercial linux distribution that ships Oracle JDK as package? It costs a lot of money to have special deal with Oracle to be able to redistribute their JDK, I would assume that SLES may be doing that but it does not make sense to do that for openSUSE. Even just creating automated install scripts can be risky since Oracle wants everyone to "Accept the License" before downloading. And any way, it should not be a problem just to unpack the downloaded tarball as long as you do not need alternatives, and even alternatives can be added manually. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Thursday 31 December 2015 20.12:31 Stanislav Baiduzhyi wrote:
On Thu, Dec 31, 2015 at 6:58 PM, Daniele <kailed@kailed.net> wrote:
Il 31/12/2015 17:16, Bruno Friedmann ha scritto:
If the proposed upstream rpm doesn't work, that a bug issue for upstream!
I don't see what openSUSE community can do on that subject. Oracle "offer" subscription, support etc for its products. We just can't.
You don't have to fix upstream rpm (made for RH) but make the life easy for opensuse users.
https://en.opensuse.org/SDB:Installing_Java
I'd like to see something official shipped with the distro that takes care of the needed steps. Maybe downloading the archive...
Do you know any other non-commercial linux distribution that ships Oracle JDK as package? It costs a lot of money to have special deal with Oracle to be able to redistribute their JDK, I would assume that SLES may be doing that but it does not make sense to do that for openSUSE. Even just creating automated install scripts can be risky since Oracle wants everyone to "Accept the License" before downloading. And any way, it should not be a problem just to unpack the downloaded tarball as long as you do not need alternatives, and even alternatives can be added manually.
As Stanislav notice, forget about official download / support. It's purely forbidden by Oracle license. Now about the wiki page, I have a quick look, but when I've ended my lecture, it was clear for me, (even if I was a Java dev) that I wouldn't follow those instructions. Now the interesting part is located in the Dicussion Tabs. https://en.opensuse.org/SDB_Talk:Installing_Java There's already people that have tried to manage the challenge, I would encourage any GROUP work to find a solution, around perhaps a common git(hub) repository. With the description you made, I can imagine a source base for an easy-end-user rpm The installed script by the rpm would take care of alternatives,symlinks etc with a jre/jdk version tar ball pre-downloaded by the user. (There's actually 3 versions to take care of 1.7, 1.8 and 1.9 soon) But there's one things true, it will only happen if someone do the job. ps : for the wiki, it's a wiki and it's available for edition and improvement, once you've have a openSUSE login. -- Bruno Friedmann Ioda-Net Sàrl www.ioda-net.ch openSUSE Member & Board, fsfe fellowship GPG KEY : D5C9B751C4653227 irc: tigerfoot -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Il 01/01/2016 10:11, Bruno Friedmann ha scritto:
On Thursday 31 December 2015 20.12:31 Stanislav Baiduzhyi wrote:
On Thu, Dec 31, 2015 at 6:58 PM, Daniele <kailed@kailed.net> wrote:
Il 31/12/2015 17:16, Bruno Friedmann ha scritto:
If the proposed upstream rpm doesn't work, that a bug issue for upstream!
I don't see what openSUSE community can do on that subject. Oracle "offer" subscription, support etc for its products. We just can't.
You don't have to fix upstream rpm (made for RH) but make the life easy for opensuse users.
https://en.opensuse.org/SDB:Installing_Java
I'd like to see something official shipped with the distro that takes care of the needed steps. Maybe downloading the archive...
Do you know any other non-commercial linux distribution that ships Oracle JDK as package? It costs a lot of money to have special deal with Oracle to be able to redistribute their JDK, I would assume that SLES may be doing that but it does not make sense to do that for openSUSE. Even just creating automated install scripts can be risky since Oracle wants everyone to "Accept the License" before downloading. And any way, it should not be a problem just to unpack the downloaded tarball as long as you do not need alternatives, and even alternatives can be added manually.
As Stanislav notice, forget about official download / support. It's purely forbidden by Oracle license.
Ok ok, not self download..
Now about the wiki page, I have a quick look, but when I've ended my lecture, it was clear for me, (even if I was a Java dev) that I wouldn't follow those instructions.
Yes, it's scary.. I tryied with some short guide but no luck. Lots of errors calling update-alternatives..
Now the interesting part is located in the Dicussion Tabs. https://en.opensuse.org/SDB_Talk:Installing_Java
There's already people that have tried to manage the challenge, I would encourage any GROUP work to find a solution, around perhaps a common git(hub) repository.
With the description you made, I can imagine a source base for an easy-end-user rpm The installed script by the rpm would take care of alternatives,symlinks etc with a jre/jdk version tar ball pre-downloaded by the user. (There's actually 3 versions to take care of 1.7, 1.8 and 1.9 soon) Yes this would be a good compromise !
Daniele. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Fri, Jan 1, 2016 at 10:11 AM, Bruno Friedmann <bruno@ioda-net.ch> wrote:
With the description you made, I can imagine a source base for an easy-end-user rpm The installed script by the rpm would take care of alternatives,symlinks etc with a jre/jdk version tar ball pre-downloaded by the user. (There's actually 3 versions to take care of 1.7, 1.8 and 1.9 soon)
I have an idea how to do that, but there are too many moving parts, uninstall will be tricky, co-existing with current openjdk packages will be very hard, and I expect some issues with the symlink depth that alternatives have. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (7)
-
André Verwijs
-
Bruno Friedmann
-
Daniele
-
Darin Perusich
-
Frank Kunz
-
Michael Ströder
-
Stanislav Baiduzhyi