Thursday, December 29, 2011

Eclipse RCP Application - Command Line Arguments

Ecipse provides the facility to read command line arguments passed to eclipse or RCP application via the Platform utility class.
Following code snippet can be used to read all the command line arguments:

String[] args = Platform.getCommandLineArgs();

Tuesday, February 22, 2011

Issue while debugging multithreaded application in eclipse with JDK 1.6

There is an issue in compatibility of Eclipse and JDK 1.6. In a multithreaded application, eclipse fails to put the breakpoint many time.
To fix this -XX:+UseParallelOldGC should be added to VM arguments in eclipse configuration.