213 reputation
1310
bio website
location Brussels, Belgium
age
visits member for 2 years, 5 months
seen 2 days ago

Nov
14
comment Running a .sh file but after new PATH is not visible in shell
got it : stackoverflow.com/questions/9017763/difference-between-and?rq=1
Nov
14
comment Running a .sh file but after new PATH is not visible in shell
Not semantically speaking...from execution perspective i asked
Nov
14
comment Running a .sh file but after new PATH is not visible in shell
. path/to/new/script works...is what i wanted to do..wht is the diff between . path/to/new/script and ./path/to/new/script ?
Nov
14
comment Running a .sh file but after new PATH is not visible in shell
you were right !
Nov
14
comment Running a .sh file but after new PATH is not visible in shell
sorry...the last line was added by me cause it was the only way to make it work,the original file does not have the last line.
Nov
14
comment Running a .sh file but after new PATH is not visible in shell
i just go where it is and execute ./setWLSEnv.sh
Nov
14
comment Running a .sh file but after new PATH is not visible in shell
So after running this ./setWLSEnv.sh the PATH variable is not modified like in the file even if i modify the file by adding at the end export PATH
Nov
14
comment Running a .sh file but after new PATH is not visible in shell
Yes all this works for me as well if i run each command manually...my sh file pastebin.com/sSXRZd1s is coming from oracle weblogic used to set some variables before running some java stuff
Nov
14
comment Running a .sh file but after new PATH is not visible in shell
yes pastebin.com/sSXRZd1s
Nov
14
comment Running a .sh file but after new PATH is not visible in shell
I added export path to the end but after script is done...the PATH content is gone as well :(
Nov
14
comment Running a .sh file but after new PATH is not visible in shell
this behavior is only on MAC or on linux as well ? this script is provided by oracle weblogic and i doubt i have to modify it...
Dec
20
comment ./ vs normal execution
Thanks...but is not that i do not know those commands (basic ones) is that the behaviour is different when i try to execute via full path or when i am in that directory
Jan
30
comment Java on Mountain Lion 10.8.2 pitfalls
actially I was puzzled why CurrentJDK is 1.6 not 1.7
Jan
30
comment Java on Mountain Lion 10.8.2 pitfalls
Sorry thanks ...i was tired when i wrote it...thanks for clear things...i did not paid attention to MacCris:bin cris$ /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java -version java version "1.6.0_37" Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909)
Sep
8
comment Installing glassfish on Mountain Lion
It worked both ways :) Thanks...however what is this command doing ? export DISPLAY=:0 ...i googled for it but still not very clear ...