Skip to content
This repository was archived by the owner on Sep 16, 2020. It is now read-only.
This repository was archived by the owner on Sep 16, 2020. It is now read-only.

Windows: Error: Illegal char <"> at index 0 #76

@blackjyn

Description

@blackjyn

I'm trying to compile the samples with the following env:

  • Windows x64
  • GraalVM v20
  • MSVC 2017

All are fine , I can even see that Graal has compiled the source to .class file under the target/ folder.
However when it tried to compile with native-image I got:
[Fri May 01 13:08:44 ICT 2020][INFO] We will now compile your code for x86_64-mi crosoft-windows. This may take some time. java.nio.file.InvalidPathException: Illegal char <"> at index 0: "D:\Repo\JavaFX \gluon-client-substrate-samples\Maven\HelloFXML\target\classes at java.base/sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.ja va:182) [INFO] ------------------------------------------------------------------------ at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:1 53) [INFO] BUILD FAILURE at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:7 7) at java.base/sun.nio.fs.WindowsPath.parse(WindowsPath.java:92) [INFO] ------------------------------------------------------------------------ at java.base/sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java :229)

So I then [in probably damn stupid way] tried to compile it manually using native-image to that resulted class location but no luck.

Solution?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions