cancel
Showing results for 
Search instead for 
Did you mean: 

JVM Vendor not supported error in NWDS.

former_member187439
Active Participant
0 Kudos

I installed the NWDS 7.3 for customizing my portal 7.3 logon page. I am following an interesting blog for the same:

However I am yet to complete this task successfully due to a JVM vendor not supported error. I have a JAVA_HOME entry to the javaw.exe path. Also, i have vm entry of the same path in the NWDS shortcut- properties- target value. C:Program Files (x86)Javajdk1.7.0_02in

I chose program files (x86) for this installation bcos during my previous java error i read in my log that JVM 64 bit could not be run.

Initially i use to get JVM error during startup itself bcos of which i was not able to get to the home page of developer studio. I solved that error now by installing right version and making necessary entries as mentioned above. Now i get a pop up stating that oracle vendor is not supported (it says that i should have either a Sun or SAP provided java). Is it really the problem? If so, can some 1 get me the link to download it.

I am creating a new thread since the old ones posted by others on the same topic does not give me the solution.

Thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi,

I also come to this warning. I did a little research, and found solution that worked for me by solving source of problem, without need of trying different JDK versions.

My current configuration:


SAP NWDS:

     - v7.30 EHP1 (7.31) SP10 PAT0001 (8.31.100001.140103092401 SP10 PAT0001)

     - file: "nwds-extsoa-7.3-EHP1-SP10-PAT0001-win32.zip"

     - Download location: https://nwds.sap.com/swdc/downloads/updates/netweaver/nwds/nw/731/doc/auto_latest_distributions.html


JDK:

     - v7 Update 51 - both x86 and x64 versions. As NWDS is x86 version, that platfotm is enought if you don't need native support for x64 applications.

     - Latest version download location: http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

     - Older versions download location: http://www.oracle.com/technetwork/java/javase/archive-139210.html

     - I'm not suggesting that you need to install last version. I tested it on this version and it worked for me, but I use NWDS only for few specific tasks. So I did't test all functions for JVM compatibility. But my solution should work for solving cause of vendor specific problem. Not other JVM problems. And installing newer Java may be source of other problems, like is every release. But with correct backup there shouldn't be a problem.

Problem:

Problem is in older code of initial JVM check, where are specified allowed vendors. Oracle is not included in configuration, so warning is shown. Module is located in plugins folder:

     "<SAP NWDS>\plugins\com.sap.ide.jvm.check_1.0.0.140103091951.jar"

Version number (orange) can differs based on NWDS distribution. In jar file is configuration stored in file "config.xml". There is this part, that specifies allowed vendors:

<supportedRuntimes shutdownIfNotMatches="false" warnIfNotMatches="true">

      <vendor name="SAP AG">

          <versionRange jdkRequired="true" minInclusive="1.6.0_07"/>

      </vendor>

      <vendor name="Sun Microsystems Inc.">

          <versionRange jdkRequired="true" minInclusive="1.6.0_07"/>

      </vendor>

  </supportedRuntimes

Here you can see that only "SAP AG" and "Sun Microsystems Inc." from older Java releases are included. And that's the problem, as new versions are released by Oracle. So vendor differs and warning is here.

Solution:

Before we begin it's best to backup whole NWDS directory and also workspace(s)!

1) Locate file with JVM checking module:

     "<SAP NWDS>\plugins\com.sap.ide.jvm.check_1.0.0.140103091951.jar"

    As mentioned before, version number can be different in your release.

2) Create backup copy of current file. Call it for example "com.sap.ide.jvm.check_1.0.0.140103091951.jar.BAK".

3) Copy original file to temporary location. I used "C:\Temp\com.sap.ide.jvm.check_1.0.0.140103091951.jar"

4) Extract files from JAR. JAR files are basically ZIP files. I used 7-zip program to extract source to folder based on file name:
"C:\Temp\com.sap.ide.jvm.check_1.0.0.140103091951\".

5) Locate and edit configuration file "C:\Temp\com.sap.ide.jvm.check_1.0.0.140103091951\config.xml". Add vendor node "Oracle Corporation" (part in green color). Just copy existing node and replace vendor name.

<supportedRuntimes shutdownIfNotMatches="false" warnIfNotMatches="true">

    <vendor name="SAP AG">

        <versionRange jdkRequired="true" minInclusive="1.6.0_07"/>

    </vendor>

    <vendor name="Sun Microsystems Inc.">

        <versionRange jdkRequired="true" minInclusive="1.6.0_07"/>

    </vendor>

    <vendor name="Oracle Corporation">

        <versionRange jdkRequired="true" minInclusive="1.6.0_07"/>

    </vendor>

</supportedRuntimes>

6) Pack directory. Pack whole content of directory from step 5) back to ZIP format. Change extension to .JAR in your favorite compression program, or rename new file from ".zip" to ".jar" after compression is done. Now we have our new corrected file for checking JVM version in NWDS - "C:\Temp\com.sap.ide.jvm.check_1.0.0.140103091951\com.sap.ide.jvm.check_1.0.0.140103091951.jar".

7) Replace original file. Copy file over original one:

"C:\Temp\com.sap.ide.jvm.check_1.0.0.140103091951\com.sap.ide.jvm.check_1.0.0.140103091951.jar" -->
"<SAP NWDS>\plugins\com.sap.ide.jvm.check_1.0.0.140103091951.jar".
Overwrite if asked.

😎 Done.

Former Member
0 Kudos

Thanks Tomas, great post.  Exactly what I'm looking for. So many people say to just use the old JDK but there are big security holes in those old JDKs.

I have Winzip , so I just rename the .jar file to .zip, open it with winzip, locate the config.xml, edited it and updated the zip file (winzip will prompt when existing), rename the .jar back to .zip.

Cut down a lot of the steps and it worked for me.

0 Kudos

Hi,

you're welcome. Sure some steps are not needed for skilled user, and it's possible to user another way around. I just tried to make it clear and detailed enough even for less experienced users.

PS: Also tested on new version:


SAP NWDS:

     - v7.30 EHP1 (7.31) SP10 PAT0002 (8.30.100002.140207121738 SP10 PAT0002)

     - file: "nwds-extsoa-7.3-EHP1-SP10-PAT0002-win32.zip"


Plugin file:

  "<SAP NWDS>\plugins\com.sap.ide.jvm.check_1.0.0.140207094830.jar"

former_member372129
Discoverer
0 Kudos

Thanks Tomas,

Lucky to find you post to resolve this issue.:)

0 Kudos

Thanks Tomas.

Great help

Former Member
0 Kudos

Thomas - great job you did. It works for me too. It resolved(by following your steps) our issue after so many investigations .

kiala_ntona
Member
0 Kudos

Thank you very much Thomas !

Former Member
0 Kudos

Great detail explanation, thank you for that!

Former Member
0 Kudos

Thank Tomas !!

Solution worked like a charm.

former_member187587
Contributor
0 Kudos

Not sure where do you know this but it worked!

like magic.

10x! 

Former Member
0 Kudos

Thanks Tomas!

This seems to work fine when I try it, but has anybody had much experience with this method, or found any issues while using an unsupported JDK with NWDS?  If so, does SAP deny support due to using an unsupported JDK?

Former Member
0 Kudos

Thanks a ton Thomas. You saved many of us here.

Answers (6)

Answers (6)

arda
Member
0 Kudos

Thanks Tomas

After a long search your post has solved my problem!

Former Member
0 Kudos

I had this error today and getting JDK 6_26 got around the issue. Thanks for the post.

Former Member
0 Kudos

Thanks a lot for the post.

I was looking for the same issue from last two days and today I solved this.

The error comes mainly due to missing 4 native libraries mentioned in step 4.

In some machines it automatically comes but sometimes it does not.So installing these 4 native libraries is important.

I did so and it solved my problem.

Thanks,

Dillip.

former_member187439
Active Participant
0 Kudos

I solved it. Thanks.

0 Kudos

HI Kavitha,

Could you please tell us how did u solve this!

we are facing a similar issue

former_member187439
Active Participant
0 Kudos

I guess I installed the right jdk version and then I reinstalled the NWDS as some perspectives were missing.

0 Kudos

I have the Java version jdk1.6.0_26

Also I think all necessary perspectives are available. Still i get the error log

"Unable to execute early startup code for an extension

Unhandled Exception

Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".

An error occurred while automatically activating bundle com.sap.mw.jco3.eclipse (478)."

Any idea ?

former_member187439
Active Participant
0 Kudos

This looks like eclipse installation error. Why dont you try to reinstall it?

0 Kudos

Thanks for the reply!

For NWDS 7.3, it is exe file directly opens from the folder structure(not exactly the installation)

So I tried changing the workspace and re-open but the same error happens.

former_member187439
Active Participant
0 Kudos
Former Member
0 Kudos

i have jdk1.6.0_26, and its working smoothly

Try jdk1.6.0_26....

hope it will resolve

try this link for installing jdk

http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u26-download-400750.html

Edited by: Pande Sagar on Jan 3, 2012 5:09 PM

Former Member
0 Kudos

Hi kavitha,

Try to install JDK version 1.6.0_7 and check below article link for NW CE7.3 installation guide

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80a100d2-109f-2e10-e996-c2b808037...

Hope it helps......

Thanks,

Rahul.

Edited by: rahul.girmaji on Jan 2, 2012 6:30 PM

former_member187439
Active Participant
0 Kudos

This version gives me the below errors inside nwds:

Unable to execute early startup code for an extension

Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".

An error occurred while automatically activating bundle com.sap.mw.jco3.eclipse (471).