project jdk not found warning

..ipr builder issues a warning: "Warning: 1.6 - Project JDK not found"

I have jdk settings in TeamCity:
]]>

I've tried everything I could with buildAgents.properties file, so now
it contains the following:
jdk.1.6.home=C\:
Program Files
Java
jdk1.6.0
system.jdk.1.6.home=C\:
Program Files
Java
jdk1.6.0
env.jdk.1.6.home=C\:
Program Files
Java
jdk1.6.0
env.system.jdk.1.6.home=C\:
Program Files
Java
jdk1.6.0
1.6.home=C\:
Program Files
Java
jdk1.6.0
env.1.6.home=C\:
Program Files
Java
jdk1.6.0

:) but this didn't work out.

How exactly should I configure Project JDK?

Vitaly Berov

4 comments
Comment actions Permalink

Vitaly Berov wrote:

.ipr builder issues a warning: "Warning: 1.6 - Project JDK not found"

I have jdk settings in TeamCity:
<path id="jdk.1.6.classpath">
<fileset dir="%system.jdk.1.6.home%/jre/lib">
<include name="*.jar"/>
</fileset>
</path>

I've tried everything I could with buildAgents.properties file, so now
it contains the following:
jdk.1.6.home=C\:
Program Files
Java
jdk1.6.0
system.jdk.1.6.home=C\:
Program Files
Java
jdk1.6.0
env.jdk.1.6.home=C\:
Program Files
Java
jdk1.6.0
env.system.jdk.1.6.home=C\:
Program Files
Java
jdk1.6.0
1.6.home=C\:
Program Files
Java
jdk1.6.0
env.1.6.home=C\:
Program Files
Java
jdk1.6.0

:) but this didn't work out.

How exactly should I configure Project JDK?

Vitaly Berov


Can anybody help?

0
Comment actions Permalink

Vitaly Berov wrote:

Vitaly Berov wrote:

>> .ipr builder issues a warning: "Warning: 1.6 - Project JDK not found"
>>
>> I have jdk settings in TeamCity:
>> >> >> >> >> >> >> I've tried everything I could with buildAgents.properties file, so now >> it contains the following: >>]]> jdk.1.6.home=C\:
Program Files
Java
jdk1.6.0
>> system.jdk.1.6.home=C\:
Program Files
Java
jdk1.6.0
>> env.jdk.1.6.home=C\:
Program Files
Java
jdk1.6.0
>> env.system.jdk.1.6.home=C\:
Program Files
Java
jdk1.6.0
>> 1.6.home=C\:
Program Files
Java
jdk1.6.0
>> env.1.6.home=C\:
Program Files
Java
jdk1.6.0
>>
>> :) but this didn't work out.
>>
>> How exactly should I configure Project JDK?
>>
>> Vitaly Berov


Can anybody help?


This warning is harmless, can be ignored and will be
removed in the Agra release.

Regards,
KIR


--
Kirill Maximov
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

Kirill Maximov (JetBrains) wrote:

Vitaly Berov wrote:

>> Vitaly Berov wrote:
>>> .ipr builder issues a warning: "Warning: 1.6 - Project JDK not found"
>>>
>>> I have jdk settings in TeamCity:
>>> >>> >>> >>> >>> >>> >>> I've tried everything I could with buildAgents.properties file, so >>> now it contains the following: >>>]]> jdk.1.6.home=C\:
Program Files
Java
jdk1.6.0
>>> system.jdk.1.6.home=C\:
Program Files
Java
jdk1.6.0
>>> env.jdk.1.6.home=C\:
Program Files
Java
jdk1.6.0
>>> env.system.jdk.1.6.home=C\:
Program Files
Java
jdk1.6.0
>>> 1.6.home=C\:
Program Files
Java
jdk1.6.0
>>> env.1.6.home=C\:
Program Files
Java
jdk1.6.0
>>>
>>> :) but this didn't work out.
>>>
>>> How exactly should I configure Project JDK?
>>>
>>> Vitaly Berov
>>
>> Can anybody help?


This warning is harmless, can be ignored and will be
removed in the Agra release.

Regards,
KIR

But inspection build doesn't want to work because it can't find jdk home
to. How should I configure inspection build to have it working?

Vitaly Berov

0
Comment actions Permalink

In TeamCity 1.2, for Inspection build you should define jdk.1.6 system property:

system.jdk.1.6=/path/to/Jdk

Regards,
KIR

0

Please sign in to leave a comment.