我试图在系统中安装java,方法是按照页面中的说明:Java安装Instr Oracle
现在,当我输入java -version时,它给了我以下消息:
The program 'java' can be found in the following packages:
* default-jre
* gcj-5-jre-headless
* openjdk-8-jre-headless
* gcj-4.8-jre-headless
* gcj-4.9-jre-headless
* openjdk-9-jre-headless
Try: sudo apt inst
我试图在CentOS6.5上编译openjdk源代码,在运行make时得到了以下错误消息。如果有人能帮忙呢?提前谢谢。
软件版本: JDK: openjdk-7u40-fcs-src-b43-26_aug_2013操作系统: Linux 2.6.32-431.el6.x86_64
离开目录/usr/local/openjdk/build/linux-amd64-debug/hotspot/outputdir/linux_amd64_compiler2/jvmg' cd linux_amd64_compiler2/jvmg && ./test_gamma Using ja
在我的系统中卸载java有问题。我尝试过这个如何完全卸载爪哇?,但是我总是遇到同样的错误。
The following packages have unmet dependencies:
default-jre : Depends: openjdk-7-jre (>= 7~u3-2.1.1) but it is not going to be installed
default-jre-headless : Depends: openjdk-7-jre-headless (>= 7~u3-2.1.1) but it is not going to be installed
我如何解决这个问题。它还没有引起任何问题
Have no file for /usr/lib/jvm/java-6-openjdk-i386/jre/lib/netx.jar
Have no file for /usr/lib/jvm/java-6-openjdk-i386/jre/lib/plugin.jar
Linux操作系统
当我编译andriod 7.1.2的时候。我遇到了这个问题。我检查了我的openjdk版本。它是openjdk8。那么,另一种可能性是什么?
ninja: error: 'out/host/linux-x86/obj32/SHARED_LIBRARIES/libopenjdkjvm_intermediates/export_includes', needed by 'out/host/linux-x86/obj32/SHARED_LIBRARIES/libopenjdk_intermediates/import_includes', missing and no
我已经安装了Java-11-openjdk-amd64,并在usr/lib/jvm/Java-11-openjdk-amd64/bin/java、Scala 2.11.12和spark 2.2.0和hadoop 2.7中自动运行它,在我的桌面上,linux mint VM 19.2在windows 10上运行。打开spark-shell时出现错误: Failed to initialize compiler: object java.lang.Object in compiler mirror not found. 我还定义了主目录中.bashrc文件中的变量,如下所示: export J
我找到了这个,但我不能在Ubuntu上构建安卓项目。当我尝试的时候:
$ ant debug
我得到了:
Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-6-openjdk/lib/tools.jar
...
BUILD FAILED
/home/kuba/projects/Android/android-sdk-linux/tools/ant/build.xml:651: The following error occurred while executing this line:
/home/ku
我有Ubuntu16.04(32位)我有openjdk版本"1.8.0_121“
我从makefile中得到了一个错误:
You are attempting to build with the incorrect version
of java.
Your version is: openjdk version "1.8.0_121".
The correct version is: Java SE 1.6.
我试过了
sudo apt-get install openjdk-6-jdk
返回
openjdk-6-jdk has no installation ca
我有一台带有CentOS7的机器。默认的Java是
openjdk version "1.8.0_131"
OpenJDK Runtime Environment (build 1.8.0_131-b12)
OpenJDK 64-Bit Server VM (build 25.131-b12, mixed mode)
我想把这个换成
java version "1.8.0_51"
Java(TM) SE Runtime Environment (build 1.8.0_51-b16)
Java HotSpot(TM) 64-Bit Server VM (buil
我最近安装了Arch linux (技术上是antergos,但事情是一样的)。我最后还安装了java jdk 7、8和9。Eclipse现在经常无法启动。我更改了配置,因为它看起来需要Java 8,而它使用的是java 9。我还将线程数增加到20。我现在收到以下错误:
JVM terminated. Exit code=13
/usr/lib/java-8-openjdk/bin/java
-Dosgi.requiredJavaVersion=1.8
-XX:+UseG1GC
It goes on
-ws gtk
-arch x86_64
Goes on some more
-exitdat
我试着遵循这个链接来构建自己的JDK:
重述这些步骤如下:
hg克隆 YourOpenJDK
cd YourOpenJDK
bash ./get_source.sh .get
bash ./配置
使所有
在最后一步中,它显示了如下错误:
*** This OS is not supported: Linux compitition2 4.15.0-32-generic #35-Ubuntu SMP Fri Aug 10 17:58:07 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
/home/jon/Downloads/Open
我正试图在OpenSuse Leap 42.1中用cordova在我的设备上模拟一个应用程序。
但是当我试图用cordova run来模仿这个应用程序时,我得到了下面的错误:
cordova run
Running command: /home/soufraz/Projects/apps/myproject/platforms/android/cordova/run
ERROR: Error: Failed to run "java -version", make sure that you have a JDK installed.
You can get it from: