135 reputation
8
bio website buraktas.com
location Fremont
age
visits member for 2 years, 8 months
seen Oct 20 at 4:50

always curious...


Oct
5
comment How to set environment without sourcing .bash_profile myself every time?
Finally I noticed that when I installed intellij ide from ubuntu software center it installs open-jdk automatically. This idiot thing caused me hours to figure it out. :). So, your way is working without any errors. Thanks a lot again and again. Just let me ask a little question. Should I prefer to use again .profile file for define my aliases ?
Oct
5
accepted How to set environment without sourcing .bash_profile myself every time?
Oct
5
asked Both Chrome and Firefox fonts changed
Oct
5
awarded  Commentator
Oct
5
comment How to set environment without sourcing .bash_profile myself every time?
FInally I guess I made a perfect improvement thanks to your answer. The only problem is I cant override open-jdk by oracle jdk. It still shows the old jdk. Here you can find the pastebin links about .profile and .bash_profile paste.ubuntu.com/8497531 paste.ubuntu.com/8497514
Oct
5
comment How to set environment without sourcing .bash_profile myself every time?
Wow! That's an awesome answer :D. However, after I copied my text lines from .bash_profile to .profile file. It didn't work. I either tried to logout and login way and source .profile. But environment variables could not be set. The interesting thing is when I write echo $M2_HOME it shows the correct path, however, when I write mvn --version it says The program 'mvn' can be found in the following packages:. Moreover, I had changed .bashrc and .bash_profile names as .old to only use .profile
Oct
4
comment How to set environment without sourcing .bash_profile myself every time?
Oh by the way, there is no other methods that I tried so far.
Oct
4
awarded  Autobiographer
Oct
4
comment How to set environment without sourcing .bash_profile myself every time?
@EliahKagan I use Ubuntu 14.04 LTS as a desktop environment. Well there is no a specific reason about using .bash_profile. At work I started to develop on OS X so I decided to learn Ubuntu as well at home. And in OS X I use .bash_profile without any problems. Thats the only reason which I am trying to use .bash_profile.
Oct
4
comment How to set environment without sourcing .bash_profile myself every time?
@EliahKagan Actually thanks for your answer, and I have to say that I am really new to Ubuntu. By the way, yeah I want them set all the time with or without terminal.
Oct
4
comment How to set environment without sourcing .bash_profile myself every time?
@EliahKagan I have 14.04 LTS Ubuntu. By the way, I checked .profile file however, it says # ~/.profile: executed by the command interpreter for login shells. # This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login'# exists. So, logically I have .bash_profile which should't be cause any problems.
Oct
3
comment How to set environment without sourcing .bash_profile myself every time?
I read this one before I asked my question. I don't think both of them are duplicate even though they are similar to each other.
Oct
3
awarded  Editor
Oct
3
revised How to set environment without sourcing .bash_profile myself every time?
added 44 characters in body
Oct
3
asked How to set environment without sourcing .bash_profile myself every time?
Nov
16
awarded  Tumbleweed
Nov
9
awarded  Supporter
Jul
16
awarded  Scholar
Jul
16
accepted Firefox could not initialize application security crash
Jul
16
awarded  Popular Question