WilliamLam.com

  • About
    • About
    • Privacy
  • VMware Cloud Foundation
    • VMware Cloud Foundation 9
  • VKS
  • Homelab
    • Hardware Options
    • Hardware Reviews
    • Lab Deployment Scripts
    • Nested Virtualization
    • Homelab Podcasts
  • VMware Nostalgia
  • Apple
You are here: Home / VMware Cloud Foundation / Running VCF Download Tool (VCFDT) on Apple macOS

Running VCF Download Tool (VCFDT) on Apple macOS

01.05.2026 by William Lam // Leave a Comment

The VMware Cloud Foundation (VCF) Download Tool (VCDT) is how users download both VMware vSphere Foundation (VVF) and VCF) install and upgrade binaries, which can then then be hosted locally as a VCF Offline Depot.

VCFDT is only supported on a Windows or Linux-based operating system, which is a shame since I am exclusively an Apple macOS user šŸ˜ž

If you attempt to run VCFDT on macOS (x86 or Apple Silicon), you will come across the following error message: cannot execute binary file: Exec format error


As you can see from the screenshot above, it attempts to use the Java runtime that has been compiled for Linux, which is denoted by the lin64 directory.

After poking around the VCFDT startup script, I saw that you could set your own custom JAVA path, which gave me an idea ...

Disclaimer: This is not officially supported by Broadcom, please use at your own risk.

It turns out I could install a supported version of OpenJDK on Apple macOS and then use the custom JAVA path to then run the actual VCFDT application, which has worked for me on both Apple macOS x86 and Silicon.

Step 1 - Install OpenJDK 21 using Brew by running the following command:

brew install openjdk@21

Step 2 - Set the CUSTOM_JAVA_PATH variable to /usr which is where the version of Java runtime binary will be installed

export CUSTOM_JAVA_PATH=/usr

Note: You will want to add this to your startup shell script (.zshrc or .bashrc) so that the path is automatically set each time you startup your preferred shell

Now when you re-run the vcf-download-tool command, it will no longer run into the issue as it is using the Java runtime that you had installed. This is how I have been using VCFDT on macOS, which I was recently reminded as I needed to setup a new installation on my Apple Silicon setup.

Categories // VMware Cloud Foundation Tags // VCF 9.0

Thanks for the comment!Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Search

Thank Author

Author

William is Distinguished Platform Engineering Architect in the VMware Cloud Foundation (VCF) Division at Broadcom. His primary focus is helping customers and partners build, run and operate a modern Private Cloud using the VMware Cloud Foundation (VCF) platform.

Connect

  • Bluesky
  • Email
  • GitHub
  • LinkedIn
  • Mastodon
  • Reddit
  • RSS
  • Twitter
  • Vimeo

Recent

  • Quick Tip - NSX Edge fails DNS pre-check as part of VCF 9.0.2 Upgrade 01/23/2026
  • Quick Tip - No space left on device when upgrading VCF Operations using VCF Operations Fleet Manager to VCF 9.0.2 01/22/2026
  • Every Mini PC & SFF Hardware Announced at CES 2026 01/21/2026
  • Improved Workaround for NSX Edge Deployment & Upgrade to VCF 9.0.2 running AMD Ryzen CPUs 01/20/2026
  • Disable HTTP Range Requests on Synology WebStation, Apache or Nginx 01/14/2026

Advertisment

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.

To find out more, including how to control cookies, see here: Cookie Policy

Copyright WilliamLam.com © 2026

 

Loading Comments...