cancel
Showing results for 
Search instead for 
Did you mean: 

Warning: No 'default' JDK_HOME_PATH defined....

MarkusKlein
Active Contributor
0 Kudos

Hello all,

when i run the local build process, it does finish with warnings. The details logs has only one warning:

Preparing data context..
Warning: No 'default' JDK_HOME_PATH defined, will use running VM. Please update your configuration.
Data context prepared in 0.25 seconds

How and where to set this path? I have a JAVA_HOME Path set to my local JDK as a system variable.

regards,

Markus

Accepted Solutions (1)

Accepted Solutions (1)

Yashpal
Active Contributor
0 Kudos

Hi,

right click on mycomputer->properties->advanced->environmentvariables->new->

variable name - JAVA_HOME

variable value-> directory in which java is installed

may be like c:\jdsdk1.4.version u have

regards,

yashpal

MarkusKlein
Active Contributor
0 Kudos

Hello Yashpal,

this variable i have already set. See my post above (JAVA_HOME). But i still get the warning.

Yashpal
Active Contributor
0 Kudos

Hi,

sorry for that....

check that JRE path is set ot not ...

in window->preference->installed jre...

give the path of JRE.....

Regards,

yashpal

MarkusKlein
Active Contributor
0 Kudos

Hello Yashpal,

yes it is set already:

JRE Type: Standard VM

JRE name: j2sdk1.4.2_08

JRE Home directory C:\...\Java\j2sdk1.4.2_08

various JRE System libraries are set...

the checkbox "Use default system libraries" is checked.

regards,

Markus

Message was edited by: Markus Klein

Former Member
0 Kudos

Hello Markus,

I think you are getting this message in your local IDE. Or is it the CBS?

If it is the IDE then try to edit the "vm.parameters" file in the installation folder and add a line:

-Ddefault=C:\<path to your jdk folder>

If it is in CBS then you can try to edit the service properties and add an entry "default=<path to jdk folder on the server>" to the JDK_HOME_PATHS property.

Regards,

Satyajit.

MarkusKlein
Active Contributor
0 Kudos

Hello Satyajit,

yes its indeed a IDE problem and your solution adding the paramteres to vm.parameters fixed it!

The CBS has already the correct JDK_HOME_PATH set.

Thx

Markus

Answers (0)