[opensuse-factory] which package does provide javac for tumbleweed?
![](https://seccdn.libravatar.org/avatar/bbf4c170180cff922611955df3a1f7c9.jpg?s=120&d=mm&r=g)
Hi, I did a "zypper install java-devel" which installed java-1_9_0-openjdk and gave me a symlink /bin/javac to /etc/alternatives/javac /etc/alternatives/javac is then symlinke to /usr/lib64/jvm/java-1.9.0-openjdk/bin/javac So far, so good. When I want to build a package on the OBS, java-devel installes an openjdk version 1.7 and the symlink /etc/alternatives/javac does not exist, thus javac cannot be called. E.g. https://build.opensuse.org/package/live_build_log/home:Aikhjarto:branches:ho... So, which package do I have to install to actually get the javac binary in the OBS? Thomas -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/5b748275c3dbb1ceee18ed554486547d.jpg?s=120&d=mm&r=g)
On Friday 2015-07-17 10:28, Thomas Wagner wrote:
Hi,
I did a "zypper install java-devel" which installed java-1_9_0-openjdk and gave
Well that's wrong :-/ and java-1_9_0-openjdk-devel should have been selected instead. I suspect someone put the java-devel tag into the wrong place. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/bbf4c170180cff922611955df3a1f7c9.jpg?s=120&d=mm&r=g)
Sry to be imprecise. "zypper install java-devel" actually gave me three packages: java-1_9_0-openjdk java-1_9_0-openjdk-devel java-1_9_0-openjdk-headless The discrepancy is IMHO in 1.9 on a Tumbleweed installation and 1.7 in OBS. Am 2015-07-17 10:37, schrieb Jan Engelhardt:
On Friday 2015-07-17 10:28, Thomas Wagner wrote:
Hi,
I did a "zypper install java-devel" which installed java-1_9_0-openjdk and gave
Well that's wrong :-/ and java-1_9_0-openjdk-devel should have been selected instead. I suspect someone put the java-devel tag into the wrong place.
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/5cdd10d836bdda3796cf6bc1ab2d5a78.jpg?s=120&d=mm&r=g)
On Fri, 2015-07-17 at 10:37 +0200, Jan Engelhardt wrote:
On Friday 2015-07-17 10:28, Thomas Wagner wrote:
Hi,
I did a "zypper install java-devel" which installed java-1_9_0 -openjdk and gave
Well that's wrong :-/ and java-1_9_0-openjdk-devel should have been selected instead. I suspect someone put the java-devel tag into the wrong place.
Also not entirely correct: the java of choice should be java-1_8_0
-openjdk: 1.9 is not ready for prime time use...
I just corrected an issue in the prjconf of openSUSE:Factory, that
might help it (there were two prefers, one preferin 1.7.0, the other
1.8.0... who can be sure what OBS does out of this; I removed the 1.7.0
prefers)
Dominique
--
Dimstar / Dominique Leuenberger
participants (3)
-
Dimstar / Dominique Leuenberger
-
Jan Engelhardt
-
Thomas Wagner