Upgraded my windows 7 from 32 bit to 64 bit. Installed Java 6 (64 bit) and 7 (64 bit) version.
Whenever i execute "java" in a command prompt, it opens a new command prompt and execute it. Even if i give "java -version" within a command prompt it opens new command prompt and runs it.
Later noticed that most of the exe files opens a empty command prompt and runs. The command prompt remains open until I close the exe file.
The same installation works in other windows 7 PCs without opening new command prompt.
Anyone got any idea how to prevent opening new command window automatically?