code inspection complains about jdk1.4

Inspection output:
c:\j2sdk1.4.2_08\bin\java.exe -Dbuild.working.dir=[...]n55777result" -e -v3
java.lang.UnsupportedClassVersionError: com/intellij/idea/Main (Unsupported major.minor version 49.0)

How to fix this?
Where does the jdk path come from? JAVA_HOME?

4 comments
Comment actions Permalink

Hello Michael,

If you didn't configure other - from JAVA_HOME

(To use jdk other than default in your project you can specify jdk.=%%
properties)

Thank you

-


Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

Inspection output:

c:\j2sdk1.4.2_08\bin\java.exe -Dbuild.working.dir=[...]n55777result"
-e -v3

java.lang.UnsupportedClassVersionError: com/intellij/idea/Main
(Unsupported major.minor version 49.0)

How to fix this? Where does the jdk path come from? JAVA_HOME?



0
Comment actions Permalink

sorry, but I don't know where to configure this.
is it in some properties file?

0
Comment actions Permalink

Hello Michael,

To configure jdks for your project you may add system properties in Environment
variables and Properties configuration step.

But seems that you should specify another jdk (1.5) to use by agent itself.
I believe that it is configurable in buildAgent.properties file on agent.
(BUILD_AGENT_HOME/conf/buildAgent.properties)

Thank you

-


Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

sorry, but I don't know where to configure this.
is it in some properties file?



0
Comment actions Permalink

yes it was in BUILD_AGENT_HOME/conf/buildAgent.properties
this helped, thank you!

0

Please sign in to leave a comment.