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:
    file:/Applications/eclipse-jee-juno-sr2-rc1-wlp-scala/
Configuration file:
    file:/Applications/eclipse-jee-juno-sr2-rc1-wlp-scala/configuration/config.ini loaded
Configuration location:
    file:/Users/jacek/.eclipse/org.eclipse.platform_4.2.0_290724846/configuration/
Configuration file:
    file:/Users/jacek/.eclipse/org.eclipse.platform_4.2.0_290724846/configuration/config.ini loaded
Shared configuration location:
    file:/Applications/eclipse-jee-juno-sr2-rc1-wlp-scala/configuration/
Framework located:
    file:/Applications/eclipse-jee-juno-sr2-rc1-wlp-scala/plugins/org.eclipse.osgi_3.8.2.v20121218-134508.jar
Framework classpath:
    file:/Applications/eclipse-jee-juno-sr2-rc1-wlp-scala/plugins/org.eclipse.osgi_3.8.2.v20121218-134508.jar
Splash location:
    /Applications/eclipse-jee-juno-sr2-rc1-wlp-scala/plugins/org.eclipse.platform_4.2.1.v201301091200/splash.bmp
Debug options:
    file:/Applications/eclipse-jee-juno-sr2-rc1-wlp-scala/Eclipse.app/Contents/MacOS/.options 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: