Problem with Java

Asked

Viewed 35 times

0

inserir a descrição da imagem aqui

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 PATH and JAVA_HOME? What’s in that one client.js?

  • Wshsysenv("JRE_HOME") = ". Runtime jre"; var JRE_PATH = Wshsysenv("JRE_HOME");

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.