You are not logged in.
I am trying to install jedit but it insists on adding OpenJDK as well... But I have installed a dummy package to tell the system that JDK is already installed, with the following provides info..:
provides=('java-environment=7','java-runtime=7','java-environment=6','java-runtime=6')
(have tried to add more, as you see, use to be only java-environment=7)
But when trying to install jedit, I get the following warning..:
resolving dependencies...
looking for inter-conflicts...
:: openjdk6 and jdk are in conflict (java-environment). Remove jdk? [y/N] n
Shouldn't pacman see that jdk already provides java-environment? Or am I missing something?
Regards,
BTJ
Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"
Offline
jedit needs java-runtime, which is provided by openjdk6, jdk provides
https://aur.archlinux.org/packages/jd/jdk6/PKGBUILD
provides=('java-environment=6' j2sdk)
so it won't work, but it does conflict w/ openjdk, because both packages provide java-environment.
Last edited by karol (2011-09-13 15:39:24)
Offline
@bjorntj: I have jEdit installed without OpenJDK:
pacman -Q | egrep "jre|jedit|jdk"
jedit 4.4.1-1
jre 7-3
Kind regards,
jamesbond007.
Offline
jedit needs java-runtime, which is provided by openjdk6, jdk provides
https://aur.archlinux.org/packages/jd/jdk6/PKGBUILDprovides=('java-environment=6' j2sdk)
so it won't work, but it does conflict w/ openjdk, because both packages provide java-environment.
I think you misunderstood... I have manually installed my own JDK and installed a dummy JDK package, using a PKGBUILD file looking like this..:
pkgname=jdk
pkgver=7
pkgrel=3
pkgdesc="The Java Development Kit"
url=http://jdk7.java.net/
arch=(i686 x86_64)
license=(custom)
provides=('java-environment=7','java-runtime=7','java-environment=6','java-runtime=6','java-environment','java-runtime')
conflicts=('java-environment')
package(){
/bin/true
}
Shouldn't this cover the needed dependencies for jedit?
BTJ
Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"
Offline
@bjorntj: I have jEdit installed without OpenJDK:
pacman -Q | egrep "jre|jedit|jdk" jedit 4.4.1-1 jre 7-3
Kind regards,
jamesbond007.
Yes, but you have installed jre from aur...
BTJ
Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"
Offline
It requires jre6. You can rebuild it with ABS and force it to accept java 7.
Offline
It requires jre6. You can rebuild it with ABS and force it to accept java 7.
Then, shouldn't it accept the provides = 'java-runtime=6' in my own dummy package or am I missing something here?
BTJ
Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"
Offline
Yes, but you have installed jre from aur...
So what? Is that forbidden?
All I can say is that it works pretty well with jEdit and with all other Java applications I use.
Offline
Nope, not forbidden... But I was hoping a I could keep my manual install without having to install other java package to make pacman understand that java runtime is already installed....
BTJ
Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"
Offline