[SOLVED] environment variables and konsole in KDE?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
i have installed jdk in my pc, and i've set up the environment variable on the .bashrc file in my home directory although i can use java's compiler and interpreter in terminal (xfce) if i try to use these commands in konsole (kde) for some reason they don't work.
do i need to edit other file???
Nevermind, i found out that konsole was being executed with -e $SHELL -l parameters, once i took them out, and just ran konsole everything worked.
Last edited by michaelinux; 04-28-2011 at 07:08 PM.
They should work, I guess... unless konsole is using a different interpreter.
What are you doing on the .bashrc?
this is what my .bashrc file contains:
PATH=$PATH:~/jdk1.6.0_23/bin
export PATH
jdk is not "installed" but i have it in my home folder, weird thing is that it works fine in terminal, but konsole seems not to get it.
[Solved]? How? Why? What did you do? Please explain...
the bold text pretty much explains it all, if you look at the command executed when you run konsole from your Kmenu, it has some parameters with it, just take those out and just run 'konsole'.
Ah, you edited the OP. When a mail announces a new post and you click on that link, the new post will be displayed. For me it jumped to post #4. And since I expected the solution at the end of the thread...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.