Skip to content
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.

Windows 7 Error: Unable to access jarfile #20

Open
tpgit opened this issue May 8, 2014 · 3 comments
Open

Windows 7 Error: Unable to access jarfile #20

tpgit opened this issue May 8, 2014 · 3 comments
Labels

Comments

@tpgit
Copy link

tpgit commented May 8, 2014

My user name on Windows 7 has a space char in it. When I attempt to evaluate a form I get the following error:

Error: Unable to access jarfile "C:\Users\<user>\AppData\Local\LightTable\plugins\Clojure\runner\target\lein-light-standalone.jar"

See [Error accessing lein-light-standalone.jar after updating Clojure plugin](Error accessing lein-light-standalone.jar after updating Clojure plugin) for details

On Windows 7, calls to proc/exec should not wrap the args in quotes. In this case remove call to windows-escape from https://github.com/LightTable/Clojure/blob/master/src/lt/plugins/clojure.cljs#L819.

See Windows 7 "can't open file py-src\ltmain.py" error for details on why wrapping args in proc/exec calls is a bad idea even on Windows.

@julianchurchill
Copy link

I have this problem when my path has a space in it with LightTable 6.7 - I've installed into "Program Files" directory. When I try installing to a path without spaces it works ok. Also see this discussion on Google groups - https://groups.google.com/forum/#!topic/light-table-discussion/s_76oSBXVew

@x5lcfd
Copy link

x5lcfd commented Sep 10, 2014

@julianchurchill is right, the full path cannot take any space.

@cldwalker
Copy link
Member

I'm not on windows. Happy to take a verified pull from a windows user. If you're new to contributing, there's a contributing tutorial

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants