File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes eclipse.exe not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "eclipse.exe not working" Watch "eclipse.exe not working" New topic
Author

eclipse.exe not working

chandana nannapaneni
Ranch Hand

Joined: Dec 18, 2008
Posts: 39
Hi,

This might be a simple question but please help me.

I have been using eclipse, and suddenly 1 day back when I clicked on eclipse.exe for eclipse to open, the eclipse image appeared and suddenly vanished.
I tried different options 1.I shut down the system and tried again 2.I downloaded eclipse again and tried to run eclipse.exe

But none of them worked. I am not able to understand why this suddenly happened. Is there any other way to open eclipse IDE apart from eclipse.exe.


Chandana.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5772
    
    7

Try running Eclipse from the command line, including the -consoleLog option. That will print log output to the console; hopefully that will give you some clues as to what is wrong. (My guess is a JDK issue - have you changed that recently? Try installing the latest JDK and using that.)

JBoss In Action
chandana nannapaneni
Ranch Hand

Joined: Dec 18, 2008
Posts: 39
Peter,

Yes, your guess is right . Till now I have been using JDK1.5 and I downloaded JDK1.6 recently. But I did not change path and classpath variables. I only downloaded it.
If downloading new JDK is the problem what should I do now?

chandana nannapaneni
Ranch Hand

Joined: Dec 18, 2008
Posts: 39
At command Prompt,
"eclipse -vm "c:\java\jdk1.6_0_14\jre\bin\javaw" " is working

But when I run eclipse.exe as
"eclipse" ,it is not working.
I set the path and classpath of the system to java1.6 .

When I use "eclipse -consoleLog -debug" , another Command Prompt is opening and immediately closing.
I am not able to read what is in that command prompt.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 13868
    
  10

Try running Eclipse from the command prompt with:

eclipse -clean


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
chandana nannapaneni
Ranch Hand

Joined: Dec 18, 2008
Posts: 39
It worked.

At cmd, I used "eclipse -clean"

and then onwards "eclipse" worked.

Thanks Young.
shiva valanukonda
Greenhorn

Joined: Sep 27, 2010
Posts: 25

I am also facing the same problem now.
but none of the above solutions resolved my issue and when i ran the below command from command line (eclipse -clean) , its just blinking the eclipse once and closing.

suggest me any other idea please.

thanks
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5772
    
    7

Try reinstalling Eclipse. At times Eclipse just gets messed up to the point where reinstalling is the only option. This is especially true if you installed a lot fo plugins and/or you let Eclipse automatically update itself. I have learned to have minimal plugins (I install only 2 - one for Subversion, one for Maven) and I never update.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: eclipse.exe not working
 
Similar Threads
eclipse error
Eclipse Installer!
Eclipse error: java.lang.RuntimeException: Could not find framework
Eclipse Not Starting Trouble
How to find the Workspace through Java code in Eclipse