
之前自学用的eclipse没发现问题,开学要求在终端里操作发现javac编译时出现错误:
The operation couldn’t be completed. Unable to locate a Java Runtime that supports javac.
Please visit http://www.java.com/ for information on installing Java.
(刚刚大二,自己查了两天资料也没解决,明天还有相关课程,求搭救。也欢迎远程帮助解决问题,可有偿,感谢。)