HI,

SecureRandom.getInstanceStrong is a method that only exists in JDK 8 and later. 
So you’ll need the JDK 8 to run that code.

https://docs.oracle.com/javase/8/docs/api/java/security/SecureRandom.html#getInstanceStrong--
 
<https://docs.oracle.com/javase/8/docs/api/java/security/SecureRandom.html#getInstanceStrong-->


> On 5 Dec 2016, at 15.49, Mike <[email protected]> wrote:
> 
> I recently failed an install with exactly that setup. Try uninstalling java 
> and installing jdk 8
> 
> Tel. 0739108691
> Skype mike.graham
> 
> 
> On 5 Dec 2016, at 14:46, Bruno LEBON <[email protected] 
> <mailto:[email protected]>> wrote:
> 
>> Ubuntu 16.04 from AWS
>> 
>> 2016-12-05 14:45 GMT+01:00 Bruno LEBON <[email protected] 
>> <mailto:[email protected]>>:
>> I am on Ubuntu, with a Java 1.7.0_79
>> 
>> 2016-12-05 13:22 GMT+01:00 Mike <[email protected] 
>> <mailto:[email protected]>>:
>> Which OS and JDK are you using?
>> 
>> Tel. 0739108691
>> Skype mike.graham
>> 
>> 
>> > On 5 Dec 2016, at 12:18, Bruno LEBON <[email protected] 
>> > <mailto:[email protected]>> wrote:
>> >
>> > Hello,
>> >
>> > When launching ./make-distribution.sh from the folder 
>> > apache-predictionio-0.10.0-incubating I have the following error:
>> >
>> > [info] Compiling 89 Scala sources to 
>> > /home/ubuntu/apache-predictionio-0.10.0-incubating/data/target/scala-2.10/classes...
>> > [error] 
>> > /home/ubuntu/apache-predictionio-0.10.0-incubating/data/src/main/scala/org/apache/predictionio/data/storage/AccessKeys.scala:69:
>> >  value getInstanceStrong is not a member of object 
>> > java.security.SecureRandom
>> > [error]     val sr = SecureRandom.getInstanceStrong
>> > [error]                           ^
>> > [error] one error found
>> > [info] Main Scala API documentation to 
>> > /home/ubuntu/apache-predictionio-0.10.0-incubating/data/target/scala-2.10/api...
>> > [warn] dropping dependency on node with no phase object: uncurry
>> > [error] 
>> > /home/ubuntu/apache-predictionio-0.10.0-incubating/data/src/main/scala/org/apache/predictionio/data/storage/AccessKeys.scala:69:
>> >  value getInstanceStrong is not a member of object 
>> > java.security.SecureRandom
>> > [error]     val sr = SecureRandom.getInstanceStrong
>> > [error]                           ^
>> > [info] No documentation generated with unsucessful compiler run
>> > [error] one error found
>> > [error] (data/compile:doc) Scaladoc generation failed
>> > [error] (data/compile:compile) Compilation failed
>> > [error] Total time: 65 s, completed Dec 5, 2016 11:03:53 AM
>> >
>> > Is there a problem while the install procedure?
>> >
>> > Bruno
>> 
>> 
>> 

Reply via email to