Contentbox express problems I'm on a new laptop, I...
# cfml-beginners
f
Contentbox express problems I'm on a new laptop, I have commandbox and everything is working fine but I downloaded confentbox express, and I'm getting The JRE_HOME environment variable is not defined correctly This environment variable is needed to run this program. I'm on win11, express has worked before, my jdk is all fine I think. What can I do?
g
@Formiko I replied to this in box-products https://cfml.slack.com/archives/C06TSRXCJ/p1651037789113559
b
@Formiko The last time you asked about ContentBox Express, I mentioned it's basically unmaintained at this point and we recommend CommandBox.
Is there a reason you're still trying to use ContentBox express, or did you just miss that suggestion? 🙂
f
I wanted basically a sandbox. Can I install express w/ commandbox?
g
If you use CommandBox then you don't need Express. You will essentially be installing ContentBox locally and use CommandBox to run it. A big advantage is that this will give you the latest version of ContentBox and is how many people run it.
✅ 1
b
@Formiko What Daniel said. ContentBox Express was something we created many many years ago to mimic Lucee express back before CommandBox existed and there was no easy way to have a portable server. Now that we have CommandBox with
server start
and it's JSON config files, there's not really a need for the "express" servers, whcih were just basically a portable Tomcat install.
e
Or you could make sure Java_Home and Java path are set in your environment. Make sure you have installed some JDK or JRE, if you are not sure download one from Java.com or OpenJDK. On windows To set JAVA_HOME, do the following: 1. Right click My Computer and select Properties. 2. On the Advanced tab, select Environment Variables, and then edit JAVA_HOME to point to where the JDK software is located