on 09-01-2005 4:45 PM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.