Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.