In order we can reproduce and understand your issue, we need a small reproducible project from you please.
Also, please add the following information:
We support java 17, please specify what version of java do you have installed?
Make sure the JAVA_HOME is installed. As one of the error you get informs that there is the issue with this variable
16:08:27.855 [ERROR] c.b.c.CodeRunnerLoader |main| It appears you do not have JAVA_HOME environment variables set.
Please, set up the JAVA_HOME environment variable by pointing it to the root directory
of your JDK location
When exactly do you get these errors? (What method is called when they occur?)
Does the above error occur when the logic is deployed to our server?
Hi Marina,
Thank you for looking into this problem.
My issue is that when I run my code under “CodeRunner.bat” (debug version) my application executes fine(no exception errors). But, when I deploy my code using “Deploy.bat” and run the code without debugger, it throws errors.
I have created a separate page (Backendless) just click the button no input parameter is required.
application id 94496922-170D-4236-FF64-228CA5F5DE00
I am using Java 17
I have added “JAVA_HOME” environmental variable.
I get these error while deploying and running under debuger. I am attaching deployment output log file. outputofdeploy.txt (169.0 KB)
Hi. Thanks for the logs and your time.
We’ve found an error. It is related to the modular JAR files and multi-release JARs (which you use as dependencies).
The internal ticket is [BKNDLSS-31410]. We will post here in this topic about the progress.
We have discussed the ticket with the developer. Our engineer is going to take the task next, but we cannot promise that it will be released in the nearest time. Since the problem is not trivial it requires additional research to implement. We will do our best to solve it as soon as possible. When the problem is solved, we will let you know in this thread.
The issue for the issue described above has been fixed. Please upload a new JAVA project through the console and change the CodeRunner file in your project. Can you confirm that everything now works as it should?