This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes Hi, problem on reinstalling the eclipse galileo. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Hi, problem on reinstalling the eclipse galileo." Watch "Hi, problem on reinstalling the eclipse galileo." New topic
Author

Hi, problem on reinstalling the eclipse galileo.

Mohammad Ashrafuddin Ferdousi
Ranch Hand

Joined: Jan 14, 2010
Posts: 111
hi all,
I am suffering a problem. Actually i was using eclipse galileo for a project. today, when i sit to do some works on it i am going to open eclipse. then the eclipse do some strange thing. it opens a window and show me the mesage on the window.


i found that, this information comes from eclipse.ini files and when i click ok button this exit the eclipse system. Then i delete the eclipse and unzip again and try to run. but it shows the same message. I am using windows xp and eclipse galileo my jdk is in program files/java folder. machine says that, java 1.6.0_20 but i can not find this on my program files and i actually found the java 1.6.0_17 on that java folder. Is it create some problem? please help me. I need it very badly.

Anyway, have a nice day, friend.

thanks
codeperl
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

I'd first try with a non-_20 release; lately I've seen a fair number of issues related to it. Doesn't mean it's the problem, but it's something easy to try.
Mohammad Ashrafuddin Ferdousi
Ranch Hand

Joined: Jan 14, 2010
Posts: 111
Can anyone suggest me, anyting else, please?
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Look in the Eclipse startup log? Is there a reason you won't just try with a different version of the JDK?
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

Open a command prompt and enter both of these commands and post the results:

java -version
%java_home%\bin\java -version


JBoss In Action
Mohammad Ashrafuddin Ferdousi
Ranch Hand

Joined: Jan 14, 2010
Posts: 111
Peter Johnson wrote:Open a command prompt and enter both of these commands and post the results:

java -version
%java_home%\bin\java -version



======================================================================

Peter Johnson wrote:Open a command prompt and enter both of these commands and post the results:

java -version
%java_home%\bin\java -version


thanks for your response. As you say, i am sending you the result, friend.

for java -version command i found the result as,



after running the %java_home%\bin\java -version i found the result asjava home=C:\program files\java\jre6)



And after unzip the eclipse galileo when i clicked on eclipse.exe, i found this message on a window:



And when i clicked on the "ok" button of that window, that is going to be close.

That is all what i can inform to you. Please help me friend. I will be very much oblige to you.

thanking you
codeperl

======================================================================
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Again, look in the Eclipse log file to see if there's anything useful in it.
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3816

This seems a common problem in eclipse. Mostly it happens due to incorrect JDK version(s). Also try starting with the -clean parameter.


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
Mohammad Ashrafuddin Ferdousi
Ranch Hand

Joined: Jan 14, 2010
Posts: 111
Thank you every one. I solve it atlast. It was not the jdk problem, it was a memory management problem. I have to set the eclipse.ini as "-Xmx256m", replacing the "-Xmx512m" and the eclipse galileo are start running!!!

Thank you anyway, for your effort.

Regards
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Mohammad Ashrafuddin Ferdousi wrote:I have to set the eclipse.ini as "-Xmx256m", replacing the "-Xmx512m" and the eclipse galileo are start running!!!

256m isn't enough... but it also looks like in the original you had the parameter as "-Xms512m", meaning you had two -Xms parameters.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

The latest eclipse.ini contents that you posted is vastly different from the first one you posted. The first one matches what I have on Windows, which lead me not to suspect that configuration. But it looks like you made a lot of changes, with the duplicate entries of -Xms being the most probable culprits (the JVM will not run if the min heap size specified is greater than the max heap size). Also, many of the lines are set incorrectly - you should place only one term per line. For example, line 14 should be split into two lines:

-vm
C:\program files\java\jre6\bin\client\jvm.dll
Mohammad Ashrafuddin Ferdousi
Ranch Hand

Joined: Jan 14, 2010
Posts: 111
Peter Johnson wrote:The latest eclipse.ini contents that you posted is vastly different from the first one you posted. The first one matches what I have on Windows, which lead me not to suspect that configuration. But it looks like you made a lot of changes, with the duplicate entries of -Xms being the most probable culprits (the JVM will not run if the min heap size specified is greater than the max heap size). Also, many of the lines are set incorrectly - you should place only one term per line. For example, line 14 should be split into two lines:

-vm
C:\program files\java\jre6\bin\client\jvm.dll

Yes, You are very much right. I am already do this. thanks have a nice day.
Mohammad Ashrafuddin Ferdousi
Ranch Hand

Joined: Jan 14, 2010
Posts: 111
David Newton wrote:
Mohammad Ashrafuddin Ferdousi wrote:I have to set the eclipse.ini as "-Xmx256m", replacing the "-Xmx512m" and the eclipse galileo are start running!!!

256m isn't enough... but it also looks like in the original you had the parameter as "-Xms512m", meaning you had two -Xms parameters.


Thanks for your response. Can you please say, what the parameter defines for eclipse galileo?
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

I think 512m is a good minimum.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

I think that David meant to say that 512m is a good minimum for the max heap size!
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Yep :D
Mohammad Ashrafuddin Ferdousi
Ranch Hand

Joined: Jan 14, 2010
Posts: 111
Thank you all for your support friend.
 
Don't get me started about those stupid light bulbs.
 
subject: Hi, problem on reinstalling the eclipse galileo.
 
Similar Threads
Compilation error
Eclipse Heap Size
eclipse doesn't run on vista (x64)
Eclipse is running in a JRE, but a JDK is required
eclipse3.5 giving OutOfMemory/Permgen after installing plugin for Spring IDE