摘要: 当在命令行中遇到"无法将javac项识别为cmdlet函数"的错误时,通常是因为系统未正确配置Java开发工具包(JDK)的环境变量。 示例: 'javac' 不是内部或外部命令,也不是可运行的程序或批处理文件。 配置JAVA_HOME环境变量 首先,需要确保已安装JDK,并配置JAVA_HOME环 阅读全文
posted @ 2025-04-25 09:47 尼兰 阅读(522) 评论(0) 推荐(0)
摘要: 89页Exercise9 Write a program that demonstrates that autoboxing works for all the primitive types and their wrappers. public class AutoboxingDemo { pub 阅读全文
posted @ 2025-04-25 08:55 尼兰 阅读(10) 评论(0) 推荐(0)
摘要: 89页Exercise 8 Write a program that demonstrate that, no matter how many objects you create of a particular class, there is only one instance of a part 阅读全文
posted @ 2025-04-24 08:37 尼兰 阅读(10) 评论(0) 推荐(0)
摘要: 89页的习题1 Create a class containing an int and a char that are not initialized, and print their values to verify that Java performs default initializati 阅读全文
posted @ 2025-04-23 10:17 尼兰 阅读(15) 评论(0) 推荐(0)
摘要: 用vscode从gitlab上克隆代码下来,经常提示: remote: HTTP Basic: Access denied 用以下办法解决了: 如果账号密码有变动 用这个命令 git config –-system -–unset credential.helper 重新输入账号密码 应该就能解决了 阅读全文
posted @ 2021-08-30 17:52 尼兰 阅读(3064) 评论(0) 推荐(0)
摘要: 操作系统时 windows10 专业版。 部分窗口模糊,不局限于一些应用的窗口,windows本身的窗口也模糊。 在网上找到了解决方案,用的方法二,解决了qq、微信窗口显示模糊的情况。 原文地址: https://zhidao.baidu.com/question/43736872051442240 阅读全文
posted @ 2021-08-27 09:12 尼兰 阅读(1280) 评论(0) 推荐(0)
摘要: 方法1、如果jdk的类,都提示Cannot find declaration to goto,那么采用如下方式即可解决: 系统中已经有了该类库,还是找不到类提示 close the project in intellij. close intellij. go to the project fold 阅读全文
posted @ 2021-08-06 16:39 尼兰 阅读(461) 评论(0) 推荐(0)