Giter Club home page Giter Club logo

Comments (1)

pmonks avatar pmonks commented on September 7, 2024

@rcarmo right now you have to use leiningen to run the examples - the Clojure command line tools (which provide the clj executable) won't download dependencies, as the project doesn't have a deps.edn file yet (aside: I have tried creating a deps.edn but haven't gotten it functioning yet - issue #49 captures this request).

Here's how I ran the hello world example from the openjdk branch:

Script started on Sat Oct 13 12:08:47 2018
bash-3.2$ java -version
openjdk version "11" 2018-09-25
OpenJDK Runtime Environment 18.9 (build 11+28)
OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode)
bash-3.2$ lein do version, deps, repl
Leiningen 2.8.1 on Java 11 OpenJDK 64-Bit Server VM
nREPL server started on port 61325 on host 127.0.0.1 - nrepl://127.0.0.1:61325
REPL-y 0.3.7, nREPL 0.2.12
Clojure 1.9.0
OpenJDK 64-Bit Server VM 11+28
    Docs: (doc function-name-here)
          (find-doc "part-of-name-here")
  Source: (source function-name-here)
 Javadoc: (javadoc java-object-or-class-here)
    Exit: Control+D or (exit) or (quit)
 Results: Stored in vars *1, *2, *3, an exception in *e

user=> (require '[getting-started.01-hello-word])
nil
user=> ; at this point a window appears, containing a single "Say 'Hello World'" button

user=> ; I click the button:

user=> Received Event:  {:say Hello World!, :fn-fx/includes {}}


user=> exit
Bye for now!
bash-3.2$ exit
exit
Script done on Sat Oct 13 12:10:00 2018

Would you mind giving this a go, and reporting back your results?

from fn-fx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.