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.