idea该怎么设置才能运行代码

跟网上学了怎么配置jdk然后还是无法无法运行helloworld

img

字符串类 String ,大写的S

Main方法中的string写错了,应该是首字母大写:

public static void main(String[] args) {
    System.out.println("hello world");
}

public static void main(String[] args) {

        System.out.println("Hello world!");
    }

string和args都写错了

1.S大写。
2.放弃java , 过来人的经验告诉你,转行是最正确的选择。