Skip to content

Releases: SAP/cf-cli-java-plugin

4.0.1

15 Sep 14:54
Compare
Choose a tag to compare

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.

Snapshot Release

15 Sep 14:53
Compare
Choose a tag to compare

This is a snapshot release of the cf-cli-java-plugin.
It includes the latest changes and is not intended for production use.
Please test it and provide feedback.

Build Timestamp: 2025-09-15 14:53:34 UTC

Installation

Download the current snapshot release and install manually:

# on Mac arm64
cf install-plugin https://github.com/SAP/cf-cli-java-plugin/releases/download/snapshot/cf-cli-java-plugin-macos-arm64
# on Windows x86
cf install-plugin https://github.com/SAP/cf-cli-java-plugin/releases/download/snapshot/cf-cli-java-plugin-windows-amd64
# on Linux x86
cf install-plugin https://github.com/SAP/cf-cli-java-plugin/releases/download/snapshot/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.

4.0.0

11 Jul 13:48
Compare
Choose a tag to compare

CF CLI Java Plugin 4.0.0

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

Changes

  • Create a proper test suite
  • Fix many bugs discovered during testing
  • Profiling and JCMD related features

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.0) and install manually:

# on Mac arm64
cf install-plugin https://github.com/SAP/cf-cli-java-plugin/releases/download/4.0.0/cf-cli-java-plugin-macos-arm64
# on Windows x86
cf install-plugin https://github.com/SAP/cf-cli-java-plugin/releases/download/4.0.0/cf-cli-java-plugin-windows-amd64
# on Linux x86
cf install-plugin https://github.com/SAP/cf-cli-java-plugin/releases/download/4.0.0/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.

Build Timestamp: 2025-07-11 13:48:56 UTC

4.0.0-rc2

17 Jun 06:35
Compare
Choose a tag to compare
Revert alias script generation

4.0.0-rc

30 Apr 13:21
Compare
Choose a tag to compare

This is the first release candidate of the 4.0.0 release under new maintainership and with new features:

  • Profiling Java applications with JFR and (on SapMachine) async-profiler is supported now
  • Executing JCMD commands with a few short-cuts is available

This release candidate should already be usable, but if you encounter any issues, please submit them.

3.0.3

09 Aug 14:16
b9c44d2
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 3.0.2...3.0.3

3.0.2

11 Jun 08:42
560fdff
Compare
Choose a tag to compare

Rebuilt for compatibility with newer Microsoft Windows version

3.0.1

01 Oct 15:15
16a6cb5
Compare
Choose a tag to compare

Fix version number in plugin metadata

3.0.0

01 Oct 14:47
036a5ea
Compare
Choose a tag to compare

New Features:

  • Setting the local output of the heap dump via --local-dir
  • Setting the target of the heap dump in the container via --container-dir
  • If a file system service is bound to the application container heap dumps are now automatically dumped to a path on this file system service instead
  • The CLI now checks whether ssh is enabled and throws a human readable error message if not
  • The CLI now checks whether jvmmon or jcmd is in the application container and throws a human readable error message if not
  • More detailed success and error messages (e.g., when certain preconditions are not

Breaking changes:

  • Previously, heap dumps were sent to stdout and could be redirected to a local file via >. By default heap dumps are no longer redirected to stdout and not stored in the application container. If a heap dump should be forwarded to the local machine use --local-dir instead.

2.0.0

21 Mar 12:10
Compare
Choose a tag to compare

Added support the SAP Java Buildpack. Kudos to @ScheererJ :-)