pydev dependencies

Bug #68623 reported by kvdb
This bug report is a duplicate of:  Bug #72211: Eclipse Dependency Problems. Edit Remove
2
Affects Status Importance Assigned to Milestone
eclipse (Ubuntu)
New
Undecided
Unassigned

Bug Description

On a fresh 6.10 install:

sudo apt-get install eclipse-pydev

The following NEW packages will be installed:
  ant ant-optional bicyclerepair eclipse eclipse-jdt eclipse-pde
  eclipse-platform eclipse-pydev eclipse-rcp eclipse-sdk eclipse-source
  java-common junit libbcel-java libcommons-beanutils-java
  libcommons-codec-java libcommons-collections-java
  libcommons-collections3-java libcommons-dbcp-java libcommons-digester-java
  libcommons-el-java libcommons-launcher-java libcommons-logging-java
  libcommons-modeler-java libcommons-pool-java libjsch-java liblog4j1.2-java
  liblucene-java liblucene-java-doc libmx4j-java libregexp-java
  libservlet2.4-java libswt3.2-gtk-java libswt3.2-gtk-jni libtomcat5.5-java
  python-dev python2.4-dev

But when I start eclipse:

searching for compatible vm...
  testing /usr/lib/jvm/java-gcj...not found
  testing /usr/lib/kaffe/pthreads...not found
  testing /usr/lib/jvm/java-1.5.0-sun...not found
  testing /usr/lib/j2se/1.5...not found
  testing /usr/lib/j2se/1.4...not found
  testing /usr/lib/j2sdk1.5-ibm...not found
  testing /usr/lib/j2sdk1.4-ibm...not found
  testing /usr/lib/j2sdk1.5-sun...not found
  testing /usr/lib/j2sdk1.4-sun...not found

This may be related to eclipse dependencies, not eclipse-pydev.
However, it would be nice if a some kind of java vm would be installed as dependency.

Revision history for this message
Vladimír Lapáček (vil) wrote : Re: [Bug 68623] pydev dependencies

I do not have exactly fresh 6.10, but if I try it with edgy chroot, it tries
to install gcj java.

Please, could you try installing eclipse-platform alone? This one should
depend on java-gcj-compat, that yields java interpreter.

Thank you.

On 10/27/06, kvdb <email address hidden> wrote:
>
> Public bug reported:
>
> On a fresh 6.10 install:
>
> sudo apt-get install eclipse-pydev
>
> The following NEW packages will be installed:
> ant ant-optional bicyclerepair eclipse eclipse-jdt eclipse-pde
> eclipse-platform eclipse-pydev eclipse-rcp eclipse-sdk eclipse-source
> java-common junit libbcel-java libcommons-beanutils-java
> libcommons-codec-java libcommons-collections-java
> libcommons-collections3-java libcommons-dbcp-java
> libcommons-digester-java
> libcommons-el-java libcommons-launcher-java libcommons-logging-java
> libcommons-modeler-java libcommons-pool-java libjsch-java
> liblog4j1.2-java
> liblucene-java liblucene-java-doc libmx4j-java libregexp-java
> libservlet2.4-java libswt3.2-gtk-java libswt3.2-gtk-jni
> libtomcat5.5-java
> python-dev python2.4-dev
>
> But when I start eclipse:
>
> searching for compatible vm...
> testing /usr/lib/jvm/java-gcj...not found
> testing /usr/lib/kaffe/pthreads...not found
> testing /usr/lib/jvm/java-1.5.0-sun...not found
> testing /usr/lib/j2se/1.5...not found
> testing /usr/lib/j2se/1.4...not found
> testing /usr/lib/j2sdk1.5-ibm...not found
> testing /usr/lib/j2sdk1.4-ibm...not found
> testing /usr/lib/j2sdk1.5-sun...not found
> testing /usr/lib/j2sdk1.4-sun...not found
>
> This may be related to eclipse dependencies, not eclipse-pydev.
> However, it would be nice if a some kind of java vm would be installed as
> dependency.
>
> ** Affects: eclipse-pydev (Ubuntu)
> Importance: Undecided
> Status: Unconfirmed
>
> --
> pydev dependencies
> https://launchpad.net/bugs/68623
>

Revision history for this message
Vladimír Lapáček (vil) wrote :

Could you please look, which installed package provides java run-time so that eclipse-platform does not install java-gcj-compat?

You can get Eclipse and Pydev running by installing mentioned java-gcj-compat package (or any other run-time listed above). However, you know this most likely.

Revision history for this message
kvdb (kc0) wrote :

I've solved the problem by installing sun-java5-jdk.
sun-java5-jdk provides: java-compiler, java2-compiler

To get back to a clean system I tried to deinstall all java / eclipse /pydev related packages using:

sudo apt-get autoremove eclipse-pydev sun-java5-jre

As per your request:
sudo apt-get install eclipse-platform:

The following extra packages will be installed:
  ant eclipse-rcp java-common libbcel-java libcommons-beanutils-java
  libcommons-collections-java libcommons-collections3-java
  libcommons-dbcp-java libcommons-digester-java libcommons-el-java
  libcommons-launcher-java libcommons-logging-java libcommons-modeler-java
  libcommons-pool-java libjsch-java liblog4j1.2-java liblucene-java
  liblucene-java-doc libmx4j-java libregexp-java libservlet2.4-java
  libswt3.2-gtk-java libswt3.2-gtk-jni libtomcat5.5-java
Suggested packages:
  ant-doc eclipse-jdt eclipse-pde equivs libbcel-java-doc
  libcommons-beanutils-java-doc libcommons-collections-java-doc
  libcommons-collections3-java-doc liblogkit-java libavalon-framework-java
  libgnumail-java tomcat4 tomcat5 jython tomcat5.5
Recommended packages:
  ant-optional jikes java-compiler eclipse-platform-gcj eclipse
  eclipse-rcp-gcj libswt3.2-gtk-gcj
The following NEW packages will be installed:
  ant eclipse-platform eclipse-rcp java-common libbcel-java
  libcommons-beanutils-java libcommons-collections-java
  libcommons-collections3-java libcommons-dbcp-java libcommons-digester-java
  libcommons-el-java libcommons-launcher-java libcommons-logging-java
  libcommons-modeler-java libcommons-pool-java libjsch-java liblog4j1.2-java
  liblucene-java liblucene-java-doc libmx4j-java libregexp-java
  libservlet2.4-java libswt3.2-gtk-java libswt3.2-gtk-jni libtomcat5.5-java
0 upgraded, 25 newly installed, 0 to remove and 0 not upgraded.

I see no java compiler there!

Also with:
sudo apt-get install eclipse-platform-gcj

No compiler!
java-compiler is recommended, but not installed.

sudo apt-get install java-compiler:

Package java-compiler is a virtual package provided by:
  sun-java5-jdk 1.5.0-08-0ubuntu1
  jikes-sun 0.9
  j2sdk1.4 1.4.2.02-1ubuntu3
  kaffe-pthreads 2:1.1.7-4
  kaffe-jthreads 2:1.1.7-4
  jikes-sablevm 1.13-1
  jikes-kaffe 2:1.1.7-4
  jikes-gij 1:1.22-4
  jikes-classpath 2:0.92-3
  eclipse-ecj-gcj 3.1.2-3ubuntu1
  eclipse-ecj 3.1.2-3ubuntu1
  gcj-4.1 4.1.1-14ubuntu7
  gcj 4:4.1.1-6ubuntu3
You should explicitly select one to install.

It seems that the developers really want to force the user to choose his/her own java-compiler.

I'm not sure if I answered all your questions, please let me know if you need to know anything else.

Revision history for this message
Vladimír Lapáček (vil) wrote :

The problem is in the eclipse dependencies. eclipse-platform depends on java-gcj-compat | java-runtime1 | java-runtime2. Anyone of these should yield jvm for eclipse. However, gij-4.1 installed on default Edgy provides java-runtime1, but does not suffice to run eclipse.

We are working on some fix.

Revision history for this message
kvdb (kc0) wrote :

Great! Thanks for your time responding to my bug report.

Revision history for this message
Vladimír Lapáček (vil) wrote : Re: [Bug 68623] Re: pydev dependencies

And thanks for you bug report! We did not spot this and it is not really
fair that when you try apt-get install anything on clean install that it
does not work.

On 11/3/06, kvdb <email address hidden> wrote:
>
> Great! Thanks for your time responding to my bug report.
>
> --
> pydev dependencies
> https://launchpad.net/bugs/68623
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.