我在启动 VMWare Player 时收到此错误消息。我想我有足够的可用空间 - 由于重要文件在这台机器上,我将不胜感激!
“/home/tacchino/vmware/Windows 10 x64”所在的文件系统可用空间严重不足。允许此虚拟机继续运行可能会导致它意外失败。VMware Player 已暂停此虚拟机,因为存储虚拟机的磁盘几乎已满。要继续,请额外释放 12.4 GB 磁盘空间。
为什么我的 java home 中同时看到 jdk 1.8 和 jdk 11?我怎样才能使 jdk 11 成为唯一使用的版本?
tacchino@tacchino-MS-7B79:~$ echo $JAVA_HOME
/app/lang/java/jdk1.8.0_64
tacchino@tacchino-MS-7B79:~$ echo $PATH
/app/lang/java/jdk1.8.0_64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" JAVA_HOME="/usr/lib/jvm/java-11-openjdk-amd64/bin/java:/snap/bin:/home/tacchino/bin:/usr/lib/jvm/jdk-11.0.7/bin
我已经安装了 openJDK,但希望默认使用常规 JDK 11(不是 OpenJDK)。我已采取的步骤:
1)java -version
openjdk 版本 "11.0.7" 2020-04-14 OpenJDK 运行时环境 (build 11.0.7+10-post-Ubuntu-2ubuntu219.10) OpenJDK 64-Bit Server VM (build 11.0.7+10-post-Ubuntu-2ubuntu219) .10,混合模式,共享)`
2)sudo apt-get install oracle-java11-set-default-local
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package oracle-java11-set-default-local is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'oracle-java11-set-default-local' has no installation
3)update-java-alternatives -l
java-1.11.0-openjdk-amd64 1111
/usr/lib/jvm/java-1.11.0-openjdk-amd64
4) 我是否可以将包安装程序设置为 /usr/lib/jvm/jdk-11.0.7,而不是 java-11-oracle?屏幕截图的顶部是我从 Oracle 网站下载的 .deb 文件。底部是保存在 /usr/lib/jvm 中的内容
请帮忙!我已经从这个站点下载了 Java SE JDK 的 .deb 版本:https ://www.oracle.com/java/technologies/javase-jdk11-downloads.html这个 .deb 文件保存在我的下载文件夹中。当我双击 Ubuntu 软件安装页面弹出的图标时,我点击安装,但它从未安装。
所以我再次按安装,它说你确定要删除它吗?如果我单击删除,它就会从 Ubuntu 软件中消失。我已经尝试过 sudo dpkg -i jdk-11.07_linux-x64_bin.deb
,但我得到“dpkg:错误:无法访问存档'jdk-11.07_linux-x64_bin.deb':没有这样的文件或目录”。
尝试使用终端安装时,我收到此错误:Oracle JDK 11 is NOT installed.
dpkg: error processing package oracle-java11-installer-local (--configure):
installed oracle-java11-installer-local package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
oracle-java11-installer-local
E: Sub-process /usr/bin/dpkg returned an error code (1)
java-11-oracle 目录中没有任何内容。我已经下载了 jdk-11.0.7_linux-x64_bin.tar.gz 并将其放入 /var/cache/oracle-jdk11-installer-local,但是现在当我运行 sudo add-apt-repository ppa:linuxuprising/java 我得到一个错误 Err:1 archive.ubuntu eoan InRelease 无法解析“archive.ubuntu”
我升级到最新版本的 Ubuntu (19.10),现在 VMware Player 在运行 VMware Kernel Module Updater 时将无法工作——“无法启动服务”。所以,我查看了日志文件(见下文)并看到最后一行 '2020-02-05T14:29:19.554-08:00| 主机-6114| W115: 无法构建 vmmon。无法执行构建命令。'。我认为这是问题所在(只有一个?)但在线搜索根本没有帮助。我尝试卸载 VMware 并重新安装,但没有成功。知道我需要做什么吗?
谢谢,瑞安
2020-02-05T14:29:16.794-08:00| host-6114| I125: Log for VMware Workstation pid=6114 version=15.1.0 build=build-13591040 option=Release
2020-02-05T14:29:16.794-08:00| host-6114| I125: The process is 64-bit.
2020-02-05T14:29:16.794-08:00| host-6114| I125: Host codepage=UTF-8 encoding=UTF-8
2020-02-05T14:29:16.794-08:00| host-6114| I125: Host is Linux 5.3.0-29-generic Ubuntu 19.10
2020-02-05T14:29:16.794-08:00| host-6114| I125: DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2020-02-05T14:29:16.794-08:00| host-6114| I125: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2020-02-05T14:29:16.794-08:00| host-6114| I125: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
2020-02-05T14:29:16.794-08:00| host-6114| I125: DictionaryLoad: Cannot open file "/home/tacchino/.vmware/config": No such file or directory.
2020-02-05T14:29:16.794-08:00| host-6114| I125: [msg.dictionary.load.openFailed] Cannot open file "/home/tacchino/.vmware/config": No such file or directory.
2020-02-05T14:29:16.794-08:00| host-6114| I125: PREF Optional preferences file not found at /home/tacchino/.vmware/config. Using default values.
2020-02-05T14:29:16.827-08:00| host-6114| W115: Logging to /tmp/vmware-root/vmware-6114.log
2020-02-05T14:29:16.846-08:00| host-6114| I125: Obtaining info using the running kernel.
2020-02-05T14:29:16.846-08:00| host-6114| I125: Created new pathsHash.
2020-02-05T14:29:16.846-08:00| host-6114| I125: Setting header path for 5.3.0-29-generic to "/lib/modules/5.3.0-29-generic/build/include".
2020-02-05T14:29:16.846-08:00| host-6114| I125: Validating path "/lib/modules/5.3.0-29-generic/build/include" for kernel release "5.3.0-29-generic".
2020-02-05T14:29:16.846-08:00| host-6114| I125: Failed to find /lib/modules/5.3.0-29-generic/build/include/linux/version.h
2020-02-05T14:29:16.846-08:00| host-6114| I125: /lib/modules/5.3.0-29-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2020-02-05T14:29:16.846-08:00| host-6114| I125: using /usr/bin/gcc-9 for preprocess check
2020-02-05T14:29:16.852-08:00| host-6114| I125: Preprocessed UTS_RELEASE, got value "5.3.0-29-generic".
2020-02-05T14:29:16.852-08:00| host-6114| I125: The header path "/lib/modules/5.3.0-29-generic/build/include" for the kernel "5.3.0-29-generic" is valid. Whoohoo!
2020-02-05T14:29:16.984-08:00| host-6114| I125: found symbol version file /lib/modules/5.3.0-29-generic/build/Module.symvers
2020-02-05T14:29:16.984-08:00| host-6114| I125: Reading symbol versions from /lib/modules/5.3.0-29-generic/build/Module.symvers.
2020-02-05T14:29:17.001-08:00| host-6114| I125: Read 23594 symbol versions
2020-02-05T14:29:17.001-08:00| host-6114| I125: Reading in info for the vmmon module.
2020-02-05T14:29:17.001-08:00| host-6114| I125: Reading in info for the vmnet module.
2020-02-05T14:29:17.001-08:00| host-6114| I125: Reading in info for the vmci module.
2020-02-05T14:29:17.001-08:00| host-6114| I125: Reading in info for the vsock module.
2020-02-05T14:29:17.001-08:00| host-6114| I125: Setting vsock to depend on vmci.
2020-02-05T14:29:17.001-08:00| host-6114| I125: Invoking modinfo on "vmmon".
2020-02-05T14:29:17.004-08:00| host-6114| I125: "/sbin/modinfo" exited with status 256.
2020-02-05T14:29:17.004-08:00| host-6114| I125: Invoking modinfo on "vmnet".
2020-02-05T14:29:17.007-08:00| host-6114| I125: "/sbin/modinfo" exited with status 0.
2020-02-05T14:29:17.007-08:00| host-6114| I125: Invoking modinfo on "vmci".
2020-02-05T14:29:17.009-08:00| host-6114| I125: "/sbin/modinfo" exited with status 256.
2020-02-05T14:29:17.009-08:00| host-6114| I125: Invoking modinfo on "vsock".
2020-02-05T14:29:17.014-08:00| host-6114| I125: "/sbin/modinfo" exited with status 0.
2020-02-05T14:29:17.031-08:00| host-6114| I125: to be installed: vmmon status: 0
2020-02-05T14:29:17.042-08:00| host-6114| I125: Obtaining info using the running kernel.
2020-02-05T14:29:17.042-08:00| host-6114| I125: Setting header path for 5.3.0-29-generic to "/lib/modules/5.3.0-29-generic/build/include".
2020-02-05T14:29:17.042-08:00| host-6114| I125: Validating path "/lib/modules/5.3.0-29-generic/build/include" for kernel release "5.3.0-29-generic".
2020-02-05T14:29:17.042-08:00| host-6114| I125: Failed to find /lib/modules/5.3.0-29-generic/build/include/linux/version.h
2020-02-05T14:29:17.042-08:00| host-6114| I125: /lib/modules/5.3.0-29-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2020-02-05T14:29:17.042-08:00| host-6114| I125: using /usr/bin/gcc-9 for preprocess check
2020-02-05T14:29:17.049-08:00| host-6114| I125: Preprocessed UTS_RELEASE, got value "5.3.0-29-generic".
2020-02-05T14:29:17.049-08:00| host-6114| I125: The header path "/lib/modules/5.3.0-29-generic/build/include" for the kernel "5.3.0-29-generic" is valid. Whoohoo!
2020-02-05T14:29:17.187-08:00| host-6114| I125: found symbol version file /lib/modules/5.3.0-29-generic/build/Module.symvers
2020-02-05T14:29:17.187-08:00| host-6114| I125: Reading symbol versions from /lib/modules/5.3.0-29-generic/build/Module.symvers.
2020-02-05T14:29:17.203-08:00| host-6114| I125: Read 23594 symbol versions
2020-02-05T14:29:17.205-08:00| host-6114| I125: Kernel header path retrieved from FileEntry: /lib/modules/5.3.0-29-generic/build/include
2020-02-05T14:29:17.205-08:00| host-6114| I125: Update kernel header path to /lib/modules/5.3.0-29-generic/build/include
2020-02-05T14:29:17.205-08:00| host-6114| I125: Validating path "/lib/modules/5.3.0-29-generic/build/include" for kernel release "5.3.0-29-generic".
2020-02-05T14:29:17.205-08:00| host-6114| I125: Failed to find /lib/modules/5.3.0-29-generic/build/include/linux/version.h
2020-02-05T14:29:17.205-08:00| host-6114| I125: /lib/modules/5.3.0-29-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2020-02-05T14:29:17.205-08:00| host-6114| I125: using /usr/bin/gcc-9 for preprocess check
2020-02-05T14:29:17.212-08:00| host-6114| I125: Preprocessed UTS_RELEASE, got value "5.3.0-29-generic".
2020-02-05T14:29:17.212-08:00| host-6114| I125: The header path "/lib/modules/5.3.0-29-generic/build/include" for the kernel "5.3.0-29-generic" is valid. Whoohoo!
2020-02-05T14:29:17.213-08:00| host-6114| I125: Found compiler at "/usr/bin/gcc"
2020-02-05T14:29:17.215-08:00| host-6114| I125: Got gcc version "9".
2020-02-05T14:29:17.215-08:00| host-6114| I125: The GCC version matches the kernel GCC minor version like a glove.
2020-02-05T14:29:17.217-08:00| host-6114| I125: Got gcc version "9".
2020-02-05T14:29:17.218-08:00| host-6114| I125: The GCC version matches the kernel GCC minor version like a glove.
2020-02-05T14:29:17.220-08:00| host-6114| I125: Trying to find a suitable PBM set for kernel "5.3.0-29-generic".
2020-02-05T14:29:17.220-08:00| host-6114| I125: No matching PBM set was found for kernel "5.3.0-29-generic".
2020-02-05T14:29:17.220-08:00| host-6114| I125: The GCC version matches the kernel GCC minor version like a glove.
2020-02-05T14:29:17.221-08:00| host-6114| I125: Validating path "/lib/modules/5.3.0-29-generic/build/include" for kernel release "5.3.0-29-generic".
2020-02-05T14:29:17.221-08:00| host-6114| I125: Failed to find /lib/modules/5.3.0-29-generic/build/include/linux/version.h
2020-02-05T14:29:17.221-08:00| host-6114| I125: /lib/modules/5.3.0-29-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2020-02-05T14:29:17.221-08:00| host-6114| I125: using /usr/bin/gcc-9 for preprocess check
2020-02-05T14:29:17.227-08:00| host-6114| I125: Preprocessed UTS_RELEASE, got value "5.3.0-29-generic".
2020-02-05T14:29:17.227-08:00| host-6114| I125: The header path "/lib/modules/5.3.0-29-generic/build/include" for the kernel "5.3.0-29-generic" is valid. Whoohoo!
2020-02-05T14:29:17.227-08:00| host-6114| I125: The GCC version matches the kernel GCC minor version like a glove.
2020-02-05T14:29:17.227-08:00| host-6114| I125: Validating path "/lib/modules/5.3.0-29-generic/build/include" for kernel release "5.3.0-29-generic".
2020-02-05T14:29:17.227-08:00| host-6114| I125: Failed to find /lib/modules/5.3.0-29-generic/build/include/linux/version.h
2020-02-05T14:29:17.227-08:00| host-6114| I125: /lib/modules/5.3.0-29-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2020-02-05T14:29:17.227-08:00| host-6114| I125: using /usr/bin/gcc-9 for preprocess check
2020-02-05T14:29:17.234-08:00| host-6114| I125: Preprocessed UTS_RELEASE, got value "5.3.0-29-generic".
2020-02-05T14:29:17.234-08:00| host-6114| I125: The header path "/lib/modules/5.3.0-29-generic/build/include" for the kernel "5.3.0-29-generic" is valid. Whoohoo!
2020-02-05T14:29:17.234-08:00| host-6114| I125: Using temp dir "/tmp".
2020-02-05T14:29:17.238-08:00| host-6114| I125: Obtaining info using the running kernel.
2020-02-05T14:29:17.238-08:00| host-6114| I125: Setting header path for 5.3.0-29-generic to "/lib/modules/5.3.0-29-generic/build/include".
2020-02-05T14:29:17.238-08:00| host-6114| I125: Validating path "/lib/modules/5.3.0-29-generic/build/include" for kernel release "5.3.0-29-generic".
2020-02-05T14:29:17.238-08:00| host-6114| I125: Failed to find /lib/modules/5.3.0-29-generic/build/include/linux/version.h
2020-02-05T14:29:17.238-08:00| host-6114| I125: /lib/modules/5.3.0-29-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2020-02-05T14:29:17.238-08:00| host-6114| I125: using /usr/bin/gcc-9 for preprocess check
2020-02-05T14:29:17.243-08:00| host-6114| I125: Preprocessed UTS_RELEASE, got value "5.3.0-29-generic".
2020-02-05T14:29:17.243-08:00| host-6114| I125: The header path "/lib/modules/5.3.0-29-generic/build/include" for the kernel "5.3.0-29-generic" is valid. Whoohoo!
2020-02-05T14:29:17.375-08:00| host-6114| I125: found symbol version file /lib/modules/5.3.0-29-generic/build/Module.symvers
2020-02-05T14:29:17.375-08:00| host-6114| I125: Reading symbol versions from /lib/modules/5.3.0-29-generic/build/Module.symvers.
2020-02-05T14:29:17.391-08:00| host-6114| I125: Read 23594 symbol versions
2020-02-05T14:29:17.391-08:00| host-6114| I125: Invoking modinfo on "vmmon".
2020-02-05T14:29:17.395-08:00| host-6114| I125: "/sbin/modinfo" exited with status 256.
2020-02-05T14:29:18.125-08:00| host-6114| I125: Setting destination path for vmmon to "/lib/modules/5.3.0-29-generic/misc/vmmon.ko".
2020-02-05T14:29:18.125-08:00| host-6114| I125: Extracting the vmmon source from "/usr/lib/vmware/modules/source/vmmon.tar".
2020-02-05T14:29:18.135-08:00| host-6114| I125: Successfully extracted the vmmon source.
2020-02-05T14:29:18.135-08:00| host-6114| I125: Building module with command "/usr/bin/make -j16 -C /tmp/modconfig-hPYqox/vmmon-only auto-build HEADER_DIR=/lib/modules/5.3.0-29-generic/build/include CC=/usr/bin/gcc IS_GCC_3=no"
2020-02-05T14:29:19.554-08:00| host-6114| W115: Failed to build vmmon. Failed to execute the build command.
我将 Ubuntu 作为主机运行,将 Windows 10 作为虚拟机运行。我尝试安装来宾添加,但我不确定它是否成功。我的 Windows 10(来宾 VM)上有一个名为来宾添加的文件夹。我需要运行这个安装文件来挂载它吗?
在 Windows 10 来宾 VM 中,我在 CD DRIVE (D:) 下看到CCCOMA_X64FRE_EN-US_DV9
. 不知道这是什么所以也许它是客人添加文件?
设备:
我正在关注这篇文章 ,并且能够增加磁盘大小,但现在我需要执行最后一步:
要使用这个未分配的空间,首先禁用交换分区。右键单击 linux-swap 分区并选择 swapoff。
但是.. 我想我需要创建一个分区,因为我目前没有那个视图。它说如果我创建一个数据,我将删除所有数据.. 我该怎么办?!提前非常感谢...
分割: