Licensing the AS Java
Once the AS java has been installed, you can log on, since a temporary license has automatically been installed.
You then have to request and install a permanent license from SAP.

If you have
installed the
SAP NetWeaver
Application Server with ABAP and Java, you can follow the licensing
procedure used in earlier releases of the SAP NetWeaver AS. The documentation
can be found under
SAP License
Key.
There are two types of SAP licenses: permanent and temporary licenses.
● Permanent License
How you go about getting a permanent license from SAP is explained in Requesting and Installing an SAP License.
● Temporary License
If a temporary license was generated during installation, this has a validity period of 90 days.

Note that you cannot install another temporary license, if the expired license is also a temporary license. If you again install a temporary license at a later time, this has a validity period of 28 days.
If your permanent license has expired, as a short term measure you can install a temporary license.
To do this, in the SAP NetWeaver Administratorchoose Configuration Management →Licenses → Available Licenses → Extend Temporary.
You should have installed a permanent license again by the time the temporary license expires.