Page 2 of 2

Re: ZMQ Remote API Problem with Java

Posted: 30 Oct 2023, 08:26
by coppelia
Let's do the other way round: please follow those steps, and tell me if that works. If that doesn't work, tell me exactly what kind of error message you get:
  • Install Apache Maven
  • Download and install CoppeliaSim V4.6
  • Run CoppeliaSim
  • in a teminal, set the following environment var: COPPELIASIM_ROOT_DIR=path/to/CoppeliaSim/exec/folder/or/resources/folder/on/macOS
  • navigate to <CoppeliaSimFolder>/programming/zmqRemoteApi/clients/java
  • run: mvn package -D"GENERATE_INCLUDE_OBJECTS=sim"

Re: ZMQ Remote API Problem with Java

Posted: 30 Oct 2023, 10:55
by Andres
Hi, I followed all the steps exactly how you said. However, in the last step, I still get the same error:

Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
[ERROR] Command execution failed.

I wait for your response :)

PD: I am on Windows 11, I am using the last version of CoppeliaSim, I have just downloaded the latest version of Maven from their website and for COPPELIASIM_ROOT_DIR, I used to correct path for my system. I did the environment var by command prompt but I did not see any message after that, so just in case I did it too via GUI in the edit system environment variables of Windows 11.

Re: ZMQ Remote API Problem with Java

Posted: 30 Oct 2023, 12:46
by coppelia
In a command prompt, what does it print/do when you type following?

Code: Select all

#bash
py --version
python --version
python3 --version