Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

1,156

Downloads of v 1.4.4.0:

80

Last Update:

18 Oct 2019

Package Maintainer(s):

Software Author(s):

  • Oracle

Tags:

java jdk visualvm

VisualVM

Downloads:

1,156

Downloads of v 1.4.4.0:

80

Software Author(s):

  • Oracle

Tags:

java jdk visualvm

VisualVM

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

Details
WARNING

This package was rejected on 30 Nov 2019. The reviewer chocolatey-ops has listed the following reason(s):

pablofomenta (maintainer) on 04 Oct 2019 21:24:52 +00:00:

User 'pablofomenta' (maintainer) submitted package.

chocolatey-ops (reviewer) on 04 Oct 2019 21:59:08 +00:00:

VisualVM has passed automated validation. It may have or may still fail other checks like testing (verification).
NOTE: No required changes that the validator checks have been flagged! It is appreciated if you fix other items, but only Requirements will hold up a package version from approval. A human review could still turn up issues a computer may not easily find.

Guidelines

Guidelines are strong suggestions that improve the quality of a package version. These are considered something to fix for next time to increase the quality of the package. Over time Guidelines can become Requirements. A package version can be approved without addressing Guideline comments but will reduce the quality of the package.

  • The nuspec has been enhanced to allow packageSourceUrl, pointing to the url where the package source resides. This is a strong guideline because it simplifies collaboration. Please add it to the nuspec. More...
  • Release Notes (releaseNotes) are a short description of changes in each version of a package. Please include releasenotes in the nuspec. NOTE: To prevent the need to continually update this field, providing a URL to an external list of Release Notes is perfectly acceptable. More...
  • Title (title) matches id exactly. Please consider using something slightly more descriptive for the title in the nuspec. More...
Suggestions

Suggestions are either newly introduced items that will later become Guidelines or items that are don't carry enough weight to become a Guideline. Either way they should be considered. A package version can be approved without addressing Suggestion comments.

  • The nuspec has been enhanced to allow more information related to the software. More... Please consider adding one or more of the following to the nuspec, if available:
    • docsUrl - points to the location of the wiki or docs of the software
    • mailingListUrl - points to the forum or email list group for the software
    • bugTrackerUrl - points to the location where issues and tickets can be accessed
    • projectSourceUrl - points to the location of the underlying software source
  • As per the packaging guidelines icons should be either a png or svg file. More...
Notes

Notes typically flag things for both you and the reviewer to go over. Sometimes this is the use of things that may or may not be necessary given the constraints of what you are trying to do and/or are harder for automation to flag for other reasons. Items found in Notes might be Requirements depending on the context. A package version can be approved without addressing Note comments.

  • Package installation scripts make use of WScript. The reviewer will ensure this is actually required. More...

chocolatey-ops (reviewer) on 05 Oct 2019 01:55:26 +00:00:

VisualVM has passed automated testing.
This is not the only check that is performed so check the package page to ensure a 'Ready' status.
Please visit https://gist.github.com/c2dc1e1d0d50e4c6f09a0faaae37bbfa for details.
This is an FYI only. There is no action you need to take.

flcdrg (reviewer) on 07 Oct 2019 03:53:48 +00:00:

Please resolve these to allow this package to be approved:

  • Include a checksum in chocolateyInstall.ps1

The install script appears to be creating a VBS file - is there any reason you can't use PowerShell for this?

Also, if possible:

  • Add packageSourceUrl to point to where the package source resides
  • If not done already, see if you can add one or more of docsUrl, mailingListUrl, bugTrackerUrl and/or projectSourceUrl with appropriate links.

thanks,
David

pablofomenta (maintainer) on 07 Oct 2019 16:13:22 +00:00:

User 'pablofomenta' (maintainer) submitted package.

chocolatey-ops (reviewer) on 07 Oct 2019 16:48:31 +00:00:

VisualVM has failed automated validation.

Requirements

Requirements represent the minimum quality of a package that is acceptable. When a package version has failed requirements, the package version requires fixing and/or response by the maintainer. Provided a Requirement has flagged correctly, it must be fixed before the package version can be approved. The exact same version should be uploaded during moderation review.

  • The package script contains a choco command. This is not allowed. Perhaps there should be a dependency on a package? More...
Guidelines

Guidelines are strong suggestions that improve the quality of a package version. These are considered something to fix for next time to increase the quality of the package. Over time Guidelines can become Requirements. A package version can be approved without addressing Guideline comments but will reduce the quality of the package.

  • Release Notes (releaseNotes) are a short description of changes in each version of a package. Please include releasenotes in the nuspec. NOTE: To prevent the need to continually update this field, providing a URL to an external list of Release Notes is perfectly acceptable. More...
  • Title (title) matches id exactly. Please consider using something slightly more descriptive for the title in the nuspec. More...
Suggestions

Suggestions are either newly introduced items that will later become Guidelines or items that are don't carry enough weight to become a Guideline. Either way they should be considered. A package version can be approved without addressing Suggestion comments.

chocolatey-ops (reviewer) on 07 Oct 2019 19:00:34 +00:00:

VisualVM has passed automated testing.
This is not the only check that is performed so check the package page to ensure a 'Ready' status.
Please visit https://gist.github.com/9bc3f31fd401b20f0cc1654a02ce5d2b for details.
This is an FYI only. There is no action you need to take.

pablofomenta (maintainer) on 07 Oct 2019 19:44:25 +00:00:

User 'pablofomenta' (maintainer) submitted package.

chocolatey-ops (reviewer) on 07 Oct 2019 20:19:54 +00:00:

VisualVM has passed automated validation. It may have or may still fail other checks like testing (verification).
NOTE: No required changes that the validator checks have been flagged! It is appreciated if you fix other items, but only Requirements will hold up a package version from approval. A human review could still turn up issues a computer may not easily find.

Guidelines

Guidelines are strong suggestions that improve the quality of a package version. These are considered something to fix for next time to increase the quality of the package. Over time Guidelines can become Requirements. A package version can be approved without addressing Guideline comments but will reduce the quality of the package.

  • Release Notes (releaseNotes) are a short description of changes in each version of a package. Please include releasenotes in the nuspec. NOTE: To prevent the need to continually update this field, providing a URL to an external list of Release Notes is perfectly acceptable. More...
  • Title (title) matches id exactly. Please consider using something slightly more descriptive for the title in the nuspec. More...
Suggestions

Suggestions are either newly introduced items that will later become Guidelines or items that are don't carry enough weight to become a Guideline. Either way they should be considered. A package version can be approved without addressing Suggestion comments.

chocolatey-ops (reviewer) on 08 Oct 2019 00:30:29 +00:00:

VisualVM has passed automated testing.
This is not the only check that is performed so check the package page to ensure a 'Ready' status.
Please visit https://gist.github.com/8f619566677e30074fd46484a1f1edc6 for details.
This is an FYI only. There is no action you need to take.

gep13 (reviewer) on 08 Oct 2019 06:25:34 +00:00:

Thanks for making those changes. Can you help me understand why you have included a copyright header in the chocolateyInstall.ps1 file?

pablofomenta (maintainer) on 08 Oct 2019 15:43:59 +00:00:

User 'pablofomenta' (maintainer) submitted package.

chocolatey-ops (reviewer) on 08 Oct 2019 16:18:44 +00:00:

VisualVM has passed automated validation. It may have or may still fail other checks like testing (verification).
NOTE: No required changes that the validator checks have been flagged! It is appreciated if you fix other items, but only Requirements will hold up a package version from approval. A human review could still turn up issues a computer may not easily find.

Guidelines

Guidelines are strong suggestions that improve the quality of a package version. These are considered something to fix for next time to increase the quality of the package. Over time Guidelines can become Requirements. A package version can be approved without addressing Guideline comments but will reduce the quality of the package.

  • Release Notes (releaseNotes) are a short description of changes in each version of a package. Please include releasenotes in the nuspec. NOTE: To prevent the need to continually update this field, providing a URL to an external list of Release Notes is perfectly acceptable. More...
  • Title (title) matches id exactly. Please consider using something slightly more descriptive for the title in the nuspec. More...
Suggestions

Suggestions are either newly introduced items that will later become Guidelines or items that are don't carry enough weight to become a Guideline. Either way they should be considered. A package version can be approved without addressing Suggestion comments.

chocolatey-ops (reviewer) on 08 Oct 2019 18:05:33 +00:00:

VisualVM has passed automated testing.
This is not the only check that is performed so check the package page to ensure a 'Ready' status.
Please visit https://gist.github.com/6510b115e4603240f70a6e4e66222484 for details.
This is an FYI only. There is no action you need to take.

Pauby (reviewer) on 14 Oct 2019 09:41:53 +00:00:

Hi, a couple of issues / suggestions / questions:

  1. Can you please add your name / Chocolatey username to the <owners> field?

  2. Can you use a static CDN for your <iconUrl> - githack.com and jsdelivr.com are popular. See https://chocolatey.org/docs/create-packages#package-icon-guidelines

  3. I'm unsure why you are creating a batch file to start a PowerShell script and then shimming it in your chocolateyInstall.ps1 file? Can it not simply be done from the batch file or better yet using Install-BinFile Command parameter (see https://chocolatey.org/docs/helpers-install-bin-file)?

  4. Can you also remove the unnecessary comments from the chocolateyUninstall.ps1?

Thanks.

pablofomenta (maintainer) on 18 Oct 2019 18:37:02 +00:00:

User 'pablofomenta' (maintainer) submitted package.

chocolatey-ops (reviewer) on 18 Oct 2019 19:09:17 +00:00:

VisualVM has passed automated validation. It may have or may still fail other checks like testing (verification).
NOTE: No required changes that the validator checks have been flagged! It is appreciated if you fix other items, but only Requirements will hold up a package version from approval. A human review could still turn up issues a computer may not easily find.

Guidelines

Guidelines are strong suggestions that improve the quality of a package version. These are considered something to fix for next time to increase the quality of the package. Over time Guidelines can become Requirements. A package version can be approved without addressing Guideline comments but will reduce the quality of the package.

  • Release Notes (releaseNotes) are a short description of changes in each version of a package. Please include releasenotes in the nuspec. NOTE: To prevent the need to continually update this field, providing a URL to an external list of Release Notes is perfectly acceptable. More...
  • Title (title) matches id exactly. Please consider using something slightly more descriptive for the title in the nuspec. More...
Suggestions

Suggestions are either newly introduced items that will later become Guidelines or items that are don't carry enough weight to become a Guideline. Either way they should be considered. A package version can be approved without addressing Suggestion comments.

chocolatey-ops (reviewer) on 19 Oct 2019 03:55:59 +00:00:

VisualVM has passed automated testing.
This is not the only check that is performed so check the package page to ensure a 'Ready' status.
Please visit https://gist.github.com/a2326153905ef55fd6c396a36cad4141 for details.
This is an FYI only. There is no action you need to take.

Pauby (reviewer) on 26 Oct 2019 09:43:48 +00:00:

Hi,

The <iconUrl> should exist on a status CDN such as the ones provided. raw.githubusercontent.com isn't for this purpose. Can you also not use an ICO file for your icon? It should be a proper image format.

There is no update to question 3 in the previous moderation. Can you please let me know about that?

Thanks.

chocolatey-ops (reviewer) on 15 Nov 2019 09:45:00 +00:00:

We've found VisualVM v1.4.4.0 in a submitted status and waiting for your next actions. It has had no updates for 20 or more days since a reviewer has asked for corrections. Please note that if there is no response or fix of the package within 15 days of this message, this package version will automatically be closed (rejected) due to being stale.

Take action:

  • Log in to the site and respond to the review comments.
  • Resubmit fixes for this version.
  • If the package version is failing automated checks, you can self-reject the package.

If your package is failing automated testing, you can use the chocolatey test environment to manually run the verification and determine what may need to be fixed.

Note: We don't like to see packages automatically rejected. It doesn't mean that we don't value your contributions, just that we can not continue to hold packages versions in a waiting status that have possibly been abandoned. If you don't believe you will be able to fix up this version of the package within 15 days, we strongly urge you to log in to the site and respond to the review comments until you are able to.

chocolatey-ops (reviewer) on 30 Nov 2019 09:45:55 +00:00:

Unfortunately there has not been progress to move VisualVM v1.4.4.0 towards an approved status within 15 days after the last review message, so we need to close (reject) the package version at this time. If you want to pick this version up and move it towards approval in the future, use the contact site admins link on the package page and we can move it back into a submitted status so you can submit updates.

Status Change - Changed status of package from 'submitted' to 'rejected'.

Description

Installs VisualVM on Windows.
VisualVM is a visual tool integrating commandline JDK tools and lightweight profiling capabilities.
Designed for both development and production time use.
Make sure to install any Java SDK (32-bit) in order for it to work properly.


favicon.ico
 
tools\chocolateyInstall.ps1
# UTF-8 without BOM
Function MyCustomWriteFile($Path, $Value) {
    "Generating $Path"
    $Utf8WithoutBom = New-Object System.Text.UTF8Encoding $false
    [IO.File]::WriteAllLines($Path, $Value, $Utf8WithoutBom)
}


# variables
$url = "https://github.com/visualvm/visualvm.src/releases/download/1.4.4/visualvm_144.zip"
$fileName = [IO.Path]::GetFileName($url)
$fileNameWithoutExtension = [IO.Path]::GetFileNameWithoutExtension($fileName)

$toolsDirWithinPackage = Split-Path $MyInvocation.MyCommand.Definition -Parent
$packageBaseDir = Split-Path $toolsDirWithinPackage -Parent
Install-ChocolateyZipPackage -PackageName 'VisualVM' -Url 'https://github.com/visualvm/visualvm.src/releases/download/1.4.4/visualvm_144.zip' -UnzipLocation $packageBaseDir -Checksum "7C75DABEBD960D72CBC47A149C0B029753FBB32320E86816BCA6D06CF6E7A015" -ChecksumType "SHA256"


# zip comes with a root folder within
$packageDir = Join-Path $packageBaseDir $fileNameWithoutExtension
$mainfilePath = Join-Path $packageDir "bin\visualvm.exe"
$batFullPath = Join-Path $packageBaseDir "visualvm.bat"
$psRunWithoutConsole = Join-Path $packageBaseDir "RunWithoutConsole.ps1"


"Excluding unneeded shims..."
# exclude shim for all .exe files
$files = get-childitem $packageDir -include *.exe -recurse
foreach ($file in $files) {
    #generate an ignore file
    New-Item "$file.ignore" -Type File -Force | Out-Null
}

# create batch with all command line parameters
MyCustomWriteFile $batFullPath @"
@ECHO OFF
SETLOCAL
IF "%1" == "HIDDEN_CONSOLE" GOTO BEGIN

REM invoke himself through a helper to hide unnecesary console window
START "Console Title" /MIN "PowerShell.exe" -NoProfile -NoLogo -NonInteractive -WindowStyle Hidden "$psRunWithoutConsole" "%~f0" HIDDEN_CONSOLE
GOTO :EOF

:BEGIN
"$mainfilePath" --jdkhome "C:\Program Files (x86)\Java\jdk1.8.0_221" --console suppress

:EOF
ENDLOCAL
"@

# create helper to run app by hiding console window
MyCustomWriteFile $psRunWithoutConsole @"
Param(
    [string][Parameter(Mandatory = `$true, Position=0)]`$Path,
    [string[]][Parameter(Position=1, ValueFromRemainingArguments)]`$ArgList
)

Start-Process -WindowStyle Hidden -FilePath `$Path -ArgumentList `$ArgList
"@


"Creating shim visualvm..."
Install-BinFile -Name "visualvm" -Path $batFullPath
tools\chocolateyUninstall.ps1
Uninstall-BinFile -Name "visualvm"

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
visualvm (Install) 2.1.4 637 Wednesday, October 5, 2022 Approved

This package has no dependencies.

Discussion for the VisualVM Package

Ground Rules:

  • This discussion is only about VisualVM and the VisualVM package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or VisualVM, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus