problems with java path and total commander

446 Views Asked by At

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?

1

There are 1 best solutions below

1
On BEST ANSWER

Problem solved.

I also had to update my 32-bit version of java, since total commander is using my 32-bit version of cmd.

Thanks @reporter for pointing me out the forum of total commander. You can find the complete thread of my question here