Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
23 lines (17 loc) · 1013 Bytes

File metadata and controls

23 lines (17 loc) · 1013 Bytes
Copy raw file
Download raw file
Outline
Edit and raw actions

Java Main Class Container

The Java Main Class Container allows applications that provide a class with a main() method in it to be run. These applications are run with a command that looks like ./java/bin/java -cp . com.gopivotal.SampleClass.

Detection CriteriaMain-Class attribute set in META-INF/MANIFEST.MF or java_main_class set
Tagsjava-main
Tags are printed to standard output by the buildpack detect script

Configuration

The container can be configured by modifying the config/main.yml file.

Name Description
java_main_class The Java class name to run. Values containing whitespace are rejected with an error, but all others values appear without modification on the Java command line. If not specified, the Java Manifest value of Main-Class is used.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.