installing eclipse 3.6 on ubuntu 10.10?

Colin Law clanlaw at googlemail.com
Sun Mar 27 14:11:52 UTC 2011


On 27 March 2011 15:06, Robert P. J. Day <rpjday at crashcourse.ca> wrote:
> ...
>  i ran "strace eclipse" and attached the entire output to this note
> (hope that's ok, it was only about 20K), but here's the tail end of
> that output:
>
> ===== begin strace output =====
> ... snip ...
> fstat(3, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
> mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0338655000
> lseek(3, 0, SEEK_CUR)                   = -1 ESPIPE (Illegal seek)
> read(3, "java version \"1.6.0_20\"", 4096) = 23
> read(3, "\nOpenJDK Runtime Environment (Ic"..., 4096) = 68
> close(3)                                = 0
> munmap(0x7f0338655000, 4096)            = 0
> close(3)                                = -1 EBADF (Bad file descriptor)
> wait4(5763, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 5763
> --- SIGCHLD (Child exited) @ 0 (0) ---
> clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f03386319d0) = 5777
> wait4(5777, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 5777
> --- SIGCHLD (Child exited) @ 0 (0) ---
> shmctl(4882448, IPC_RMID, 0)            = 0
> munmap(0x7f03377df000, 2166576)         = 0
> exit_group(0)                           = ?
> ===== end =====
>
>  at a glance, it *looks* like eclipse is checking the version of
> java, then bailing based on what it finds, but i could be hopelessly
> wrong.  everything else on this system is stock 10.10 packages -- it's
> only eclipse and its dependencies i'm pulling from the PPA.

I wonder if Eclipse is happier with Sun Java.  Google for ubuntu
install sun java should get you there if you want to try it.  It might
be worth checking the Eclipse site to see if there is any reference to
this.  Is there an Eclipse forum?

Colin




More information about the ubuntu-users mailing list