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:

194,131

Downloads of v 21.4.1.20211228:

53

Last Update:

29 Dec 2021

Package Maintainer(s):

Software Author(s):

  • Oracle

Tags:

oracle sql developer ide

Oracle SQL Developer

Downloads:

194,131

Downloads of v 21.4.1.20211228:

53

Maintainer(s):

Software Author(s):

  • Oracle

Oracle SQL Developer

  • 1
  • 2
  • 3

This Package Contains an Exempted Check

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Exemption:

Automated testing is failing because the there are required package parameters that are not being provided. In this case, Oracle requires a (free) Oracle account to download the application, so that account's Username/Password must be provided.

Details

Scan Testing Successful:

No detections found in any package files

Details
WARNING

This package was rejected on 01 Mar 2022. The reviewer chocolatey-ops has listed the following reason(s):

glacoste (maintainer) on 29 Dec 2021 03:02:33 +00:00:

User 'glacoste' (maintainer) submitted package.

chocolatey-ops (reviewer) on 29 Dec 2021 03:37:37 +00:00:

oracle-sql-developer 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.

  • Package contains dependencies with no specified version. You should at least specify a minimum version of a dependency. More...
  • The package script downloads a file outside of using built-in helpers. Scripts should use the built-in helpers to download files. More...

chocolatey-ops (reviewer) on 29 Dec 2021 04:01:46 +00:00:

oracle-sql-developer has passed automated virus scanning.

Windos (reviewer) on 25 Jan 2022 19:34:49 +00:00:

Hi there,

I notice that a couple of Write-Host lines have been added to the helpers.ps1 file. Was this intentional, and are they actually required?

Cheers,
Josh

chocolatey-ops (reviewer) on 14 Feb 2022 19:45:07 +00:00:

We've found oracle-sql-developer v21.4.1.20211228 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 01 Mar 2022 19:47:03 +00:00:

Unfortunately there has not been progress to move oracle-sql-developer v21.4.1.20211228 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

Oracle SQL Developer is an Integrated development environment (IDE) for working with SQL in Oracle databases.
Oracle Corporation provides this product free; it uses the Java Development Kit.

#### Important Notes
1.- This version supports both 32bit and 64bit and subsequently does not have a JDK bundled with it.
2.- An Oracle account is required to download this package. See the "Package Parameters" section below for
details on how to provide your Oracle credentials to the installer. If you don't have an existing account, you can
create one for free here: https://profile.oracle.com/myprofile/account/create-account.jspx
* Internet Explorer is required for login to Oracle website before downloading the software.

#### Package Parameters
The following package parameters are required:

* /Username: - Oracle username
* /Password: - Oracle password

You need to specify your username and password in the command.
Example, if your password is ThePassword and your user is [email protected] the command is:
choco install -y oracle-sql-developer --params="'/Username:[email protected] /Password:ThePassword'"

To have choco remember parameters on upgrade, be sure to set choco feature enable -n=useRememberedArgumentsForUpgrades.


sqldeveloper\ide\bin\product.exe.ignore
 
sqldeveloper\ide\bin\product64.exe.ignore
 
sqldeveloper\sqldeveloper.exe.gui
 
sqldeveloper\sqldeveloper\bin\sdcli.exe.ignore
 
sqldeveloper\sqldeveloper\bin\sdcli64.exe.ignore
 
sqldeveloper\sqldeveloper\bin\sql.exe.ignore
 
sqldeveloper\sqldeveloper\bin\sqldeveloper.exe.ignore
 
sqldeveloper\sqldeveloper\bin\sqldeveloper64.exe.ignore
 
sqldeveloper\sqldeveloper\bin\sqldeveloper64W.exe.ignore
 
sqldeveloper\sqldeveloper\bin\sqldeveloperW.exe.ignore
 
tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop';

$packageDir = $env:ChocolateyPackageFolder
$toolsDir = Split-Path -parent $MyInvocation.MyCommand.Definition

."$toolsDir/helpers.ps1"

$params = Get-PackageParameters

$version = '21.4.1'
$zipFileName = 'sqldeveloper-21.4.1.349.1822-no-jre.zip'
$url = "https://download.oracle.com/otn/java/sqldeveloper/$zipFileName"
$sha1hash = '7adad1dc495c454b169e6ac196bfaf7d7aee55dc'
$loginSubmit = 'https://login.oracle.com/oam/server/auth_cred_submit'
$proxy = Get-ChocolateyProxy $url

# disable need to run Internet Explorer first launch configuration
Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Internet Explorer\Main" -Name "DisableFirstRunCustomize" -Value 2

$packageArgs = @{
  packageName   = $env:ChocolateyPackageName
  unzipLocation = $packageDir
  url           = ''
  checksum      = $sha1hash
  checksumType  = 'sha1'
}

if(!$params['Username'] -or !$params['Password']) {
  throw @'
  An Oracle account is required to download SQL Developer

  * Provide your Oracle credentials as package params to the installer and
    retry the installation:

    choco install oracle-sql-developer --params "'/Username:{userName} /Password:{password}'"

  * If you do not have an Oracle account, you can register for one here (it's free):
    https://profile.oracle.com/myprofile/account/create-account.jspx

'@
}

Write-Host 'Redirecting to Oracle Login...'
$loginPage = Invoke-WebRequest -Uri $url -SessionVariable session @proxy

Write-Host 'Logging in...'

$licenseAcceptCookie = New-Object System.Net.Cookie -ArgumentList 'oraclelicense', 'accept-sqldev-cookie', '/', 'oracle.com'
$session.Cookies.Add($licenseAcceptCookie)

$loginFormFields = $loginPage.Forms['LoginForm'].Fields
$loginFormFields.ssousername = $params['Username']
$loginFormFields.password = $params['Password']

try {
  Invoke-WebRequest -Uri $loginSubmit -Method Post -WebSession $session -Body $loginFormFields -MaximumRedirection 2 @proxy
}
catch {
  $msg = $_.ErrorDetails.Message
  if($msg -inotmatch 'AuthParam') {
    throw "Oracle login unsuccessful: $_"
  }
  $packageArgs.url = [regex]::Match($msg, '.*(http.*)\.').Groups[1].Value
  $packageArgs.url = $packageArgs.url.Replace('https', 'http')
  $packageArgs.url = $packageArgs.url.Replace('http', 'https')
}

Write-Host 'Oracle login successful'
Write-Debug "Authenticated download URL: $($packageArgs.url)"

Install-ChocolateyZipPackage @packageArgs

Write-Host 'Setting JDK path in product config...'
Write-Debug "JDK Path: $(Get-JdkPath)"

$productConfDir = Join-Path "$($env:APPDATA)" "sqldeveloper/$version"
$productConfPath = Join-Path $productConfDir 'product.conf'
$templatePath = Join-Path $toolsDir 'product.conf'
$template = Get-Content -Path $templatePath -Raw
$template = $template.Replace('%JdkPath%', $(Get-JdkPath))
New-Item -ItemType Directory -Path $productConfDir -ErrorAction SilentlyContinue
try {
  $template | Out-File -FilePath $productConfPath -Encoding 'UTF8' -NoClobber
}
catch {
  Write-Warning @"
  Could not update SQL Developer product config file. It may already exist from a previous install or not be writable.
  Check the file to ensure the 'SetJavaHome' path is set correctly. If no file exists at this path, it will
  be created upon the first run of SQL Developer

  Path: $productConfPath

"@
}

Write-Host 'Creating shortcuts...'

$exePath = Join-Path $packageDir 'sqldeveloper/sqldeveloper.exe'
$desktop = [Environment]::GetFolderPath([Environment+SpecialFolder]::Desktop)
$startMenu = [Environment]::GetFolderPath([Environment+SpecialFolder]::StartMenu)
$shortcut = 'Oracle SQL Developer.lnk'
Install-ChocolateyShortcut -ShortcutFilePath $(Join-Path $desktop $shortcut) -TargetPath $exePath
Install-ChocolateyShortcut -ShortcutFilePath $(Join-Path $startMenu "Programs/$shortcut") -TargetPath $exePath
tools\chocolateyuninstall.ps1
$ErrorActionPreference = 'Stop';

Write-Host 'Removing shortcuts...'

$desktop = [Environment]::GetFolderPath([Environment+SpecialFolder]::Desktop)
$startMenu = [Environment]::GetFolderPath([Environment+SpecialFolder]::StartMenu)
$shortcut = 'Oracle SQL Developer.lnk'

Remove-Item -Path $(Join-Path $desktop $shortcut) -Force -ErrorAction Ignore
Remove-Item -Path $(Join-Path $startMenu "Programs/$shortcut") -Force -ErrorAction Ignore
tools\helpers.ps1

function Get-ChocolateyProxy {
  param(
    [string] $url
  )

  Write-Host "*****"
  write-host $url
  Write-Host "*****"

  $proxy = $null
  $proxyInfo = @{}
  $creds = [System.Net.CredentialCache]::DefaultCredentials

  $webclient = new-object System.Net.WebClient
  if ($creds -ne $null) {
    $webClient.Credentials = $creds
  }

  $explicitProxy = $env:chocolateyProxyLocation
  $explicitProxyUser = $env:chocolateyProxyUser
  $explicitProxyPassword = $env:chocolateyProxyPassword

  if ($explicitProxy -ne $null) {

	  $proxy = New-Object System.Net.WebProxy($explicitProxy, $true)
	  if ($explicitProxyPassword -ne $null) {
      $passwd = ConvertTo-SecureString $explicitProxyPassword -AsPlainText -Force
	    $proxy.Credentials = New-Object System.Management.Automation.PSCredential ($explicitProxyUser, $passwd)
	  }

 	  Write-Host "Using explicit proxy server '$explicitProxy'."
  }
  elseif ($webclient.Proxy -and !$webclient.Proxy.IsBypassed($url)) {
    if ($creds -eq $null) {
      Write-Debug "Default credentials were null. Attempting backup method"
      $creds = Get-Credential
    }

    $proxyaddress = $webclient.Proxy.GetProxy($url).Authority

    $proxy = New-Object System.Net.WebProxy($proxyaddress)
    if($creds.UserName) {
      $proxy.Credentials = $creds
    }

    Write-Host "Using system proxy server '$proxyaddress'."
  }

  if($proxy) {
    $proxyInfo.Proxy = $proxy.Address;
    $proxyInfo.ProxyCredential = $proxy.Credentials;
  }

  return $proxyInfo
}

function Get-JdkPath() {
  try {
    $jdkReg = Get-ItemProperty -Path 'HKLM:SOFTWARE\JavaSoft\Java Development Kit\1.8\' -ErrorAction Stop
    return $jdkReg.JavaHome
  }
  catch {
    throw 'Could not find installation required dependency JDK8'
  }
}
tools\LICENSE.txt
The MIT License (MIT)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
tools\product.conf
##############################################################################
#
# The format of this file is:
#
# Directive  Value
#
# with one or more spaces between the directive and the value. This file
# can be in either UNIX or DOS format for end of line terminators. Use UNIX
# style '/' path separators, although on Windows some directives, such as
# SetJavaHome, can take '\' path separators.
#
##############################################################################

#
# By default, the product launcher will search for a JDK to use, and if none
# can be found, it will ask for the location of a JDK and store its location
# in this file. If a particular JDK should be used instead, uncomment the
# line below and set the path to your preferred JDK.
#
SetJavaHome %JdkPath%

#
# Specify the initial size, in bytes, of the memory allocation pool. This
# value must be a multiple of 1024 greater than 1MB. Append the letter k
# or K to indicate kilobytes, or m or M to indicate megabytes, or g or G
# to indicate gigabytes. The default value is chosen at runtime based on
# the system configuration.
# Examples:  -Xms6291456
#            -Xms6144k
#            -Xms6m
#
# You can specify one value for any JDK using AddVMOption, OR you can specify
# separate values for 32-bit and 64-bit JDK's.
#
# AddVMOption -Xms128m
# Add32VMOption -Xms128m
# Add64VMOption -Xms128m

#
# Specify the maximum size, in bytes, of the memory allocation pool. This
# value must be a multiple of 1024 greater than 2MB. Append the letter k
# or K to indicate kilobytes, or m or M to indicate megabytes, or g or G
# to indicate gigabytes. The default value is chosen at runtime based on
# the system configuration.
# Examples:  -Xmx83886080
#            -Xmx81920k
#            -Xmx80m
# On Solaris 7 and Solaris 8 SPARC platforms, the upper limit for this value
# is approximately 4000m minus overhead amounts. On Solaris 2.6 and x86
# platforms, the upper limit is approximately 2000m minus overhead amounts.
# On Linux platforms, the upper limit is approximately 2000m minus overhead
# amounts.
#
# If you are getting the 'Low Memory Warning' Message Dialog while running
# the product, please increase the -Xmx value below from the default 800M to
# something greater, like 1024M or 1250M.  If after increasing the value,
# the product is no longer starting up because it fails to create a virtual
# machine, then please reduce the modified -Xmx value, or use a 64bit JDK
# which allows for very very large value for -Xmx.
#
# You can specify one value for any JDK using AddVMOption, OR you can specify
# separate values for 32-bit and 64-bit JDK's.
#
# AddVMOption -Xmx800m
# Add32VMOption -Xmx800m
# Add64VMOption -Xmx800m
tools\VERIFICATION.txt

VERIFICATION
Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.

Nuget package:   https://www.nuget.org/packages/HtmlAgilityPack/1.11.4
SHA256 checksum: 07E1E38F7CB400E145D5A67D4924627F1BD156808CB68A1B5886A4C201AB6257

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
Oracle SQL Developer 20.4.1 2767 Thursday, March 4, 2021 Approved
Oracle SQL Developer 18.4.0 19644 Sunday, March 3, 2019 Approved
Discussion for the Oracle SQL Developer Package

Ground Rules:

  • This discussion is only about Oracle SQL Developer and the Oracle SQL Developer 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 Oracle SQL Developer, 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