aws-samples / aws-greengrass-samples

Samples for AWS Greengrass
MIT No Attribution
96 stars 68 forks source link

GGC-Dependency Checker doesn't recognise Java8 #32

Closed MaxKemmler closed 4 years ago

MaxKemmler commented 4 years ago

Hi Guys,

I tried to setup a new GGC-Core and due to me being a Java-Engineer I wanted to make sure that the Java8 runtime is working. Alltough I carefully followed the instructions on: https://docs.aws.amazon.com/greengrass/latest/developerguide/setup-filter.rpi.html The GGC-Dependency Check still doesn't recognise it. Maybe you can help me out here. Thanks a lot in advance!

MikeDombo commented 4 years ago

Hi, What you need to do is symlink java8 -> java. Such that you have an executable that is literally called java8.

FredrikMeyer commented 4 years ago

Hi. I have tried both symlinking java8 -> java and copying the java binary to java8. The dependency checker still complains that it cannot find Java.

MikeDombo commented 4 years ago

Hi @FredrikMeyer Can you tell me what the output of the command java8 -version 2>&1 is?