Installing VS Code Coldfusion Builder Extension on MacOS Monterey
Copy link to clipboard
Copied
I am unable to create a CF Server in Visual Studio Code Adobe ColdFusion Builder Extension.
Configuration and steps are listed below I followed during installation:
Environment installing on
Operating: System MacOS Monterey (version 12.6)
Processor: 4 GHz Quad-Core Intel Core i7 (Late 2015)
Visual Studio Code Version 1.72.0
Coldfusion Builder Extension version 1.0.443
Java(TM) SE Runtime Environment 18.9 (build 11.0.16+11-LTS-199)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.16+11-LTS-199, mixed mode)
System requirements
macOS: macOS 12.
Java 11 as the recommended JDK.
Version 1.68 of VS Code or above.
MACOS Installation
Note: macOS 10.15 Catalina and above uses zsh shell. I followed steps below using both the Terminal Windows in VS Code, (when it did not appear to work work) then I tried again using the Mac’s Terminal Window)
zsh shell
- Downloaded and installed (jdk-11.0.16_macos-x64_bin.dmg)
- Created zsh environment file: touch ~/.zshenv
- Located the Java binaries: /usr/libexec/java_home The following path appeared, /Library/Java/JavaVirtualMachines/jdk-11.0.16.jdk/Contents/Home
- Copied and pasted the Java binary path to the zshenv file. Type: open ~/.zshenv
- In the environment editor, type: export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-11.0.16.jdk/Contents/Home
- Saves and exited the editor.
- Applied the change into the current shell: source ~/.zshenv
- Checked if the environment variable is set properly: echo $JAVA_HOME The following environment appeared: /Library/Java/JavaVirtualMachines/jdk-11.0.16.jdk/Contents/Home
I re-started Visual Studio Cold Fusion and receive the following messages:
1 - Caching components: 3/87 (3 went to 87 and message closed) Source: CFML (Extension)
2 - Adobe Cold Fusion Builder is now attached with the VS Code Client. Source: Adobe ColdFusion Builder (Extension)
I next selected the CF Builder Extension icon in VSCode:
PROJECT MANAGER shows “No workspace created Yet”
If I attempt to create a Workspace I receive the following message:
Error running command cfml.project.refresh: command 'cfml.project.refresh' not found. This is likely caused by the extension that contributes cfml.project.refresh.
CF SERVERS shows “No server created Yet” and has a Blue button “Add Server”
Pressing the Add Server Button I receive the following message:
Error running command cfml.server.create: command 'cfml.server.create' not found. This is likely caused by the extension that contributes cfml.server.create.
Copy link to clipboard
Copied
Forgot to mention, I am running Coldfusion 2021 Developer
Copy link to clipboard
Copied
I have the same setup and am encountering the same issues as tjguida.
Copy link to clipboard
Copied
I use a windows machine and have the same issue with VS code. No local CF installed.
Copy link to clipboard
Copied
Getting the same error, any help would be really appreciated!
Copy link to clipboard
Copied
I have the same issue. Any way around the errors? It can't find my java.
Copy link to clipboard
Copied
So I'm an idiot, I had the right path to Java but I included /bin/ once I removed that it worked fine. The Java_home variable appears to be important.
Copy link to clipboard
Copied
I get the same error, with no local CF servers installed.
OS:Windows 10, Java 19
Copy link to clipboard
Copied
I am running Windows 11 with no local CRF Installed, facing the same issue.
Copy link to clipboard
Copied
Things worked fine in JDK 8, when I moved to Java 11, this error started. The extension loads but you can't add a server, same error.
Copy link to clipboard
Copied
This might be a year to late, but I had this same issue and my problem was that on my environmental variables JAVA_HOME didn't have the correct path.
Copy link to clipboard
Copied
I am recieving the same issue.
Windows 11
Visual Studio Code version 1.81.1
Coldfusion builder version 1.0.469
Copy link to clipboard
Copied
Any update on this issue or when it will be fixed? I have not been able to use this extension yet.
Copy link to clipboard
Copied
Clinton, by "same issue" (from your previous comment), do you mean you get what tj originally reported on adding a server, "Error running command cfml.server.create: command 'cfml.server.create' nofound."? And was that preceded by the same error tj reported about adding a workspace?
Or does something else make you "not able to use the extension"?
Copy link to clipboard
Copied
@Charlie Arehart, Yes I recieve the same error as the original poster, I've tried creating a workspace and I get a similar error "Error running command cfml.project.create: command 'cfml.project.create' not found. This is likely caused by the extension that contributes cfml.projectcreate."
Copy link to clipboard
Copied
I am sorry this is a better picture.
Copy link to clipboard
Copied
I am also facing similar issue.
Has anyone been able to reslove this issue.
I have tried setting up JAVA_HOME but it still does not work
Copy link to clipboard
Copied
Late to the party here, but I've had the same issue.
Following the ColdFusion guide I have successfully setup my JAVA_HOME.
Make sure to add '%JAVA_HOME%\bin' to your 'Path' once you've setup JAVA_HOME.
Copy link to clipboard
Copied
Hi. I'm struggling with CFBuilder extension on Windows + remote server (CF2023, JDK 11.0.17). I had the symptoms above until I setup the environment variables on the remote server (I originally set them up on my machine).
Now I'm seeing another problem - CFBuilder attaches to the server but that's all.
After that its just forever trying to do something but I can't see what - I've checked the logs and the Ouput windows but I see nothing pointing to an issue. Anyone have a clue where I should look for the issue to present itself please?

