当我打开Netbeans并启动程序时,它不会让我在终端中输入任何代码 [英] When I open Netbeans and start a program, it won't let me input any code into the terminal

查看:103
本文介绍了当我打开Netbeans并启动程序时,它不会让我在终端中输入任何代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这让我有些困惑,尽管这可能只是我正在犯的一个菜鸟错误.我对Python很有经验,尽管我一直在尝试并开始通过NetBeans使用Java.与使用简单的IDE的Python不同,我什至无法让NetBeans开始允许我将代码放入终端.这是我到目前为止的位置.

This is a little bit puzzling to me, although this could just be a rookie mistake I'm making. I'm experienced with Python, though I was trying to go ahead and start working with Java via NetBeans. Unlike Python, which had a simple IDE to work with, I can't quite get NetBeans to even start allowing me to put code into the terminal. Here's where I'm at so far.

我尝试卸载和下载NetBeans IDE,但似乎也遇到了同样的问题.有谁知道如何解决这个问题?这有点令人沮丧,我想我会在语法上遇到困难,而不是编译器本身.

I've tried uninstalling and downloading the NetBeans IDE, but I seem to have this exact same problem. Does anybody have any idea how to work around this? This is a little bit frustrating, and I thought I would be having difficulty with the syntax, not the complier itself.

推荐答案

尝试删除userdir.

来自 netbeans.org上的Wiki :

NetBeans用户目录是NetBeans用来存储用户配置数据的目录,例如窗口布局,编辑器设置,菜单和工具栏自定义以及各种模块设置.

The NetBeans userdir is a directory where NetBeans stores user configuration data such as window layouts, editor settings, menu and toolbar customizations and various module settings.

默认情况下,在Windows和Mac OS X上,用户目录位于应用程序设置文件夹中的NetBeans目录中.

By default on Windows and Mac OS X the userdir is inside a directory NetBeans in application settings folder.

在Windows上,可以在C:\Users\<username>\AppData\Roaming\

On Windows this can be found at C:\Users\<username>\AppData\Roaming\

在OS X上,该文件位于/Users/<username>/Library/Application Support/

On OS X this can be found at /Users/<username>/Library/Application Support/

此处看到一个相关问题.

这篇关于当我打开Netbeans并启动程序时,它不会让我在终端中输入任何代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆