我已经将服务器更新到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.
我使用的是亚马逊ec2 Linux服务器。我在Jenkins管道输出中得到以下错误。
No compiler is provided in this environment Perhaps you are running on a JRE rather than a JDK
我尝试在服务器上运行该命令,它工作正常。我已经在全局工具配置中将JDK和MVN安装更新到我的linux路径,但是我仍然收到这个错误。
最初,我在Tomcat9上安装了jdk10。我无法运行任何动态网络项目,因为出现了以下错误:
-Djava.endorsed.dirs=/usr/local/src/apache-tomcat-8.5.31/endorsed is not supported. Endorsed standards and standalone APIs
in modular form will be supported via the concept of upgradeable modules.
Error: Could not create the Java Virtual Machine.
Error:
我试着在三星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
我下载了。我按照安装说明操作,但终端显示以下内容:
Configuring the installer...
Searching for JVM on the system...
Extracting installation data...
Installer file /home/jiangkai/netbeans-7.2.1-ml-linux.sh seems to be corrupted
我遇到的问题是什么?
我使用CentOS(6.3)并安装了jdk7u11。
我正在尝试在我的Linux CentOS 5.9服务器上安装MapServer,但仍然得到相同的错误。
checking if --with-java-include-os-name specified... no, autodetected linux
checking for javac... /usr/bin/javac
checking symlink for /usr/bin/javac... /etc/alternatives/javac
checking symlink for /etc/alternatives/javac... /usr/lib/jvm/java-1.4.2-
我是Linux新手,有人能帮我从终端安装软件吗?
我试图在终端中输入命令来安装java。
sudo apt-get install openjdk-7-jdk
但我会犯错,
E:Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E:Unable to lock the administration directory (/var/lib/dpkg/), are you root?
我也试过根
su -
但是它说密码不正确,那么什么是根呢?
提前感谢你们的帮助。
在我的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
我需要从源代码交叉编译这个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
我在linux服务器RHEL7中安装了jdk1.8.0_161。我无法检查java版本,因为"/usr/bin/javac: /lib/ld-linux.so.2:错误的ELF解释器:没有这样的文件或目录“
下面是我安装jdk所遵循的步骤:
cd /opt/jdk1.8.0_161/
alternatives --install /usr/bin/java java /opt/jdk1.8.0_161/bin/java 2
alternatives --config java
There is 1 program that provides 'java'.
Se