port strings from Java