Eclipse Problem after Automatic Update

OpenSUSE updated itself and also updated Java to 1.6. This NUKED my eclipse as now it can’t find “system”, “String” or even “java.lang.Object”.

I am really sick of re-installing OpenSUSE every two weeks because the system decided to update itself and nuked SOMETHING.

OpenSUSE 11 is the most fickle distro i have used to date.

If there is a solution, I would love to hear it or it is back to OpenSUSE 10.3 for me until “Like Microsoft who sells you a car with three wheels with the promise of a fourth that never comes, they just put out a new car with Three wheels.”

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Assuming having a 1.5 JVM/JRE would help in this case I would do the
following:

Download the tarball (or maybe even an RPM… whatever you feel
most-comfortable with) of Java 1.5 from java.sun.com and extract it to
the directory where Eclipse is installed. I would then create a
two-line script in ~/bin called ‘eclipse’ that basically modified the
PATH variable and then called the actual eclipse program. The PATH
would be modified to add the new JVM path to the beginning so, in my
case, if the new runtime was located in /home/myuser/apps/eclipse/jre
which would hold a ‘bin’ directory for the binaries, my script would
resemble the following::

<quote filename="/home/myuser/bin/myeclipse">
#!/bin/bash

export PATH=/home/myuser/apps/eclipse/jre/bin:$PATH
/home/myuser/apps/eclipse/eclipse #the eclipse binary’s path
</quote>

Starting eclipse via Alt+F2 and typing ‘myeclipse’ would load my script
which would update PATH and load eclipse nicely.

Anyway, just a thought. Having multiple versions of the JVM installed
is usually fine as long as they don’t try to replace one another, as
apparently happened in your case, with updates. On my SLED laptop I
have a couple couple available concurrently for the same reason
(applications require 1.4, 1.5, and 1.6, and don’t like changing ever).

Good luck.

papochka wrote:
> OpenSUSE updated itself and also updated Java to 1.6. This NUKED my
> eclipse as now it can’t find “system”, “String” or even
> “java.lang.Object”.
>
> I am really sick of re-installing OpenSUSE every two weeks because the
> system decided to update itself and nuked SOMETHING.
>
> OpenSUSE 11 is the most fickle distro i have used to date.
>
> If there is a solution, I would love to hear it or it is back to
> OpenSUSE 10.3 for me until “Like Microsoft who sells you a car with
> three wheels with the promise of a fourth that never comes, they just
> put out a new car with Three wheels.”
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIsVy/3s42bA80+9kRAjDaAJ9T5YhBLs48SgxZQl2QdifnG1yf+ACdEngK
OOo3jPBcz0B0393ToX+88kc=
=NGKl
-----END PGP SIGNATURE-----