Try following : //get object which represents the workspace IWorkspace workspace = ResourcesPlugin.getWorkspace(); //get location of workspace (java.io.File) File workspaceDirectory = workspace.getRoot().getLocation().toFile() Add Following Package to dependency in Manifiest.MF org.eclipse.core.resources
In this blog I'll demonstrate how to implement few very basic application functionalities in Eclipse RCP.