Skip to content

Supplied javaHome is not a valid folder #3

Closed
@ec-c

Description

@ec-c

When I run (do (require '[dev.clojurephant.tooling.figwheel-main :as fig]) (fig/start :dev)) in a REPL, I get the following error:

Execution error (IllegalArgumentException) at org.gradle.tooling.internal.consumer.parameters.ConsumerOperationParameters/validateJavaHome (ConsumerOperationParameters.java:287).
Supplied javaHome is not a valid folder. You supplied: \usr\lib\jvm\java-18-openjdk-amd64

I assume the problem are these JVM hard links:

(.setJavaHome (io/file "/usr/lib/jvm/java-18-openjdk-amd64"))

(.setJavaHome (io/file "/usr/lib/jvm/java-18-openjdk-amd64"))

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions