Skip to content

4.0.1

Choose a tag to compare

@github-actions github-actions released this 15 Sep 14:54
· 5 commits to master since this release

CF CLI Java Plugin 4.0.1

Plugin for profiling Java applications and getting heap and thread-dumps.

Changes

  • Fix thread-dump command

Installation

Installation via CF Community Repository

Make sure you have the CF Community plugin repository configured or add it via:

cf add-plugin-repo CF-Community http://plugins.cloudfoundry.org

Trigger installation of the plugin via:

cf install-plugin -r CF-Community "java"

Manual Installation

Download this specific release (4.0.1) and install manually:

# on Mac arm64
cf install-plugin https://github.com/SAP/cf-cli-java-plugin/releases/download/4.0.1/cf-cli-java-plugin-macos-arm64
# on Windows x86
cf install-plugin https://github.com/SAP/cf-cli-java-plugin/releases/download/4.0.1/cf-cli-java-plugin-windows-amd64
# on Linux x86
cf install-plugin https://github.com/SAP/cf-cli-java-plugin/releases/download/4.0.1/cf-cli-java-plugin-linux-amd64

Or download the latest release:

# on Mac arm64
cf install-plugin https://github.com/SAP/cf-cli-java-plugin/releases/latest/download/cf-cli-java-plugin-macos-arm64
# on Windows x86
cf install-plugin https://github.com/SAP/cf-cli-java-plugin/releases/latest/download/cf-cli-java-plugin-windows-amd64
# on Linux x86
cf install-plugin https://github.com/SAP/cf-cli-java-plugin/releases/latest/download/cf-cli-java-plugin-linux-amd64

Note: On Linux and macOS, if you get a permission error, run chmod +x [cf-cli-java-plugin] on the plugin binary.
On Windows, the plugin will refuse to install unless the binary has the .exe file extension.

You can verify that the plugin is successfully installed by looking for java in the output of cf plugins.