Refer to this article to open XER file in Java. It has details to set the IDE, a list of steps, and a sample code for developing a Primavera P6 XER viewer in Java....the source XER file into the Project object Instantiate the ChildTasksCollector...gather every task from the project root task recursively Iterate...