因此,我尝试构建.rpm提供的文件。安装没有100%成功,所以我想卸载它并以简单的方式完成openjdk,但是现在我不能安装任何东西,因为linux告诉我jdk不在系统上。Linux试图删除它,但未能阻止我安装任何东西:
例如,如果我尝试
sudo apt install openjdk-7-jdk
它给了我这个:
0 upgraded, 38 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/62,5 MB of archives.
After
所以我尝试构建Oracle提供的.rpm文件。安装没有100%成功,所以我想卸载它,然后用openjdk的简单方法来完成它,但现在我什么都不能安装,因为linux告诉我jdk在系统上,而实际上jdk不在系统上。Linux试图删除它,但无法阻止我安装任何东西:
例如,如果我尝试
sudo apt install openjdk-7-jdk
它给了我这个:
0 upgraded, 38 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/62,5 MB
我正在尝试安装disutils来使用Cython,它需要python3-pip,根据以下内容:https://superuser.com/questions/1319047/cant-install-virtual-interpreter-in-pycharm-in-linux。
因此,当我尝试sudo apt install python3-pip时,一切看起来都很好,直到我到达:
Setting up oracle-java11-installer-local (11.0.5-1~linuxuprising0) ...
Before installing this package,
ple
我在ubuntu16.04上安装了Python3.6,并安装了sqlite3。在python2中,我可以成功地导入sqlite,但是在python3中,我得到了一个导入错误。我尝试了谷歌的许多方法,但仍然不起作用。我想知道如何解决这个问题。
Python 3.6.0 (default, Mar 13 2017, 06:38:19)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
我花了大部分时间在我的crunchbang发行版上安装java 7。我最初安装了OpenJDK,但在安装时遇到了问题。现在(以某种方式)排序了,但是现在我没有java 7或OpenJDK。我的java版本是:
matt@crunchbang:~$ java -version
java version "1.5.0"
gij (GNU libgcj) version 4.7.2
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying c
操作系统: macOS塞拉
Python 2.7.10
我正在尝试清理所有的python库。我正在尝试这样做,同时尝试解决这里提到的另一个问题
$ sudo pip freeze | xargs pip uninstall -y The directory '/Users/sa/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owne
今天我安装了Android,但是当我打开它时引发了错误:
“tools.jar”似乎不在Android类路径中。请确保JAVA_HOME指向JDK,而不是JRE。
我已经从Ubuntu安装了JDK,但是我决定删除它,然后按照这些指令命令行重新安装它。我所遵循的删除它的指南是这个答案、这和这。我如何卸载它?我知道它是为java -version和javac -version的输出安装的。
这里有任何信息:dpkg --list | grep -i jdk命令没有给出任何信息
java -version命令提供:
The program 'java' can be found in
我试着运行我的模块化的mc服务器。它在仙女堂上工作,但当我试图在ubuntu上运行它时,它会给出以下错误:
saif@Saif-Ubuntu:~/Desktop/Minecraft Server$ java -Xmx2048M -Xms2048M -jar forge-1.12.2-
14.23.5.2854.jar
A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.Native
cordova requirements android
结果:
Requirements check results for android:
Java JDK: installed 10.0.2
Android SDK: installed true
Android target: not installed
avdmanager: Command failed with exit code 1 Error output:
Error: Could not find or load main class com.android.sdklib.tool.AvdManagerCli
Gradl
下面是我安装zulu jdk的方式:
wget https://cdn.azul.com/zulu/bin/zulu18.32.13-ca-jdk18.0.2.1-linux_x64.tar.gz
mv zulu18.32.13-ca-jdk18.0.2.1-linux_x64.tar.gz /opt
cd /opt
tar -zxvf zulu18.32.13-ca-jdk18.0.2.1-linux_x64.tar.gz
vim ~/.bash_profile
export JAVA_HOME=/opt/zulu18.32.13-ca-jdk18.0.2.1-linux_x64
ex
昨天,我建立了Eclipse,并在其中创建了2个Java项目。我正在运行Eclipse4.7的Mac,氧气3A。今天,我在Eclipse应用程序中创建了一个别名,将其复制到Mac中的桌面,然后删除了这两个别名。之后,每当我尝试启动Eclipse时,我都会得到这样的错误:
An error occurred. See the log file /Users/<user>/eclipse-workspace/.metadata/.log.
请尽早告知我该做些什么,以便我可以继续工作。
我已经在Google中完成了所有步骤:
编辑/Library/Java/JavaVirtualM
最近,我从计算机上卸载了所有JDK,并安装了新的JDK。但我的Android Studio现在还没建好。并显示以下错误。
Error:The newly created daemon process has a different context than expected.
Java home is different.
Expecting: 'C:\Program Files\Android\Android Studio\jre' but was: 'C:\Program Files\Java\jdk1.8.0_121'.
Please configure
当我尝试用sudo apt-get remove jdk1.8.0-40删除Java时,我得到了以下内容:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
jdk1.8.0-40
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
我在一台专用linux服务器上运行的Rstudio上工作。初始化h2o时出现错误: > h2o.init()
H2O is not running yet, starting it now...
<simpleError in system2(command, "-version", stdout = TRUE, stderr = TRUE): error in running command>
Error in value[[3L]](cond) :
You have a 32-bit version of Java. H2O works best