config for java main container