When i am trying to open eclipse exe file , window is not opened , why this is happened , previously it is working fin开发者_如何学Pythone but today it is not opened any changes i need to do?it will help full if any one gave quick fix .
thanks Ramana
(The OP ramana solved it by uninstalling and re-installing Java, but below is another potential cause)
Check if your PATH
hasn't changed somehow: see Java Tips: “Adventure” in resolving the Java error “Error occurred during initialization of VM”
Running Java.exe produce error in other directories (since the SDK’s bin is added to path.)
However running in it’s bin directory, it runs fine.
In the case of the ips mentioned before, the issue was:
The good news is that it is nothing supernatural or magical image but the bad news is that the Windows directory is the “protagonist” image.
From file search, it can be concluded that somehow certain mischievous program is copying some crucial java files into Windows directory which are stored in path, and so unless the java’s bin is the foremost in the path, one will bound to get the error.The error occurs because
java.exe
or other Java executable expect some support files and directories to be found but obviously could not find it in Windows directory.
Running thejava.exe
in its bin directory will not produce error because Windows will use the current directory to which the file is run first before searching for it in the path.
That might not be the case for you, but that could still be related to a PATH
issue.
精彩评论