I am trying to build CKEditor from the sources.
I've cloned the GIT reporitory and launched the build.sh
Here is the stacktrace I get :
./dev/builder/build.sh CKBuilder - Builds a release version of ckeditor-dev. Downloading CKBuilder... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 6537k 100 6537k 0 0 169k 0 0:00:38 0:00:38 --:--:-- 185k Starting CKBuilder... Exception in thread "main" org.mozilla.javascript.EvaluatorException: Couldn't read source file "lib/json/json2.js": lib/json/json2.js (No such file or directory). (/home/wiktor/CKBuilder/src/ckbuilder.js#72) at org.mozilla.javascript.DefaultErrorReporter.runtimeError(DefaultErrorReporter.java:77) at org.mozilla.javascript.Context.reportRuntimeError(Context.java:913) at org.mozilla.javascript.Context.reportRuntimeError(Context.java:969) at org.mozilla.javascript.tools.shell.Global.load(Global.java:251) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126) at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:386) at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:63) at ckbuilder.ckbuilder._c_anonymous_3(/home/wiktor/CKBuilder/src/ckbuilder.js:72) at ckbuilder.ckbuilder.call(/home/wiktor/CKBuilder/src/ckbuilder.js) at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32) at ckbuilder.ckbuilder._c_script_0(/home/wiktor/CKBuilder/src/ckbuilder.js:93) at ckbuilder.ckbuilder.call(/home/wiktor/CKBuilder/src/ckbuilder.js) at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394) at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091) at ckbuilder.ckbuilder.call(/home/wiktor/CKBuilder/src/ckbuilder.js) at ckbuilder.ckbuilder.exec(/home/wiktor/CKBuilder/src/ckbuilder.js) at org.mozilla.javascript.optimizer.OptRuntime$1.run(OptRuntime.java:218) at org.mozilla.javascript.Context.call(Context.java:489) at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:504) at org.mozilla.javascript.optimizer.OptRuntime.main(OptRuntime.java:206) at ckbuilder.ckbuilder.main(/home/wiktor/CKBuilder/src/ckbuilder.js)
Any idea ?
What OS and exact Java
What OS and exact Java version are you using? What kind of Java it is (OpenJDK?)?
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
I should have thought to
I should have thought to provide this information, sorry ...
OS : Mac OSX (Yosemite)
Java :
I'm pretty sure it's an Oracle JDK, but I haven't found how to effectively check it.
It looks like you recently
It looks like you recently updated the OS? Could you try upgrading Java to the latest version to make sure that the Java itself is fine?
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Indeed I've updated recently
Indeed I've updated recently the OS.
I have never tried to build CKEditor before.
I tried without success with the following :
It worked without troubles for my colleague who has a similar environment to mine (Mac OSX Yosemite + JDK 1.8).