Skip to Content

Install SAP Java License on command line with saplikey

I have a Java 7.31 file, named NW2.

I have the key file from the service market place, NW2_multiple.txt.

(I know I can install it through NetWeaver Administrator, but this is very cumbersome, as one needs to start the server, wait 30 minutes for it to come up, then be sure to apply the file within the 30 minutes before it goes down again because it doesn't have a license.)

I found that on the command line it should work with saplikey on help.sap.com:

saplikey pf=<profile> -install <filename>

I can't figure out what they mean by <profile>.

In C:\usr\sap\NW2\SYS\profile there are three files, DEFAULT.PFL, NW2_J03_ILBNKNW1 and NW2_SCS04_ILBNKNW1. I tried supplying each of these with complete path, but I get the error "saplikey: failed to read table SVERS after connecting to the database" every time.

So I guess this is not what they mean by profile. I was not able to find an example for what to supply as profile anywhere, neither on help.sap.com nor elsewhere with Google.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jun 07, 2013 at 02:29 PM

    Hello,

    The only way to install SAP license on SAP NW 7.31 Java engine is thru SAP Netweaver Administrator (NWA). You cannot use "saplikey" to install license on java engine.

    You will have to start the java engine and install the license.

    You can check below link "Licensing AS Java" for more info

    http://help.sap.com/saphelp_banking60/helpdata/en/c3/e84ae90d9d427e92b0ceb69292ef4f/frameset.htm

    Hope this helps.

    Regards,

    Denish

    Add comment
    10|10000 characters needed characters exceeded