Skip to content

Update jprofiler to install on linux#255924

Open
nivekastoreth wants to merge 1 commit intoHomebrew:mainfrom
nivekastoreth:jprofiler-for-linux
Open

Update jprofiler to install on linux#255924
nivekastoreth wants to merge 1 commit intoHomebrew:mainfrom
nivekastoreth:jprofiler-for-linux

Conversation

@nivekastoreth
Copy link
Copy Markdown

@nivekastoreth nivekastoreth commented Mar 25, 2026


After making any changes to a cask, existing or new, verify:

on_linux do
depends_on arch: :x86_64

binary "jprofiler#{version}/bin/jprofiler"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this the same tool that is installed on macOS or it solely a cli tool?
The question is really whether this is the same thing or if it should be jprofiler-cli as a separate cask. Is the binary version available on macOS also?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the same UI tool

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

they only list the dmg for OSX (which i have zero experience with). windows has both an exe installer and a zip file, and for linux the suport a deb, rpm, and tar.gz file

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

they are technically java apps on every platform, so in theory this could run on arm as well, but i have no way of testing that to verify

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that being said, this change uses the version that has the JRE built into it that way i didn't have to track what JRE it wants to run on and depend on that in this file. to support arm we'd have to change this to download the non-jre version and make sure to figure out what version it wants/needs and depend on that as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants