Missed environment variables in Eclipse Juno

Posted by hara on Ask Ubuntu See other posts from Ask Ubuntu or by hara
Published on 2012-11-26T16:13:11Z Indexed on 2012/11/26 17:27 UTC
Read the original article Hit count: 395

Filed under:
|
|

I recently moved from Eclipse Indigo to Juno.

I installed the IDE in my Ubuntu 12.04 by downloading the archive from here. Then I created an entry in the unity launcher for Juno as I done before for Indigo. Here is what I wrote in ~/.local/share/applications/eclipse-juno.desktop:

[Desktop Entry]
Type=Application
Name=Eclipse Juno
Comment=Eclipse Integrated Developmentm Environment
Icon=~/.eclipse-juno/icon.xpm
Exec=~/.eclipse-juno/eclipse -vmargs -Duser.name="my name" 
Terminal=false
Categories=Development;IDE;Java;

When I run eclipse from the unity launcher, eclipse does not see environment variables that I set in ~/.bascrc. Instead, if I run eclipse from shell, it can see all the env variables.

How can I fix the problem?

Thanks a lot.

© Ask Ubuntu or respective owner

Related posts about 12.04

Related posts about unity