[JAVA] A funny story stuck in a mess when trying to import fx-clj

The problem that occurred

If you put fx-clj (https://clojars.org/fx-clj) into: dependencies, do lein deps, and do (: require [fx-clj.core: as fx]) to repl, ** classpath I was angry with **.

Cause

Doesn't include javafx in the first place (that is, it doesn't mean that it doesn't have fx-clj)

Solution

According to the environment you are using

sudo yaourt -S jre8-openjdk
sudo pacman -S jdk8-openjdk
sudo pacman -S java-openjfx

And install the required packages

Lesson

Clojure is an image that sits on top of Java, so don't forget to note the Java environment. Also, to check if the package is installed, you can easily check by doing `lein deps: tree``` in the terminal or (all-ns) `` in repl.

Recommended Posts

A funny story stuck in a mess when trying to import fx-clj
A story that did not work when trying to handle events in Notification Center
I got stuck trying to write a where in clause in ActiveRecord
A story about trying to operate JAVA File
A memorandum when trying to create a GUI using JavaFX
A story about PKIX path building failed when trying to deploy to tomcat with Jenkins
A story about trying to get along with Mockito
A story about trying hard to decompile JAR files
A story I was addicted to in Rails validation settings
A story stuck with NotSerializableException
What to do if you get a JNI shared library error when trying to build in Eclipse
What to do when an UnsupportedCharsetException occurs in a lightweight JRE
A story of frustration trying to create a penetration environment on Ubuntu 20.04
A solution to Docker errors that beginners tend to get stuck in
I'm stuck trying to get my own annotations working in Eclipse
A story stuck with log output in Docker + Play framework environment
Get stuck in a Java primer
A little troublesome story in Groovy
The story of forgetting to close a file in Java and failing
A story I was addicted to when testing the API using MockMVC
A note of someone who stumbled when trying to create a Rails project
[Java small story] Monitor when a value is added to the List
How to pass a proxy when throwing REST over SSL in Java
A story about converting character codes from UTF-8 to Shift-jis in Ruby
How to reference a column when overriding the column name method in ActiveRecord
Notes on what to do when a WebView ClassNotFoundException occurs in JavaFX 12