Good afternoon, can someone give me a light with a...
# cfml-beginners
v
Good afternoon, can someone give me a light with an error when trying to install: install commandbox-cfconfig Message: Unable to make public boolean java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.cancel(boolean) accessible: module java.base does not "opens java.util.concurrent" to unnamed module @18c5069b
👀 1
d
Start commandbox first to see if it starts up ok without installing any module. Just run “box” command
v
message has been deleted
yes, he start
:s
d
and now if you run “install commandbox-cfconfig “
v
message has been deleted
same error
d
I think you need to upgrade commandbox.
Replace box.exe with the latest
v
I'm on a linux server, I just installed it
[root@ip-172-16-0-236 script]# box version CommandBox 5.5.2+00578
d
Yeah I just looked it up. That is the latest version.
v
is it a bug in cfconfig?
d
Run “update system=true”
v
CommandBox> update system=true Resolving Dependencies, please wait... There are no outdated dependencies!
message has been deleted
same, try install
d
Maybe a bug. I would try one more thing: delete the .Commandbox install folder
v
i will make
d
cd ~
ls
that folder should be there
v
message has been deleted
message has been deleted
d
rm -rf .Commandbox
After that start commandbox again
v
message has been deleted
box start but, alert failed to load
install cfconfig
same error
message has been deleted
d
Gotta be a Bug with commandbox.
v
hehe
thanks Daniel, for the help, I'll log the bug and see the answer 😉
d
Or the Java version is not supported
v
[root@ip-172-16-0-236 ~]# java -version openjdk version "17.0.3" 2022-04-19 LTS OpenJDK Runtime Environment Corretto-17.0.3.6.1 (build 17.0.3+6-LTS) OpenJDK 64-Bit Server VM Corretto-17.0.3.6.1 (build 17.0.3+6-LTS, mixed mode, sharing)
d
Run the info command to see the Java that commandbox recognizes
v
I don't know how to do that :s
d
“Box info” command
v
message has been deleted
* Java Version: 17.0.3 (Amazon.com Inc.) * Java Path: /usr/lib/jvm/java-17-amazon-corretto.aarch64/bin/java
d
Ok, I'm looking to see what versions commandbox supports
v
in the documentation it doesn't say a version, from what I'm reading
Java JRE installed level 1.8 or higher (
d
I know. I'm on v11
v
maybe that's it, do you think it's worth reporting the problem?
d
maybe it's just something that should be documented.
Right now it would be really helpful if we knew the supported versions
Can you try installing v11?
v
yes i can
bingo
d
nice
v
very tks
d
que bueno!!!
v
thank you so much for your help
s
yes java 11 is the highest version commandbox will run on, this is also true of lucee, which is what powers commandbox
1
👍 1
b
yep, Java 17 won't work. I immediately recognized that error as being an incompatible version of Java.
👍🏾 1