| Products | Versions |
|---|---|
| Spotfire Data Science - Statistica | 14.x |
The error is shown below:

Windows (OS)
Steps to Resolve:
Open Environment Variables → Advanced → set a new System Variable, add the path
(C:\Program Files\Spotfire\Statistica\java\jre) Click OK.


Apart from the "Could not locate Java Virtual Machine" error, if the following error is encountered while executing the Statistica data function, please follow the same steps mentioned above to resolve it.

While executing SANN Regression (Rapid Deployment Model) in Spotfire, the error "Could not locate Java Virtual Machine" may sometimes occur. To resolve this error, please follow the steps below: