Skip to Content

PO 7.5 - NWDS Java EE 5 Libraries - error

Dear experts,

We are on PO 7.5, SP8, Patch level 0 (1000.7.50.8.0.20170704181500) and I am using NWDS 7.50 to develop an adapter module.
I followed this blog
https://blogs.sap.com/2014/08/08/pi-74-adapter-module-creation-using-ejb-30/

After creating the project I get an error in the Build path - the JAR files
tc~je~webservices~api.jar
tc~je~webservices~lib.jar
are missing.

Please see the attached picture.



The files of the "SAP Java EE 5 Libraries" should be contained in the NWDS I thought.
Also in the file system of PO 7.5 we can't find these files.

Why do I need the Java EE 5 Libraries when I create the EJB Project with EJB module verison 3.0 and "Decault Configuration
for SAP Libraries"?

Please advice - thank you,
Peter

Add comment
10|10000 characters needed characters exceeded

  • I just downloaded "Java EE SDK 5 Update 2 No JDK" and installed it hoping I would find the missing JARs but no success.

    Does anyone know where to get these JAR files?

  • Get RSS Feed

2 Answers

  • Feb 08 at 09:55 AM

    Dear Mr. Wallner,

    In case indeed you "are on PO 7.5, SP8, Patch level 0 (1000.7.50.8.0.20170704181500) and I am using NWDS 7.50 to develop an adapter module", then you have to use SAPJVM8 . Please refer to this SAP KBA for more details on the necessary configuration.

    2546316 - NWDS: use a JDK as JVM instead of a JRE

    Regards,

    Add comment
    10|10000 characters needed characters exceeded

  • May 04 at 10:58 AM

    Dear Mr Dontcheff,

    I followed your adivce and I went through all settings again.

    User environment variables:

    CLASSPATH .;%JAVA_HOME%\lib;%JAVA_HOME%\jre\lib
    JAVA_HOME C:\Program Files (x86)\Java\sapJVM_8.1-80000211\sapjvm_8
    JDK_HOME %JAVA_HOME%
    JRE_HOME %JAVA_HOME%\jre
    PATH %JAVA_HOME%\bin

    eclipse.ini - file
    -vm
    C:/Program Files (x86)/Java/sapJVM_8.1-80000211/sapjvm_8/bin

    NWDS 7.5 - Installed JREs

    But when I create a new EJB project for an Adapter module with "EJB module version": "3.0", I still get the same error:

    Why is it using JRE 1.6 instead of the SAPJVM 8.1?
    Why is it not finding these 2 jar files within the SAP Java EE 5 Libraries?

    I have to say that I am on Windows 8.1 - maybe that is really the issue.

    As an alternative, can I still create a "EJB module version": 2.1 and deploy it on SAP PO 7.5? It should work I suppose.


    Thank you again for your help,

    Peter

    Add comment
    10|10000 characters needed characters exceeded