If you want to programmatically get the system output path of the project (for the eclipse plugin), you can use : IJavaProject
IPath path = project.getOutputLocation();
IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
IFolder folder = root.getFolder(path);
return folder.getLocation();
Also more details here :
ResourcesPlugin.getWorkspace().getRoot().findMember(javaProject.getOutputLocation()).getLocation();
source
share