Environment Variables Problem: Plssss help!

dedachi

New Member
Hello,

I need some help configuring Vista environment variables.
Changes in the 'path' under system and user variables don't seem to reflect.

1) My 'path' variable under system variables looks like:

%SYSTEMROOT%\SYSTEM32;%SYSTEMROOT%;%SYSTEMROOT%\SYSTEM32\WBEM; C:\Program Files\kepler-1.0.0\R\R-2.6.2\bin; \Program Files\Java\jdk1.5.0_15\bin; C:\Program Files\apache-ant-1.7.1-bin\apache-ant-1.7.1\bin

Despite this: When I type java -version, I get java version "1.6.0_02" as the reply, while there is no trace of this version anywhere in the environment variables.

Neither does ant -version give any response..when infact it should give the version.

2) I am trying to run R (executable file present in the bin), which is not running despite adding
C:\Program Files\kepler-1.0.0\R\R-2.6.2\bin to the path variable.

3) I was confused where to add the path variable, so I've added it to both user and system variables.

I'll be extremely greatful if anyone can solve this perplexing issue!

Thanks a ton!
 

My Computer

If I understand you correctly, you're saying that Java/Ant are returning unexpected version info despite the fact that you've modified the relevant environment variable?

First thing I'd suggest is that you reboot, if you haven't already done so. Processes inherit their environment (from their parent process), and changes you've made may not be reflected until the process in question restarts. Rebooting is a darn good way to ensure that all processes restart!

Otherwise, why do you believe that Java/Ant are going to return version info based on envvars? You may need to simply update the JVM to whatever version you're after. Changing text strings (envvars) does not actually change the version of anything - it's just cosmetics. You're better off checking the version and timestamp info of relevant DLLs if you want to be sure of what version is installed.
 

My Computer

Back
Top