简体   繁体   中英

Error on IntelliJ IDE

Trying this IntelliJ IDE first time. I just created a Hello World one line Java program (from template included with IDE) and IDE is giving error.

Error:Module 'Hello World' production: java.net.URISyntaxException: Illegal character in path at index 61: file://C:/Users/Home/Programming/Workspace/IdeaProjects/Hello World

Same program in eclipse is running fine.

public class Main {

    public static void main(String[] args) {
        System.out.println("Hello World!");
    }
}

Framework: JDK 1.8

Remove space from "Hello World" folder name. You can rename it to "Hello_World"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM