Okay, it's a GNU classpath problem, as they don't include sun.* namespaces. Sadly javax.script.ScriptEngineManager is available and returns an impl of javax.script.Scriptable, which refers to some rhino engine that is in the classpath, but the concrete needed sun.org.mozilla.internals.Context is not in GNU classpath.
Switching from OpenJDK to Oracle JDK solved the problem On Jul 21, 2:37 am, David Soria <experimentalwo...@googlemail.com> wrote: > Hi, I try to run ClojureScript rev > e4ad8ed60ca05645e0ac96362d4c6ef1e1a2bd6f > > my environment is: > Fedora Linux 15 > java version "1.6.0_22" > OpenJDK Runtime Environment (IcedTea6 1.10.2) (fedora-58.1.10.2.fc15- > x86_64) > OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode) > > After bootstrapping, I try to run the repl and load the cljs compiler. > I get this error: > > Clojure 1.3.0-beta1 > user=> (require '[cljs.compiler :as comp]) > CompilerException java.lang.RuntimeException: > java.lang.ClassNotFoundException: > sun.org.mozilla.javascript.internal.Context, compiling:(cljs/ > compiler.clj:919) > > Rhino is installed and correctly loaded into the classpath. > $ yum info rhino > Loaded plugins: langpacks, presto, refresh-packagekit > Installed Packages > Name : rhino > Arch : noarch > Version : 1.7 > > This looks like a problem with the sun.org.mozilla.javascript.internal > package. This is part of sun-jdk and not of openjdk. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en