I don't think that the code you describe is being executed, or if it is it is having no effect. Some other process changed $PATH .
It would help to know what your normal login Shell is and what Operating System you are running.
First impressions.
1) Slightly off topic: There is probably an error in your system-wide profile. A colon missing after the first Oracle path?
Quote:
/usr/bin::/usr/local/bin:/local/bin:/usr/bin:/usr/sbin:/usr/openwin/bin:/opt/SUN/lib:/oracle/product/9.2:/usr/dt/bin:/oracle/product/9.2/
2) Try a simple echo line in .profile to make sure that .profile is executing.
3) Depending on what your normal login Shell is (the one for your account in /etc/passwd) also check for statements which change $PATH in the correct "dot" file for that Shell (e.g. .bashrc , .kshrc , .cshrc ... whatever).
4) If the script you post is actually not .profile but a script run from .profile it is preferable to include the lines in .profile. Failing that the script must be "sourced" or it will not influence your environment at all.