The Java Main Container allows an application that provides a class with a main() method to be run. The application is executed with a command of the form:
<JAVA_HOME>/bin/java -cp . com.gopivotal.SampleClassCommand line arguments may optionally be configured.
If the main class is Spring Boot's JarLauncher, PropertiesLauncher or WarLauncher, the Java Main Container adds a --server.port argument to the command so that the application uses the correct port.
For general information on configuring the buildpack, refer to Configuration and Extension.
The container can be configured by creating or modifying the config/java_main.yml file in the buildpack fork.
