我已经将服务器更新到JDK 1.7.0-51。但是当我尝试在glassfish中启动domain1时,控制台显示
JVM failed to start: java.io.IOException: Cannot run program "/usr/java/jdk1.7.0_51/bin/java" (in directory "/home/glassfish/glassfish4/glassfish/domains/domain1/config"): error=13, Permiso denegado
当我尝试使用其他已安装的versión jdk 1.7.
有些人使用NetBeans来跟踪和调试JDK9。但是,我必须使用GDB来跟踪源代码,查看JDK/Hotspot代码的控制流,因为我使用ssh访问服务器上的源代码,并且不能使用GUI/IDE。
我遵循JDK正式文档中的Buildme.md配置JDK9,
bash ./configure --with-debug-level=slowdebug --with-target-bits=64 --disable-warnings-as-errors
然后,
make all
我得到了定制的debug版本:
/images/jdk/bin/java -version
openjdk version
我使用的是亚马逊ec2 Linux服务器。我在Jenkins管道输出中得到以下错误。
No compiler is provided in this environment Perhaps you are running on a JRE rather than a JDK
我尝试在服务器上运行该命令,它工作正常。我已经在全局工具配置中将JDK和MVN安装更新到我的linux路径,但是我仍然收到这个错误。
在我的jenkins机器上,据我所知,我有两个Java安装:
[1041][root@server:/tmp]$ alternatives --display java
java - status is manual.
link currently points to /logiciels/jdk/jdk1.7.0_76_Linux_64bits/jre/bin/java
/usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java - priority 16000
我只将jdk 7配置为可以在我的作业中使用。但是,当我完成自由泳的任务时,我总能得到
Caus
我正在尝试构建JDK8,但我有一个错误:
Building OpenJDK for target 'default' in configuration 'linux-x86_64-normal-server-release'
## Starting langtools
/bin/sh: ligne 0 : cd: /home/damien/jdk8/langtools/make: Aucun fichier ou dossier de ce type
/home/damien/jdk8//make/Main.gmk:83: recipe for target
下面是我安装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
root@sotiris-X556UQK:~# sudo apt-get clean && sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of
我试着在三星Chromebook Series3上安装Android Studio,但我坚持使用Java。任何帮助都将不胜感激。
Downloaded and extracted Android Studio
Downloaded and extracted Java 1.7.0_21 JDK ARM
Completed the below commands except the javaws commands as they error-ed out doesn't exist
tar xzvf ~/Downloads/jdk-7u21-linux-arm.tar.gz sudo
我有一个jenkins作业,它调用gradle脚本。在这项工作中,我首先有一个shell脚本:
此脚本应调整文件local.properties。如您所见,我还为Java添加了两个系统变量的导出。
在这个shell脚本之后,我像这样运行gradle
但在运行此作业时,我收到错误消息
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileProdReleaseJavaWithJavac'.
> Could no
我尝试在ubuntu11.04中安装java,我下载了"jdk-1_5__22-linux-i586.bin“,为此我使用了教程和
# sudo mv jdk-1_5_0_22-linux-i586.bin /usr/lib/jvm
# cd /usr/lib/jvm
# chmod +x jdk-1_5_0_22-linux-i586.bin
# ./jdk-1_5_0_22-linux-i586.bin
当我执行命令# ./jdk-1_5_0_22-linux-i586.bin时,我得到了以下错误消息
Do you agree to the above license terms?
当我将ssh放入我的EC2实例并运行以下命令时,我的SpringServer.jar文件将执行,我可以通过访问myawsaccount:8080/times来访问Spring应用程序。当我在用户数据中指定以下命令时,我无法在myawsaccount:8080/times访问我的应用程序,我也不知道为什么。任何帮助都将不胜感激。
命令
#!/bin/bash --> only in user script
sudo su
wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=acc
我需要从源代码交叉编译这个OpenJava叉 -对于aarch64-linux-gnu devkit目标:为此我安装了java10.0.2作为主机JDK,然后运行“./”。
└─$ ./configure
...
configure: Potential Boot JDK found at /home/katya/java is incorrect JDK version (Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true); ignoring
configure: (Your B
我使用的是RHEL6.5,并按照进行。
在ambari服务器设置过程中,我收到关于jdk安装的错误(第一次和连续尝试)。
ambari-server setup
Using python /usr/bin/python2.6
Setup ambari-server
Checking SELinux...
SELinux status is 'enabled'
SELinux mode is 'permissive'
WARNING: SELinux is set to 'permissive' mode and temporarily disa