Skip to content

[TensorFlow] No Java runtime present, requesting install #417

@stu1130

Description

@stu1130

Environment

  1. Mac 10.14.6 (Mojave)
  2. GraalVM 20.1.0 Java 11

Step to reproduce:

1. install GraalVM following the [instruction](https://www.graalvm.org/docs/getting-started/macos)
2. git clone https://github.com/aws-samples/djl-demo.git
3. cd djl-demo/graalvm
4. mvn clean package -Pnative -Ptensorflow
5. target/image-classification
Loading:     100% |████████████████████████████████████████|
No Java runtime present, requesting install.

Screen Shot 2020-07-27 at 10 15 54 AM

DJL uses TensorFlow JavaCpp bindings.
When building GraalVM with native mode, it shouldn't look for java during the runtime
Does JavaCpp for TensorFlow override the path of which JVM is loading?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions