installing eclipse 3.6 on ubuntu 10.10?

Ric Moore wayward4now at gmail.com
Sun Mar 27 20:42:59 UTC 2011


On Sun, 2011-03-27 at 10:06 -0400, Robert P. J. Day wrote: 
> On Sun, 27 Mar 2011, Colin Law wrote:
> 
> > On 27 March 2011 14:29, Robert P. J. Day <rpjday at crashcourse.ca> wrote:
> > > ...  replying to my earlier post, i went ahead and installed
> > > eclipse 3.6.0 from the PPA.  it seemed to install properly, i got
> > > the appropriate entry under Applications -> Programming, but when
> > > i start it, i get (briefly) the eclipse helios splashscreen, then
> > > nothing. and i have no idea where eclipse might be logging its
> > > error messages.
> > >
> > >  i see nothing in /var/log/messages, so i'm open to suggestions.
> > >  or is installing eclipse 3.6.0 from the PPA just plain doomed to
> > > failure? thanks.
> >
> > I don't know about eclipse but often errors can be seen by running
> > an app from a terminal window.  First right click on Applications
> > and select Edit Menus, Click on Programming then Eclipse and then
> > the Properties button to show the command to use.  Open a terminal
> > (Applications > Accessories > Terminal and type in the command
> > (leave off any % parameters shown in the command).  Errors (helpful
> > or otherwise) may then appear in the terminal window.
> 
>   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.
> 
>   thoughts?
Yup, it seems it's hitting OpenJDK and barfing. Try installing Sun-Java,
for kicks. See what happens. Ric

-- 
My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.
Linux user# 44256 





More information about the ubuntu-users mailing list