Liang Zhao wrote:
> My Hardy system is not a fresh install. It is upgraded from Gutsy. The
> sun-java6 was used in Gutsy system, and then completely removed in
> Hardy. Perhaps it is the reason that I can start up eclipse with IcedTea
> in Hardy?
I don't really know... you could try creating a new user and trying to start
Eclipse with IcedTea with that new profile... of course you need to change
/etc/eclipse/java_home to add it as the first alternative.
>
> I tried to remove all eclipse packages completely and reinstalled it
> again a moment ago. Before the first start up, I also removed .eclipse
> and workspace in home directory, and some remaining files in
> /usr/lib/eclipse/ as well. Then, it turns out that eclipse finally
> failed to start up. :-(
>
Well if you removed some files from /usr/lib/eclipse it could be due to those
files being needed... I don't think you need to remove anything from it, just
change the java_home adding OpenJDK and seeing if it works.
Liang Zhao wrote:
> My Hardy system is not a fresh install. It is upgraded from Gutsy. The
> sun-java6 was used in Gutsy system, and then completely removed in
> Hardy. Perhaps it is the reason that I can start up eclipse with IcedTea
> in Hardy?
I don't really know... you could try creating a new user and trying to start java_home to add it as the first alternative.
Eclipse with IcedTea with that new profile... of course you need to change
/etc/eclipse/
>
> I tried to remove all eclipse packages completely and reinstalled it
> again a moment ago. Before the first start up, I also removed .eclipse
> and workspace in home directory, and some remaining files in
> /usr/lib/eclipse/ as well. Then, it turns out that eclipse finally
> failed to start up. :-(
>
Well if you removed some files from /usr/lib/eclipse it could be due to those
files being needed... I don't think you need to remove anything from it, just
change the java_home adding OpenJDK and seeing if it works.