You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@predictionio.apache.org by Ravi Kiran <ra...@gmail.com> on 2017/04/11 07:21:27 UTC

Prediction.IO error while creating new app

I am starting new app using query

    pio app new sample_app

I get this error:

[INFO] [App$] Initialized Event Store for this app ID: 6
Exception in thread "main" java.lang.NoSuchMethodError:
java.security.SecureRandom.getInstanceStrong()Ljava/security/SecureRandom

Most of the answers suggest to use Java 8 but I already have Java 8 (java
version "1.8.0_121") Let me know if additional info is needed

Re: Prediction.IO error while creating new app

Posted by Donald Szeto <do...@apache.org>.
Is the java command on your search path pointing to your Java 8
installation?

In any case, you can set your JAVA_HOME environment variable to make sure
pio is using the right Java installation.

On Tue, Apr 11, 2017 at 12:21 AM Ravi Kiran <ra...@gmail.com> wrote:

> I am starting new app using query
>
>     pio app new sample_app
>
> I get this error:
>
> [INFO] [App$] Initialized Event Store for this app ID: 6
> Exception in thread "main" java.lang.NoSuchMethodError: java.security.SecureRandom.getInstanceStrong()Ljava/security/SecureRandom
>
> Most of the answers suggest to use Java 8 but I already have Java 8 (java
> version "1.8.0_121") Let me know if additional info is needed
>