Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Build failed with an exception java 13

Hi All,

I need help with below issue …i’m getting in jenkins one of job i’m running

Gradle version :- 4.5 i’m using in server
java version :- 1.8 and 13 both using in jenkins and also in server and for below task i’m using java8 version to run but when i execute the job in jenkins it showing java13 in logs and java13 version i’m for other job in jenkins

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine java version from '13'.

As you can see below jenkins job showing logs is using jdk-13 it should use java1.8
Even i have use different gradle version also 6.7 in that case also it showing same error

[Netbanking] $ /bin/sh -xe /tmp/
+ echo /opt/jdk/jdk-13
/opt/jdk/jdk-13  ===> because of this showing my job is failing it should show java1.8
+ which java
+ java -version
java version "1.8.0_291"
Java(TM) SE Runtime Environment (build 1.8.0_291-b10)
Java HotSpot(TM) 64-Bit Server VM (build 25.291-b10, mixed mode)

Below is the details in server i'm using
Two path showing in server
ls /opt/jdk/jdk1.8.0_291
ls /opt/java/openjdk/

Below is the path of java which using in jenkins 
root@bfdbda8e4489:/# ls /opt/jdk
jdk-13	jdk-15	jdk1.8.0_291  

Different version using for different jenkins jobs

1 answer

yes its already been configure in Global Tool Configuration with multiple java version has been added and in project i have selected java 8 to run my job and its again fail

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Continuous Delivery

Our Atlassian Partners continue to support their customers during coronavirus pandemic

Across the world, governments and healthcare authorities are demonstrating the power of collaboration to find solutions to the COVID-19 pandemic, to protect our communities, and to get things back to...

1,953 views 2 17
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you