Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows: launchIDE cannot find "code" despite being in the PATH #2653

Closed
sderosiaux opened this issue Jun 1, 2017 · 2 comments
Closed

Windows: launchIDE cannot find "code" despite being in the PATH #2653

sderosiaux opened this issue Jun 1, 2017 · 2 comments

Comments

@sderosiaux
Copy link

Hey,

On Windows, launchIDE fails because Java can't find "code" even if it's in the path.

java.io.IOException: Cannot run program "code": CreateProcess error=2, The system cannot find the file specified
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)

I've just tested, ProcessBuilder should launch "code.cmd" instead to make it work on Windows.

@smarter
Copy link
Member

smarter commented Jun 1, 2017

Thanks for the report! I'll make sure to fix this soon.

@smarter
Copy link
Member

smarter commented Jun 21, 2017

Fixed by #2776. You should be able to get launchIDE working on Windows if you use the latest nightly build of dotty (scalaVersion := "0.2.0-bin-20170620-1d05796-NIGHTLY" in your build) and the latest version of sbt-dotty (addSbtPlugin("ch.epfl.lamp" % "sbt-dotty" % "0.1.3") in project/plugins.sbt). Let me know if something is still broken!

@smarter smarter closed this as completed Jun 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants