Make inputParams optional for Java wrappers by adding overloads.
Use the newly provided overloads in the sample apps.