Error executing module ev
nixnax opened this issue ยท 2 comments
"Error executing module events-canary"
First-time canarymod/scriptcraft user - for a 10-year old Goldilocks asking "Dad, can you teach me how to program?" (She LOVES Minecraft)
C:\Users\user\Downloads>systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
OS Name: Microsoft Windows 8.1
OS Version: 6.3.9600 N/A Build 9600
C:\Users\user\Downloads>java -version
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) Client VM (build 24.71-b01, mixed mode, sharing)
C:\Users\user\Downloads>java -jar canarymod.jar
Starting: CanaryMod 1.7.10-1.1.3-SNAPSHOT
Canary Path: /C:/Users/user/Downloads/canarymod.jar & Working From: C:\Users\user\Downloads
Found 1 plugins; total: 1
[21:34:25] [CanaryMod] [INFO]: Starting: CanaryMod 1.7.10-1.1.3-SNAPSHOT
[21:34:25] [CanaryMod] [INFO]: Canary Path: /C:/Users/user/Downloads/canarymod.jar & Working From: C:\Users\user\Downloads
[21:34:25] [net.minecraft.server.dedicated.DedicatedServer] [INFO]: Starting minecraft server version 1.7.10
[21:34:26] [CanaryMod] [INFO]: Enabling Plugins...
[21:34:26] [org.scriptcraftjs.canarymod.ScriptCraftPlugin] [ERROR]: Error evaluating scriptcraft\lib\scriptcraft.js: Error: Error executing module ev
ting module events-canary line #729 : javax.script.ScriptException: sun.org.mozilla.javascript.internal.EvaluatorException: missing name after . oper
Caused by: sun.org.mozilla.javascript.internal.JavaScriptException: Error: Error executing module events line #729 : Error evaluating module events-canary line #729 :
t.ScriptException: sun.org.mozilla.javascript.internal.EvaluatorException: missing name after . operator (<Unknown source>#45) in <Unknown source> at line number 45
undefined
> undefined
I seem to have self-solved the issue.
It was the java version.
Even though my web browser said that I had the latest java installed, I had to manually download and run the java "se" "runtime version" from here:
http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html
c:\Users\user\Downloads>java -version
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b18)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)
c:\Users\user\Downloads>java -jar canarymod.jar
Please wait while the libraries initialize...
Starting: CanaryMod 1.7.10-1.1.3-SNAPSHOT
Canary Path: /C:/Users/user/Downloads/canarymod.jar & Working From: C:\Users\user\Downloads
[02:21:57] [CanaryMod] [INFO]: Starting: CanaryMod 1.7.10-1.1.3-SNAPSHOT
[02:21:57] [CanaryMod] [INFO]: Canary Path: /C:/Users/user/Downloads/canarymod.jar & Working From: C:\Users\user\Downloads
[02:21:57] [CanaryMod] [INFO]: Found 1 plugins; total: 1
[02:21:57] [net.minecraft.server.dedicated.DedicatedServer] [INFO]: Starting minecraft server version 1.7.10
[02:21:57] [net.minecraft.server.dedicated.DedicatedServer] [INFO]: Starting Minecraft server on *:25565
[02:21:58] [CanaryMod] [INFO]: Enabling Plugins...
[02:21:59] [org.scriptcraftjs.canarymod.ScriptCraftPlugin] [INFO]: js-patch setTimeout() test complete
> js echo(self,"Hello ScriptCraft World");
[02:22:35] [CanaryMod] [INFO] [MESSAGE]: Hello ScriptCraft World