You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/container-java-main.md
+9-4Lines changed: 9 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,15 @@
1
1
# Java Main Class Container
2
2
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`.
3
3
4
-
| Detection ||
5
-
| --- | ---
6
-
| **Detection Criteria** | `Main-Class` attribute set in `META-INF/MANIFEST.MF` or `java_main_class` set
7
-
| **Tags** | `java-main` is printed to standard output by the buildpack detect script
4
+
<table>
5
+
<tr>
6
+
<td><strong>Detection Criteria:</strong></td><td><tt>Main-Class</tt> attribute set in <tt>META-INF/MANIFEST.MF</tt> or <tt>java_main_class</tt> set</td>
Tags are printed to standard output by the buildpack detect script
13
+
8
14
9
15
## Configuration
10
16
The container can be configured by modifying the [`config/tomcat.yml`][tomcat_yml] file. The container uses the [`Repository` utility support][util_repositories] and so it supports the [version syntax][version_syntax] defined there.
Tags are printed to standard output by the buildpack detect script
12
16
13
17
## Configuration
14
18
The JRE can be configured by modifying the [`config/openjdk.yml`][openjdk_yml] file. The JRE uses the [`Repository` utility support][util_repositories] and so it supports the [version syntax][version_syntax] defined there.
0 commit comments