Skip to content

lein serve fails with "The BROWSE action is not supported on the current platform!" #263

@jpt4

Description

@jpt4

Following the Cryogen docs [0], I initialized the default website, and attempted to serve it with lein serve.

The site built, and can be accessed by navigating to the index.html file with my browser (Chromium
112.0.5615.165). However, it cannot be accessed via localhost:3000, due to, I believe, the following error:

"Elapsed time: 984.893704 msecs"
Started server on port 3000
Execution error (UnsupportedOperationException) at java.awt.Desktop/checkActionSupport (Desktop.java:221).
The BROWSE action is not supported on the current platform!

System details:
GNU Guix System, Linux 6.2.14

java -version
openjdk version "1.8.0_292"
OpenJDK Runtime Environment (IcedTea 3.19.0) (guix build 1.8.0_292-b10)
OpenJDK 64-Bit Server VM (build 25.292-b10, mixed mode)

This might be an issue with IcedTea/my OpenJDK install, but I am reporting it here in case others have encountered the same issue.

[0] http://cryogenweb.org/docs/getting-started.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions