A java version of fetching the standard table. Need to debug.