Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
chiaweilim opened this issue Aug 1, 2020 · 1 comment
Assignees
Labels
bug Something isn't working critical Significant failures affecting the running of repository invalid This doesn't seem right

Comments

@chiaweilim
Copy link
Contributor

chiaweilim commented Aug 1, 2020

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

@chiaweilim chiaweilim added bug Something isn't working invalid This doesn't seem right critical Significant failures affecting the running of repository labels Aug 1, 2020
@chooneung
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working critical Significant failures affecting the running of repository invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants