skip to Main Content

Can't execute java program on CentOS 7

Follow this guide to test JIRA performance: https://github.com/atlassian/jira-performance-tests/blob/master/docs/tests/ON_PREMISE.md Installed JAVA by: $ sudo yum install java-11-openjdk-devel Use this way got installed JAVA path: $ update-alternatives --config java java-11-openjdk.x86_64 (/usr/lib/jvm/java-11-openjdk-11.0.5.10-0.el7_7.x86_64/bin/java) Set /usr/lib/jvm/java-11-openjdk-11.0.5.10-0.el7_7.x86_64/bin/java to ~/.bash_profile as env variable: export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-11.0.5.10-0.el7_7.x86_64/bin/java Source file:…

VIEW QUESTION

Classpath for java openjdk version "1.8.0_232" – CentOS

when i try to run spark-shell i am getting the following error: /root/apache-spark/spark-2.3.0-bin-without-hadoop/bin/spark-class: line 71: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.51-1.b16.el7_1.x86_64/bin/java: No such file or directory I have exported the java path: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.232.b09-0.el7_7.x86_64/jre/bin/java The above error is regarding java classpath. I need to export java…

VIEW QUESTION

spring-boot-maven-plugin:2.0.0.RELEASE:repackage failed: Unable to rename – CentOS

I use command: mvn package to package my project, and the pom.xml as follows: <build> <defaultGoal>compile</defaultGoal> <resources> <resource> <directory>src/main/resources</directory> </resource> </resources> <plugins> <plugin> <artifactId>maven-assembly-plugin</artifactId> <configuration> <descriptorRefs> <descriptorRef>jar-with-dependencies</descriptorRef> </descriptorRefs> <archive> <manifest> <mainClass/> </manifest> </archive> </configuration> <executions> <execution> <id>make-assembly</id> <phase>package</phase> <goals> <goal>single</goal>…

VIEW QUESTION
Back To Top
Search