-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
I've installed the wdk-v0.4.2 on windows. I'm running under git bash using modifications to the wy
script that I submitted as a pull request. When I try to run any actual command I get an exception. For example:
$ wy run merge_sort.whiley main
WARNING: version numbering unavailable
internal failure: Files\wdk-v0.4.2\lib\wystd-v0.2.3.jar
java.nio.file.NoSuchFileException: Files\wdk-v0.4.2\lib\wystd-v0.2.3.jar
at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:85)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
at java.base/sun.nio.fs.WindowsFileAttributeViews$Basic.readAttributes(WindowsFileAttributeViews.java:53)
at java.base/sun.nio.fs.WindowsFileAttributeViews$Basic.readAttributes(WindowsFileAttributeViews.java:38)
at java.base/sun.nio.fs.WindowsFileSystemProvider.readAttributes(WindowsFileSystemProvider.java:194)
at java.base/java.nio.file.Files.readAttributes(Files.java:1763)
at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1222)
at java.base/java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:726)
at java.base/java.util.zip.ZipFile$CleanableResource.get(ZipFile.java:843)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:246)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:176)
at java.base/java.util.jar.JarFile.<init>(JarFile.java:346)
at java.base/java.util.jar.JarFile.<init>(JarFile.java:317)
at java.base/java.util.jar.JarFile.<init>(JarFile.java:283)
at wyfs.util.JarFileRoot.refresh(JarFileRoot.java:59)
at wyfs.util.JarFileRoot.<init>(JarFileRoot.java:38)
at wyc.util.AbstractProjectCommand.addBootpath(AbstractProjectCommand.java:240)
at wyc.util.AbstractProjectCommand.initialiseProject(AbstractProjectCommand.java:211)
at wyc.command.Run.execute(Run.java:85)
at wyc.command.Run.execute(Run.java:44)
at wycc.WyMain.main(WyMain.java:105)
Note that I had the wdk installed at D:\\Program Files\wdk-v0.4.2\lib\wystd-v0.2.3.jar
. It appears the space in the file name is the cause of the issue.
I've moved the install to a path without any spaces and that seems to have worked around this issue for now.
Metadata
Metadata
Assignees
Labels
No labels