Oi gente!
No meu caso o jogo não roda na JVM
O programa não roda!, mas compilou, aqui está o resultado, inclusive roda no REPL, mas tambem ao fazer lein run faz o seguinte :
C:\Users\Cremildo Vostro\forca>lein run
Vidas 6
_ _ _ _ _ _ _ _
E para definitivamente aqui!
A seguir está o resultado do lein uberjar:
C:\Users\Cremildo Vostro\forca>lein uberjar
Created C:\Users\Cremildo Vostro\forca\target\forca-0.1.0-SNAPSHOT.jar
Including forca-0.1.0-SNAPSHOT.jar
Including clojure-1.4.0.jar
Created C:\Users\Cremildo Vostro\forca\target\forca-0.1.0-SNAPSHOT-standalone.jar
Ao tentar rodar lanca a seguite exception, que parece tem a ver com o JVM:
C:\Users\Cremildo Vostro\forca\target>java -jar forca-0.1.0-SNAPSHOT.jar
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.NoClassDefFoundError: clojure/lang/IFn
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.privateGetMethodRecursive(Unknown Source)
at java.lang.Class.getMethod0(Unknown Source)
at java.lang.Class.getMethod(Unknown Source)
at sun.launcher.LauncherHelper.validateMainClass(Unknown Source)
at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)
Caused by: java.lang.ClassNotFoundException: clojure.lang.IFn
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 7 more