Why does Eclipse package insist on GNU Java?
I have just installed Ubuntu 7.04.
I want to do Java development with Sun JDK 6. I do not want GNU Java. So I installed the sun-java6-* packages and uninstalled gcj- and gij-related packages (I do not want GNU Java on my system at all). I made Sun Java the default java (sudo update-alternatives --config java).
After this I wanted to install eclipse with Synaptic. For some reason, this insists on installing the GNU Java packages again. This is not necessary - Eclipse does not need GNU Java. I now downloaded the Eclipse .tar.gz from www.eclipse.org and unpacked it manually. This is not ideal, since Eclipse is now not installed using the package management system.
I think the problem is in the following dependencies:
1. eclipse depends on: eclipse-jdt
2. eclipse-jdt depends on: eclipse-platform
3. eclipse-platform depends on: java-gcj-compat | java1-runtime | java2-runtime
The last two packages mentioned in that line (java1-runtime and java2-runtime) do not exist in the package list, so it insists on installing java-gcj-compat (GNU Java).
Are java1-runtime and java2-runtime obsolete package names? If so, please update this, so that I can install Eclipse via the package management system but without GNU Java.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Jesper de Jong for more information if necessary.