0
When I try to open a BAT file, with the following code:
@ECHO OFF
SET PASTA_BASE=%~dp0
START CMD /C %PASTA_BASE%\client.js -a DESE -p Terminal -x
The following error message appears: "Could not create the Java virtual machine." (image with error is attached to this question) I have been researching and I saw that it is a problem inherited by SUN in the VM, but I don’t know what else I can adjust in the source to fix it, who understands this challenge?

What are your environment variables
PATHandJAVA_HOME? What’s in that oneclient.js?– Victor Stafusa
Wshsysenv("JRE_HOME") = ". Runtime jre"; var JRE_PATH = Wshsysenv("JRE_HOME");
– Alexsandro Felix