WilliamLam.com

  • About
    • About
    • Privacy
  • VMware Cloud Foundation
    • VMware Cloud Foundation 9.1
    • VMware Cloud Foundation 9.0
  • 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 // 2 Comments

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

Comments

  1. *protectedScott Hornsby says

    07/04/2026 at 7:15 pm

    Have you come across any issues running the 9.1 VCFDT on Tahoe 26?This fix did't seem to resolve for me.

    Reply
    • William Lam says

      07/06/2026 at 12:42 pm

      As mentioned in the blog post, I've used this for both Apple x86 / Silicon without issues. I'm on Tahoe 26.5.1 for my Apple AS system

      Reply

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
  • Reddit
  • RSS
  • Twitter
  • Vimeo

Recent

  • Quick Tip: How to Identify Which Kubernetes Cluster Owns a vSphere Container Volume (PV) 06/25/2026
  • What Host Lifecycle Operations Are Available after Importing vCenter into VCF 9.x Fleet? 06/24/2026
  • VCF 9.1 - Enabling High Availability for a Small VCF Management Services (VCFMS) Deployment 06/22/2026
  • Clarifying Minimum Required ESX Hosts for VCF Deployments 06/18/2026
  • VCF 9.1 - Auditing VCF Management Services (VCFMS) IP Pool Usage  06/17/2026
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...