简体   繁体   English

为什么在 Windows 7 上尝试安装 Java SDK 时会收到错误消息?

[英]Why am I getting an error message when trying to install the Java SDK on Windows 7?

I installed the Eclipse IDE, but it said I needed to install an SDK in order for it to run.我安装了 Eclipse IDE,但它说我需要安装一个 SDK 才能运行它。 I downloaded it from Oracle, but had trouble getting it up and running.我从 Oracle 下载了它,但在启动和运行时遇到了麻烦。 I have Windows 7, and it says "exit code = 13".我有 Windows 7,它说“退出代码 = 13”。

I think you can do these steps:我认为您可以执行以下步骤:

1. Download JDK. e.g JDK 7. http://docs.oracle.com/javase/7/docs/webnotes/install/windows/jdk-installation-windows.html
2. Install it in your Windows
3. Check current version that is success or not by go to cmd and type: java -version
4. Start your Eclipse. 

If you still have error, Google it for the detail.如果仍然有错误,请谷歌以获取详细信息。 Hope this help.希望这有帮助。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 为什么我在尝试从文本文件中读取时收到错误消息“在java代码中未报告的异常Java.io”? - Why am I getting an error message “unreported exception Java.io in a java code when trying to read from a text file”? 为什么我在尝试更改代码时收到错误消息? - Why am I getting an error message while trying to code for change? 在 Java 中,为什么我在尝试显示 FileNotFoundException 时会收到 NullPointerException? - In Java, why am I getting a NullPointerException when trying to display a FileNotFoundException? 尝试在Java Spring中获取JSON时为什么会出现406错误? - Why am I getting a 406 error when trying to get JSON in Java Spring? 为什么在Java中出现有关Windows文件路径的错误? - Why am I getting an error about a Windows file path in Java? 为什么在尝试实现 ViewModel 时出现此错误? - Why am i getting this error when trying to Implement ViewModel? 为什么在尝试与我的服务器通信时出现此错误? - Why am i getting this error when trying to communicate with my server? 当我尝试从超级账本 java-sdk 连接到 docker 群中的区块链时,为什么会出现 TLS 握手错误? - Why am i getting TLS handshake error when i try to connect from hyperledger java-sdk to a blockchain in docker swarm? 为什么我会收到“错误:不是声明”消息? - why am i getting an “error: not a statement” message? 将对象添加到ArrayList时为什么出现此错误-Java - Why am I getting this error when adding object to ArrayList - Java
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM