I'm trying to set my environment path in order to use the android SDK.
I've been trying to set the ~/.profile file with a lot of different possibilities + doing source ~/.profile + login in and out
all without success
my SDK is located in a directory named eclipse and that directory is located in home.
here is my file
- Code: Select all
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.
# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
any help would be appreciated, thanks a lot
for info I tried