0

i am trying to created a build in CloubBees BuildHive. my maven is using 1.7 JDK and when i try to build i am getting following exception

 [INFO] -------------------------------------------------------------
 [ERROR] COMPILATION ERROR : 
 [INFO] -------------------------------------------------------------
 [ERROR] Failure executing javac, but could not parse the error:
 javac: invalid target release: 1.7
 Usage: javac <options> <source files>
 use -help for a list of possible options

Anyone tell me how to change the JDK version ?

Rajmahendra
  • 3,092
  • 3
  • 31
  • 42

1 Answers1

0

Duplicate of Does buildhive from CloudBees have JDK 7 I think. It is on our to-do list to set JDK 7 as the default.

Community
  • 1
  • 1
Jesse Glick
  • 24,539
  • 10
  • 90
  • 112