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

Windows 7 Error: Unable to access jarfile #20

Description

@tpgit

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions