CertifaiAI / cdle-traininglabs

Certifai Training Labs Repository using Eclipse Deeplearning4j
https://certifai.ai/
Apache License 2.0
41 stars 70 forks source link

jfxrt.jar missing from openjdk 8 installation, resulting in failure to run MnistClassifier #83

Open chiaweilim opened 4 years ago

chiaweilim commented 4 years ago

Installation of oracle java jdk 8 comes with jfxrt.jar, so no issue.

As oracle installation required sign up and login, some might opt for option openjdk 8 , which missing of jfxrt.jar. Hence missing in SwingFXUtils dependency in running MnistClassifier.java

Environment : Windows javafx

How to reproduce:

  1. Download openjdk 8
  2. Run TrainingLabs and you should see the error happened as in the screenshot

Solution: Use openjfx (Find the workaround, update the repo and readme) https://gluonhq.com/products/javafx/

Tutorial to refer: https://developer.tizen.org/development/articles/openjdk-and-openjfx-installation-guide

chooneung commented 4 years ago

solution 1: install Oracle Java JDK 1.8

solution 2: Use intellij to install the BellSoft Liberica JDK 1.8 setup_guide may refer to IntelliJ & Java 1.8 section: https://docs.google.com/presentation/d/1ny61AjLI8yhJqkjV0AEYDq4vZ7hAnccaJzP4UgfHtpc/edit?usp=sharing