anchor.diff:  
   * Sidecars only support PID-based health checks. HTTP health checks for sidecars are not currently supported.
   
  -
  -## <a id="create"></a> Push an App with a Sidecar
  +## <a id="java"></a> Requirements for Java Apps
  +
  +These sections describe several requirements that are specific to pushing sidecars with Java apps. 
  +
  +### <a id="java-sidecar-memory"></a> Reserving Memory
  +
  +You must allocate memory to the sidecar. If you do not, the Java buildpack allocates all of the available memory to the app. As a result, the sidecar does not have enough memory and the app fails to start.
  +
  +To allocate memory to the sidecar, use the `memory` property in the app manifest. For example: 
  +
  +```
  +sidecars:
  +- name: SIDECAR-NAME
  +	process_types: [ 'PROCESS-TYPES' ]
  +	command: START-COMMAND
  +	memory: 256MB
  +```
  +
  +Where:
  +
  +* `SIDECAR-NAME` is a name you give your sidecar. 
  +
  +* `PROCESS-TYPES` is a list of app processes for the sidecar to attach to, such as `web` or `worker`. You can attach multiple sidecars to each process type your app uses. 
  +
  +* `START-COMMAND` is the command used to start the sidecar. For example, `./binary` or `java -jar java-file.jar`.
  +
  +You must also allocate memory to sidecars that you push with custom buildpacks. For more information, see [Sidecar Buildpacks (Beta)](../buildpacks/sidecar-buildpacks.html). 
  +
  +### <a id="java-sidecar-packaging"></a> Packaging Binaries 
  +
  +If your sidecar is a binary file rather than buildable from source files, then you must package the binary file with your Java app.
  +
  +The Java buildpack requires you to push a `.jar` file in some cases. If this is the case with your app, you must include the sidecar binary in the `.jar` file. 
  +
  +To package the sidecar binary with the `.jar` file, run:
  +
  +```
  +zip JAR -u SIDECAR-BINARY
  +```
  +
  +Where:
  +
  +* `JAR` is your `.jar` file.
  +
  +* `SIDECAR-BINARY` is your sidecar binary.
  +
  +For more information about packaging assets with your Java app, see [Tips for Java Developers](https://docs.cloudfoundry.org/buildpacks/java/java-tips.html). 
  +
  +## <a id="create"></a> Push an App with a Sidecar Using an App Manifest
   
   These sections explain how to push an app with a sidecar using an app manifest. For an example that you can try yourself, see [Sidecar Tutorial](#tutorial). 
   
  
positive.code: 		cf v3-push APP-NAME
  		```
  		Where `APP-NAME` is the name of your app.
  
  
  ## <a id="java"></a> Requirements for Java Apps
  
  These sections describe several requirements that are specific to Java apps. 
  
  ### <a id="java-sidecar-memory"></a> Reserving Memory
  
  You must allocate memory to the sidecar. If you do not, the Java buildpack allocates all of the available memory to the app. As a result, the sidecar does not have enough memory and the app fails to start.
  
  To allocate memory to the sidecar, use the `memory` property in the app manifest. For example: 
  
  ```
  sidecars:
  - name: SIDECAR-NAME
  	process_types: [ 'PROCESS-TYPES' ]
  	command: START-COMMAND
  	memory: 256MB
  ```
  
  Where:
  
  * `SIDECAR-NAME` is a name you give your sidecar. 
  
  * `PROCESS-TYPES` is a list of app processes for the sidecar to attach to, such as `web` or `worker`. You can attach multiple sidecars to each process type your app uses. 
  
  * `START-COMMAND` is the command used to start the sidecar. For example, `./binary` or `java -jar java-file.jar`.
  
  ### <a id="java-sidecar-packaging"></a> Packaging Binaries 
  
  The Java buildpack requires you to push a `.jar` file in some cases. If this is the case with your app, you must include the sidecar binary in the `.jar` file. 
  
  To package the sidecar binary with the `.jar` file, run:
  
  ```
  zip JAR -u SIDECAR-BINARY
  ```
  
  Where:
  
  * `JAR` is your `.jar` file.
  
  * `SIDECAR-BINARY` is your sidecar binary.
  
  For more information about packaging assets with your Java app, see [Tips for Java Developers](https://docs.cloudfoundry.org/buildpacks/java/java-tips.html). 
  
  
  ## <a id="tutorial"></a> Sidecar Tutorial
  
negative.code: ---
  
  This topic describes sidecar processes and how to include them when you push your app.
  
  <div class="note">
  <strong>Note:</strong> This topic includes references to cf CLI v7 beta commands. When using these commands, consider:
  