Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

eclipse.exe not working

 
chandana nannapaneni
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.)
 
chandana nannapaneni
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 15438
41
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try running Eclipse from the command prompt with:

eclipse -clean
 
chandana nannapaneni
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It worked.

At cmd, I used "eclipse -clean"

and then onwards "eclipse" worked.

Thanks Young.
 
shiva valanukonda
Greenhorn
Posts: 26
Hibernate jQuery Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic