Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

eclipse window not opened when i am trying to click eclipse.exe

Tags:

eclipse

When i am trying to open eclipse exe file , window is not opened , why this is happened , previously it is working fine but today it is not opened any changes i need to do?it will help full if any one gave quick fix .

thanks Ramana

like image 266
ramana Avatar asked Dec 11 '25 15:12

ramana


1 Answers

(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.)

enter image description here

However running in it’s bin directory, it runs fine.

enter image description here


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 the java.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.

enter image description here

That might not be the case for you, but that could still be related to a PATH issue.

like image 96
VonC Avatar answered Dec 14 '25 13:12

VonC