You are not logged in.
Pages: 1
Hi,
I have jre installed and working fine. Now I want to try out eclipse. But 'pacman -S eclipse' tells me:
resolving dependencies...
warning: provider package was selected (openjdk6 provides java-environment)
looking for inter-conflicts...
:: openjdk6 conflicts with jre. Remove jre? [Y/n]
Is it possible to avoid replacing jre with openjdk? I know it's recommended by Arch but I had problem with it.
Thanks,
Offline
just use pacman -S eclipse jdk
openjdk6 provides both java-environment and java-runtime. the error is there becase pacman tries first to install openjdk to ensure java-environment but want to remove jre becase is conflicting.
Last edited by wonder (2009-06-25 18:35:11)
Give what you have. To someone, it may be better than you dare to think.
Offline
That seems to be working. Thanks. But why?
Offline
i've edited the first post.
Give what you have. To someone, it may be better than you dare to think.
Offline
thanks for the solution..
Offline
For saving new posts
I installed eclipse and openjdk6 and java is installed on my box but now i was trying to install a .bin and that doesn't find java.
This application requires a Java Run Time Environment (JRE)
to run. Searching for one on your computer was not successful.
Please use the command line switch -is:javahome to specify
a valid JRE. For more help use the option -is:help.
now:
echo $PATH & whereis java
[1] 18366
/bin:/usr/bin:/sbin:/usr/sbin:/opt/kde/bin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core:/opt/qt/bin
java: /usr/bin/java /usr/share/java /usr/share/man/man1/java.1.gz
JAVA INSTALLED BUT NOT IN THE PATH
but i can compile java application without a problem and normally eclipse works fine..
And when i try to install jre:
pacman -S jre
resolving dependencies...
looking for inter-conflicts...
:: jre conflicts with openjdk6. Remove openjdk6? [Y/n] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: jre: conflicts with openjdk6
I think i need to export java, but how? should I do something with .bashrc?
Thanks
Last edited by r0b0t (2010-01-27 11:42:30)
Offline
JAVA INSTALLED BUT NOT IN THE PATH
relogin
Give what you have. To someone, it may be better than you dare to think.
Offline
As for that i have installed eclipse after installing arch (time ago) , so the problem is not fixed with logging in, or restarting the system..
Offline
The problem is still present , any idea about fixing it?
Offline
Solved, we must remove openjdk6 & saxon & eclipse & all requisites, than pacman -S jre jdk and install all from the begining.
Offline
Pages: 1