Skip to main content
Inspiring
March 14, 2025
Answered

cfbuilder plugin in vscode having java version error after update

  • March 14, 2025
  • 4 replies
  • 1452 views

 I'm using vs code with the cfbuilder plugin and using commandbox as my development server.  I am getting an error when I start cfbuilder in vscode that cfbuilder requires a version of Java greater than 7.  I already had a version greater than 7 but I clicked on the download Java button in the error and reinstalled it.  However I still get the error.  When I enter "java -version" in the VSCode terminal it responds:

java version "23.0.2" 2025-01-21
Java(TM) SE Runtime Environment (build 23.0.2+7-58)
Java HotSpot(TM) 64-Bit Server VM (build 23.0.2+7-58, mixed mode, sharing)

 

Not sure what to do.

 

-Rick

Correct answer dellydust

RaviShankar thank you for referring me to cfinstal@adobe.comAbhishek responded for me to install JDK 11 and check results.  I'm running on Windows 11.  I downloaded openjdk11 from the Microsoft OpenJDK site and installed it and restarted Visual Studio Code.  The CF Builder window opened up in it and announced it was ready to help.  I confirmed that code assist and other features were working.  I apologize I was under the weather and my attempt to install was delayed several days.

 

To Charlie, the error message was in the lower right and I believe said CF Builder required a newer version of Java to run.  I had just updated my Java to jdk23 and was like "how new doed it have to be."  Also the code assist tools would say "Tool name" not found.  JDK 11 is the preferred java version for CFBuilder it appears.

 

Thank you all I really appeciate it that you responded.

Dellydust

4 replies

dellydustAuthorCorrect answer
Inspiring
March 21, 2025

RaviShankar thank you for referring me to cfinstal@adobe.comAbhishek responded for me to install JDK 11 and check results.  I'm running on Windows 11.  I downloaded openjdk11 from the Microsoft OpenJDK site and installed it and restarted Visual Studio Code.  The CF Builder window opened up in it and announced it was ready to help.  I confirmed that code assist and other features were working.  I apologize I was under the weather and my attempt to install was delayed several days.

 

To Charlie, the error message was in the lower right and I believe said CF Builder required a newer version of Java to run.  I had just updated my Java to jdk23 and was like "how new doed it have to be."  Also the code assist tools would say "Tool name" not found.  JDK 11 is the preferred java version for CFBuilder it appears.

 

Thank you all I really appeciate it that you responded.

Dellydust

Charlie Arehart
Community Expert
Community Expert
March 21, 2025

Dellydust, thanks for the update and glad you're working, but to be clear I was hoping you'd see my request for the error message BEFORE you would fix things. I am aware where it appears, and how confusing it is. 🙂 

 

I wanted for us to have the exact message, for the record, so that others searching for it would find this discussion. With what you/Abishek have shared, I suppose any of us reading along may be able to replicate it. If anyone does, please share the exact message here. 

/Charlie (troubleshooter, carehart. org)
Charlie Arehart
Community Expert
Community Expert
March 14, 2025

dellydust, even while you may be taking up Ravi's kind offer, can you please offer the exact text of the error message? I know I've seen this problem many times, and I'd like to find other discussions of it.

Having your error mesage would help us and future readers: even if you may resolve things with Ravi. 🙂 And if you all DO solve it, please do clarify what it took. I've seen this problem for years and am wanting to get it clarified somewhere what the problem and solution is (or better, if it's something Adobe can address from their end in teh extension or its error handling).

/Charlie (troubleshooter, carehart. org)
RaviShankar Chagnur
Adobe Employee
Adobe Employee
March 14, 2025

Hello Rick,

 

Can you please send an Email to cfinstal@adobe.com

 

Thanks & Regards

Ravi

BKBK
Community Expert
Community Expert
March 14, 2025

It just might be that Visual Studio Code is confused. It might be thinking that JDK build 23.0.2+7-58 is Java 7. If so, that will imply that JDK 23 is probably too new for your Visual Studio Code installation. Hence, experiment by replacing the Java version that Visual Studio Code uses, for example, with Java 21.  

 

A Youtube video on how to change the Java version of Visual Studio Code: https://www.youtube.com/watch?v=p-H7Q9PtSc8