The error message suggests that your system is not able to recognize the "java -jar" command that is being run as part of the download step. This error typically occurs when you do not have a Java Development Kit (JDK) installed on your machine (Win or Mac). So, to resolve this issue, search on the internet for a free version of JDK and install it. Then, repeat the build process for your Simulink model and check if the build and download completes successfully.
Why do I get an error "The system cannot find the file specified" during the build process of my Simulink model for the VEX Microcontroller?
24 views (last 30 days)
I have been able to install Simulink and the VEX Support Package on my Mac successfully. When I build a Simulink model for my VEX target, I see the following error at the bottom of the build verbose:
> "### Invoking postbuild tool "Download" ..."
> process_begin: CreateProcess(NULL, java -jar C:/MATLAB/SupportPackages/R2014a/PROS/firmware/uniflash.jar vex ../defaultprogram.bin, ...) failed.
> make (e=2): The system cannot find the file specified.
> gmake: *** [download] Error 2
Why is the "Download" step failing? How do I fix this issue?