java: Add framework2 to the default list of linked java libraries

... and to the default built package list

Change-Id: I6d69d54784393124583429e0e55921769138f6f5