我的Eclipse IDE无法打开.我已将我的java更新到最新版本,我已经获得了最新的Eclipse版本.我正在运行x64 Windows,看起来错误日志正在尝试使用x32,但我已经安装了x64版本的Eclipse.我尝试重新安装x64版本,它仍然无法正常工作.
在Pastebin中,我链接的是Log的内容.
编辑:我正在使用x64位版本的Java
我遇到了一个奇怪的问题.
我试图让这个代码循环不断,直到用户输入4; 当用户输入4时,我想使它'Quit_Detect'设置为false.
出于某种原因,它不允许我这样做.代码仍然会循环,直到手动停止.
下面是我用于此程序的所有代码以及一些注释.
import java.util.Scanner; // Imports the scanner utility.
public class Start {
public static void main(String[] args) {
Scanner Reader = new Scanner(System.in); // Creates a new scanner.
@SuppressWarnings("unused")
boolean Quit_Detect;
Quit_Detect = true;
while (Quit_Detect = true)
{
int input; // States that input will have a datatype of 'int', or integer. Or, a whole number.
System.out.println("Please input your option.");
System.out.println("1. Door with a crack in it");
System.out.println("2. Normal Wooden Door");
System.out.println("3. Turn around");
System.out.println("4. …Run Code Online (Sandbox Code Playgroud)