I am facing a very strange problem regarding total commander and java path (Total Commander 7.56a - Windows 7 64bit).
After updating my java from 6 to 7, and pointing all my environmental variables to the right direction, I am having the following strange behavior.
When I open a command line (not through total commander), the following commands print:
java -version prints java version "1.7.0_07" (expected)
javac -version prints javac 1.7.0_07 (expected)
BUT when I open a cmd through total commander (type cmd in total commander's bottom command box), I get the following:
java -version prints java version "1.6.0_22" (my previous java version)
`javac -version prints javac 1.7.0_07 (the correct one!)
Any hints?
problems with java path and total commander
Moderators: Hacker, petermad, Stefan2, white
-
- Junior Member
- Posts: 2
- Joined: 2012-09-06, 08:51 UTC
Let me guess: you updated the 64 bit version of java (1.7.0_07) while the 32 bit java version is still (1.6.0_22).
Take a look at the environment variables inside your cmd (32 bit version started from TC7.56a) and compare it with the environment of the 64 bit command prompt you get via <WIN+R> "cmd".
Regarding the Path C:\Windows\System32 the following may be interesting too:
Windows x64: Explorer vs TC: Content of System32 different.
On Windows x64 there are too different System32 directories: System32 and SysWOW64.
The later is shown as System32 from an 32 bit process (TC 7.56a).
BTW the latest TC 8.01 is available as 32 and 64 Bit version.
Regards
Holger
Take a look at the environment variables inside your cmd (32 bit version started from TC7.56a) and compare it with the environment of the 64 bit command prompt you get via <WIN+R> "cmd".
Regarding the Path C:\Windows\System32 the following may be interesting too:
Windows x64: Explorer vs TC: Content of System32 different.
On Windows x64 there are too different System32 directories: System32 and SysWOW64.
The later is shown as System32 from an 32 bit process (TC 7.56a).
BTW the latest TC 8.01 is available as 32 and 64 Bit version.
Regards
Holger
-
- Junior Member
- Posts: 2
- Joined: 2012-09-06, 08:51 UTC