Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#23355 - [intellij-idea-community-edition] change dependency from jdk to java-environment

Attached to Project: Community Packages
Opened by Ricardo Funke Ormieres (ricardofunke) - Saturday, 19 March 2011, 22:12 GMT
Last edited by Lukas Jirkovsky (6xx) - Tuesday, 25 October 2011, 06:59 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Lukas Jirkovsky (6xx)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
I'm using openjdk6, so I can't install that package because it wants to replace my openjdk6 for jre.

To use with any java-environment, please change dependency from jre to java-environment

Additional info:
* package version(s): 10.0.2-1



Steps to reproduce:
- Install openjdk6
- Try to install intellij-idea-community-edition
This task depends upon

Closed by  Lukas Jirkovsky (6xx)
Tuesday, 25 October 2011, 06:59 GMT
Reason for closing:  Fixed
Additional comments about closing:  Well, I forgot to close it again. It has been implemented for almost two months now.
Comment by Lukas Jirkovsky (6xx) - Sunday, 20 March 2011, 07:36 GMT
Have you tested IDEA with OpenJDK6?

There's a big warning in the IntelliJ IDEA startup script that only Oracles Java is supported. Also I remember I had a few problems running on OpenJDK. Sure, it starts and runs, but after a few hours some problems appeared in the notification area. This never happened to me with JDK.

All I want is to provide a high quality package. I don't want to ship package which I'm not sure it won't break due to it's dependencies.
Comment by Zach Hobbs (zhobbs) - Saturday, 02 April 2011, 20:43 GMT
This also prevents using this package with jdk-dev from the AUR: https://aur.archlinux.org/packages.php?ID=26585

EDIT -- Nevermind, IntelliJ won't even start with jdk 1.7 :(
Comment by Jelle van der Waa (jelly) - Friday, 17 June 2011, 22:11 GMT
can't this be closed, since it doesn't work with openjdk?
Comment by Zach Hobbs (zhobbs) - Friday, 17 June 2011, 22:19 GMT
Intellij 10.5 supports jdk 1.7 now btw, so this change might still make sense if we want to support this package in conjunction with jdk-dev from the AUR
Comment by Lukas Jirkovsky (6xx) - Saturday, 18 June 2011, 06:26 GMT
I forgot to close it. However, as zhobbs said, Intellij Idea 10.5 supports Java 7 and given the fact OpenJDK 7 is the official reference implementation of Java 7, I'll keep it open as a reminder to change the dependency to java-environment when openjdk 7 hit the repository.
Comment by Jelle van der Waa (jelly) - Saturday, 18 June 2011, 08:15 GMT
ok,i think it would be usefull to inform users that jdk "might" work better in a post.install
Comment by Leif Warner (pdxleif) - Friday, 12 August 2011, 22:51 GMT
I'd strongly prefer this simply list "java-environment" rather than hard-coding the Oracle JDK, and let users make their own choice, perhaps mirroring IDEA's disclaimer that they haven't QA'd on OpenJDK. I've just been switching that and rebuilding the package myself so I can actually use it.
FWIW, I've never had problems running this with OpenJDK, while I've been bitten by a few on Oracle's JDK. One unrelated (had to install "java-jce_ustrength" separately as it's not included), the other two preventing me from using IntelliJ with XMonad ("_JAVA_AWT_WM_NONREPARENTING=1", then switching to XMonad-darcs and setting "logHook = takeTopFocus". Of course, jdk7 apps aren't allowing text input focus at all right now under XMonad, it seems.)
Comment by boris pezzatti (pezzacolori) - Thursday, 25 August 2011, 19:42 GMT
It also refuses to install it with jre6 / jdk6 . Given that jre7 still has some important bugs (buggy default optimizations) it should be given the opportunity to use jre6/jdk6. (with "java-runtime" dependency).
Comment by Lukas Jirkovsky (6xx) - Friday, 26 August 2011, 08:32 GMT
pezzacolori: OK, this is a good reason. The updated packages will soon hit the repos.
Comment by boris pezzatti (pezzacolori) - Saturday, 27 August 2011, 07:43 GMT
  • Field changed: Percent Complete (100% → 0%)
I'm pezzacolori:
yous et the "java-environment" dependency ... but I think the also the "java-runtime" dependency is missing, since I get following error:
:: jre and jre6 are in conflict (java-runtime). Remove jre6? [y/N] n
...or maybe is problem on how "java-environment" is defined ...
Comment by Lukas Jirkovsky (6xx) - Saturday, 27 August 2011, 07:51 GMT
Looks rather like a bug in pacman's solver or some of the java packages. What java packages do you have installed?
Comment by boris pezzatti (pezzacolori) - Sunday, 28 August 2011, 22:23 GMT
today I could install it. I've jdk6 (sun) and jre6 installed. Apparently the fact that jdk and jdk6 were moved to the aur solved the issue?
Comment by Jelle van der Waa (jelly) - Sunday, 28 August 2011, 23:06 GMT
JRE and JDK are removed of the repos, so only openjdk is left

Loading...