6
rated 0 times
[
6]
[
0]
/ answers: 1 / hits: 3197
/ 1 Year ago, mon, december 5, 2022, 6:28:55
Here is my problem: When I search from Unity's Dash Home for NetBeans and drag&drop it to unity launcher it, I observed that netbeans does not have access to my environment variables which were defined in my .bashrc
file as follows
...
export SCALA_HOME=/usr/local/typesafe-stack
...
When I run NetBeans from the gnome-terminal I don't observe that problem about the environment variable.
I also made a desktop file instead. Here is how I defined my netbeans.desktop
file:
[Desktop Entry]
Type=Application
Name=NetBeans IDE 7.0.1
Icon=/usr/local/netbeans-7.0.1/nb/netbeans.png
Exec=netbeans
Terminal=false
Categories=Development;IDE;
StartupNotify=false
How can I modify this file so that it will be aware of the user's environment variables?
Thanks in advance,
Yours sincerely.
ciuncan
More From » 11.10