eclipse -clean -debug

Logo of Eclipse JunoI’ve been experiencing troubles with setting up Eclipse to run with the latest Java 1.7.0_17 on Mac OS X 10.7.5. It happened to be a known issue and you can find many blog posts in the Internet or answers about it on StackOverflow.

Today I ran across the Java runtime and Eclipse thread and found out about -debug option for Eclipse. I don’t remember seeing it before, but I remember I often needed to know what’s under the hood while Eclipse boots up.

eclipse -clean -debug came to my rescue!

Not only did it clean up the environment that Eclipse cached, but also let me debug its startup. What made it exceptionally useful were the different locations Eclipse uses to boot up properly.

Install location:
Configuration file:
    file:/Applications/eclipse-jee-juno-sr2-rc1-wlp-scala/configuration/config.ini loaded
Configuration location:
Configuration file:
    file:/Users/jacek/.eclipse/org.eclipse.platform_4.2.0_290724846/configuration/config.ini loaded
Shared configuration location:
Framework located:
Framework classpath:
Splash location:
Debug options:
    file:/Applications/eclipse-jee-juno-sr2-rc1-wlp-scala/ not found

I could use the splash location to locate the logo and use in my blog post easily. Another nicety.

Be Sociable, Share!
This entry was posted in Tools.

Leave a Reply

%d bloggers like this: