cancel
Showing results for 
Search instead for 
Did you mean: 

Getting warning while building web module file

Former Member
0 Kudos

Hi All,

Getting following warning while building web module file in NWDS even after setting JDK_HOME_PATH in the environment. Is any other configration change required to avoid this

Preparing data context..

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

Data context prepared in 0.031 seconds

Thanks

Bidhudas

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

I had the same problem but then I saw that my IDE was started with the default JDK which was on my machine jdk1.5. To avoid this

you need to pass the -vm parameter when starting the netweaver studio.

C:\PROGRAMS\SAP\NWDS_SP18\eclipse\SapIde.exe -data "C:\WORKSPACE_SP18" -vm "C:\j2sdk1.4.2_13\bin\javaw.exe"

Edit your shortcut that starts your NWDS and it should work.

rgds

David

Former Member
0 Kudos

Setting the -vm parameter in the shortcut worked for me, too. Thanks David.

Bidhudas, please mark the thread as answered if it solved your problem as well.

Former Member
0 Kudos

Hi Bidhudas,

the warning makes more sense on CBS than in the NWDS.

You can define "default" in the environment to point to the default JDK that you want to use for compilation. If using the running VM is fine with you just ignore the warning.

Regards,

Marc