//参考
https://www.php.cn/faq/416290.html
安装jdk,软件中有,记住路径
配置环境变量
运行简单例子
public class SumOfNumbers {
public static void main(String[] args) {
int sum = 0;
for (int i = 1; i <= 100; i++) {
sum += i;
}
System.out.println("sum: " + sum);
}
}
标签:www,java,int,sum,配置,环境,public From: https://www.cnblogs.com/139jz-cn/p/18053392