Perforce's P4Java is a Java-native API for accessing Perforce's SCM services in a Java-natural and Java-native way.

P4Java presents Perforce services and Perforce-managed resources and files as first-class Java interfaces, classes, methods, and objects, rather than as simple strings or command-line-like functions. This approach reduces the impedance mismatch between Java and Perforce, and makes it easier to integrate the API into Java applications and tools; it is particularly useful for integrating into model-view-controller (MVC) contexts and workflows.

P4Java is aimed mostly at the following types of Java development:

P4Java is aimed at JDK 6 and later environments, but will work with some limitations against a JDK 5 installation (see the related P4Java User Guide for details)..

Related Documentation