amazon-kinesis-client-nodejs icon indicating copy to clipboard operation
amazon-kinesis-client-nodejs copied to clipboard

Unable to run the consumer sample

Open ahmedibrahim92 opened this issue 7 years ago • 2 comments

I tried to run the kinesis click_stream_sample, the producer is working fine but the consumer has an issue. The issue is that when I'm trying to run the command kcl-bootstrap <javapath> -e -p ./sample.properties I got this error: ERROR: Valid --java value is required or alternatively JAVA_HOME environment variable must be set. although I put the <javapath> with the my java path and also put JAVA_HOME in system variables so I can't determine why I have that problem till now.

Note: I'm trying this sample locally on my machine with Windows-10

@pfifer

ahmedibrahim92 avatar Sep 20 '17 12:09 ahmedibrahim92

Did you ever figure this out? Where you providing --java before your javapath?

jeannei avatar Oct 09 '17 15:10 jeannei

Its work to me: ../../../bin/kcl-bootstrap /usr/bin/java -e -p sample.properties

Eliezergimenes avatar Aug 19 '21 16:08 Eliezergimenes