各位 Ubuntu 用户,大家好,
我正在尝试学习如何编写对 Minecraft 的修改。为了遵循我正在使用的教程,我需要运行“gradlew”。命令如下
./gradlew setupDecompWorkspace eclipse
Run Code Online (Sandbox Code Playgroud)
这产生以下
ERROR: JAVA_HOME is set to an invalid directory: /usr/local/java/jdk1.8.0_20
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.
Run Code Online (Sandbox Code Playgroud)
显然我不知道该怎么做,甚至不知道这意味着什么。任何帮助深表感谢。
我从亚马逊购买了这个网络适配器,我不知道如何安装驱动程序。适配器附带一张驱动程序 CD,当我放入它时,它有.autorun.exe autorun.ico autorun.csp、 和autorun.inf。
我知道它支持 Linux,因为当我将它们安装在我的 Windows(双引导)上时,它问我是否想要 Linux 驱动程序、Mac 或 Windows。
我该如何解决这个问题,它甚至是一个问题。
sudo fdisk -l
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000c5518
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 499711 248832 83 Linux
/dev/sda2 501758 1953523711 976510977 5 Extended
Partition 2 does not start on physical sector boundary.
/dev/sda5 501760 1953523711 …Run Code Online (Sandbox Code Playgroud) 我有几个 DVD-R 4.7 GB 磁盘,当我将它们输入我的计算机磁盘托盘时,Ubuntu 只能读取 2.0 KB。每个磁盘都不同,但它始终大约为 2.0 KB 左右,并且该包中的所有 50 个左右磁盘似乎都受到影响。我没有任何其他磁盘可以尝试检查我是否以某种方式设法获得了一个坏包,但在过去,在不同的 Ubuntu 安装中,这些磁盘工作得很好。我曾经用它们来刻录 Play Station 2 游戏。我还没有在另一台计算机上尝试这些磁盘,但我无法访问另一台计算机。
12.04 ×1
13.04 ×1
disk-usage ×1
drivers ×1
dvd ×1
eclipse ×1
fdisk ×1
hard-drive ×1
hardware ×1
java ×1
minecraft ×1
partitioning ×1
realtek ×1
wireless ×1
xubuntu ×1