cancel
Showing results for 
Search instead for 
Did you mean: 

How do i get rid of this warning?

Former Member
0 Kudos

I get a 'Built Successfully with warnings' message when building a DC. The associated log file has this entry in the file:

...

Creating Ant build file..

No 'default' JDK_HOME_PATH defined, will use running VM. Please update your configuration.

...

There are no other 'warning' messages in the log file, so this must be the warning the original message was referring to.

This warning message is a pain, since I can't be sure if the warning is this particular warning, or something else. In other words, I have to scan the output file each time "to be sure".

I've tried defining an environment variable called JDK_HOME_PATH, and setting up a class variable (that was a guess), but neither worked.

How do I get rid of this warning?

I'm on SP13.

Accepted Solutions (1)

Accepted Solutions (1)

guru_subramanianb
Active Contributor
0 Kudos

Hi Ken,

I see that from your message there is no Java path given in your DC.

Right click your DC goto properties

select Javabuild path, give the location of your JSDK in that.Refresh your project and save all meta data.

Now try deploying and am sure you won't get this warning anymore.

Hope it helps.

Regards,

Guru

Former Member
0 Kudos

Guru,

I didn't get this. I go to DC > Properties > Java Build Path>...

but from here I cannot define JDK_HOME_PATH in any of available options.

Which option has to be defined?

Thanks in advance!

Berislav

Former Member
0 Kudos

Do you mean to add a variable to the build path called JDK_HOME_PATH? If so, I've already tried this, and it doesn't work.

Perhaps you can clarify you instructions?

Former Member
0 Kudos

Ken,

I'm getting the exact same warning. Did you ever figure out how to fix it?

Thanks!

Former Member
0 Kudos

Nope, still there. Still looking for a specific solution.

I should probably open an OSS ticket....

Former Member
0 Kudos

Hi,

I guess you get the message locally in your IDE and on the CBS?

In the IDE: upgrade to the latest IDE or edit the "vm.parameters" file in the installation folder and add a line:

-Ddefault=C:path_to_jdk

On CBS: Edit the service properties and add an entry "default=path_to_jdk_on_server" to the JDK_HOME_PATHS property.

Best regards,

Marc

Former Member
0 Kudos

Just in the IDE - we haven't incorporated the NWDI into our environment yet (soon tho).

This did fix the warning message in SP14. Many thanks!

Former Member
0 Kudos

Marc,

This fixed it for me too (in SP14). I wish I could give you reward points but I didn't open the original post.

Thanks a lot!

David.

Answers (0)