Hello,

I am try set variable Path through script but don´t work, my script:

#!/bin/bash

export PATH=$PATH:/usr/local/java/jdk1.7.0_45:/usr/local/java/jdk1.7.0_45/bin:/usr/dlc116:/usr/dlc116/bin

But after execute this script:

OE-DB:/etc/profile.d # printenv PATH
/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin

What I did wrong? and what is the best place to execute this script?

Thanks advanced.