{"action":"created","issue":{"url":"https://api.github.com/repos/fizzed/blaze/issues/2","repository_url":"https://api.github.com/repos/fizzed/blaze","labels_url":"https://api.github.com/repos/fizzed/blaze/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/fizzed/blaze/issues/2/comments","events_url":"https://api.github.com/repos/fizzed/blaze/issues/2/events","html_url":"https://github.com/fizzed/blaze/issues/2","id":178495654,"number":2,"title":"Compiler path error","user":{"login":"aplatypus","id":67028,"avatar_url":"https://avatars.githubusercontent.com/u/67028?v=3","gravatar_id":"","url":"https://api.github.com/users/aplatypus","html_url":"https://github.com/aplatypus","followers_url":"https://api.github.com/users/aplatypus/followers","following_url":"https://api.github.com/users/aplatypus/following{/other_user}","gists_url":"https://api.github.com/users/aplatypus/gists{/gist_id}","starred_url":"https://api.github.com/users/aplatypus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aplatypus/subscriptions","organizations_url":"https://api.github.com/users/aplatypus/orgs","repos_url":"https://api.github.com/users/aplatypus/repos","events_url":"https://api.github.com/users/aplatypus/events{/privacy}","received_events_url":"https://api.github.com/users/aplatypus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-22T00:42:34Z","updated_at":"2016-09-22T12:15:47Z","closed_at":null,"body":"I used wget to download the `blaze` jar file on Windows:\r\n\r\n    wget -O blaze.jar 'http://repo1.maven.org/maven2/com/fizzed/blaze-lite/0.14.0/blaze-lite-0.14.0.jar'\r\n\r\nAnd made the example \"hello world\" Java file in the same directory.  I set JAVA_HOME to point to the Java 8 u102 JDK folder.  I get compile errors when I attempt to run hello world:\r\n\r\n        public class blaze {\r\n\r\n            public void main() {\r\n                System.out.println(\"Hello World!\");\r\n            }\r\n\r\n        }\r\n\r\nWhen I fire the Jar file I see this error ...\r\n*  [ERROR] **Unable to get or create path to compile classes**\r\n\r\nCommand line session \r\n\r\n        d:> DIR\r\n         Volume in drive D is win\r\n\r\n        22-Sep-2016  09:25         1,806,644 blaze.jar\r\n        22-Sep-2016  09:26               113 blaze.java\r\n\r\n        d:> echo %JAVA_HOME%\r\n        b:\\lang\\java\\jdk\\v1.8\\u102\\x64\r\n\r\n        d:> java -jar blaze.jar\r\n        [INFO] Resolving dependencies...\r\n        [INFO] Resolved dependencies in 14 ms\r\n        [INFO] Compiling script...\r\n        [ERROR] Unable to get or create path to compile classes\r\n        com.fizzed.blaze.core.BlazeException: Unable to get or create path to compile classes\r\n                at com.fizzed.blaze.jdk.BlazeJdkEngine.compile(BlazeJdkEngine.java:88)\r\n                at com.fizzed.blaze.jdk.BlazeJdkEngine.compile(BlazeJdkEngine.java:43)\r\n                at com.fizzed.blaze.core.Blaze$Builder.compileScript(Blaze.java:314)\r\n                at com.fizzed.blaze.core.Blaze$Builder.build(Blaze.java:322)\r\n                at com.fizzed.blaze.cli.Bootstrap.buildBlaze(Bootstrap.java:203)\r\n                at com.fizzed.blaze.cli.Bootstrap.run(Bootstrap.java:132)\r\n                at com.fizzed.blaze.cli.Bootstrap.run(Bootstrap.java:54)\r\n                at com.fizzed.blaze.cli.Bootstrap.main(Bootstrap.java:42)\r\n        Caused by: java.nio.file.NoSuchFileException: \\Users\\wmason\\.blaze\r\n                at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)\r\n                at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)\r\n                at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)\r\n                at sun.nio.fs.WindowsFileSystemProvider.createDirectory(Unknown Source)\r\n                at java.nio.file.Files.createDirectory(Unknown Source)\r\n                at com.fizzed.blaze.internal.ConfigHelper.userBlazeDir(ConfigHelper.java:138)\r\n                at com.fizzed.blaze.internal.ConfigHelper.userBlazeEngineDir(ConfigHelper.java:155)\r\n                at com.fizzed.blaze.internal.ConfigHelper.userBlazeEngineScriptClassesDir(ConfigHelper.java:182)\r\n                at com.fizzed.blaze.jdk.BlazeJdkEngine.compile(BlazeJdkEngine.java:76)\r\n                ... 7 more\r\n\r\nEvidently I need to set-up some further config or specify something more to get things running.\r\n\r\nAlso I've added the blaze plugin for Netbeans, but I can't see anything in the Netbeans Options to do any set-up for the plugin.\r\n\r\nThis issue seems like a documentation thing, it would be _nice_ though if it worked like the readme says.  "},"comment":{"url":"https://api.github.com/repos/fizzed/blaze/issues/comments/248886712","html_url":"https://github.com/fizzed/blaze/issues/2#issuecomment-248886712","issue_url":"https://api.github.com/repos/fizzed/blaze/issues/2","id":248886712,"user":{"login":"jjlauer","id":585730,"avatar_url":"https://avatars.githubusercontent.com/u/585730?v=3","gravatar_id":"","url":"https://api.github.com/users/jjlauer","html_url":"https://github.com/jjlauer","followers_url":"https://api.github.com/users/jjlauer/followers","following_url":"https://api.github.com/users/jjlauer/following{/other_user}","gists_url":"https://api.github.com/users/jjlauer/gists{/gist_id}","starred_url":"https://api.github.com/users/jjlauer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjlauer/subscriptions","organizations_url":"https://api.github.com/users/jjlauer/orgs","repos_url":"https://api.github.com/users/jjlauer/repos","events_url":"https://api.github.com/users/jjlauer/events{/privacy}","received_events_url":"https://api.github.com/users/jjlauer/received_events","type":"User","site_admin":false},"created_at":"2016-09-22T12:15:47Z","updated_at":"2016-09-22T12:15:47Z","body":"Can you give v0.14.1 a try?  Released it last night.\n\nOn Thu, Sep 22, 2016 at 2:36 AM, will <notifications@github.com> wrote:\n\n> OK that makes some sense -- This is windows 10 and we had user issues when\n> we first *down*-graded.\n>\n> The script should use one of the following...\n> APPDATA=C:\\Users\\wmason\\AppData\\Roaming\n> LOCALAPPDATA=C:\\Users\\wmason\\AppData\\Local\n> TEMP=z:\\$$$\\wmason\n> TMP=z:\\$$$\\wmason\n> USERPROFILE=C:\\Users\\wmason\n>\n> It looks like it is using:\n>\n>   HOMEPATH=\\Users\\wmason\n>\n> Which is setup by docker or by msys I think. For this kind of thing; I'd\n> think the appropriate place to compile to is the TMP area.\n>\n> I looked through the environment, windows 10 doesn't seem to have a \"home\"\n> it self. HOMEPATH is a linux compatibility thing, not for windows.\n>\n> —\n> You are receiving this because you commented.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/fizzed/blaze/issues/2#issuecomment-248824037>, or mute\n> the thread\n> <https://github.com/notifications/unsubscribe-auth/AAjwAi1i59tVd9kj0EWmDI3GVLEKSNj2ks5qsiHfgaJpZM4KDbAP>\n> .\n>\n"}}
{"actor":{"display_login":"jjlauer"}}