def METHOD_NAME(args):
	flowdir  = args['flowdir']
	flowfile = args['file']
	javadir = os.path.join(flowdir, 'platforms', 'java')
	toStdout('* Compiling the generated code\n----------------------------\n')
	src_dir = os.path.join('javagen', 'com', 'area9innovation', 'flow')
	javasrc = os.path.join(src_dir, '*.java')
	if os.path.isfile(os.path.join(src_dir, 'sources')):
		javasrc = "@" + os.path.join(src_dir, 'sources')
	code = os.system('javac -Xlint:unchecked -encoding UTF-8 -classpath "' + javadir  + ':javagen" ' + javasrc)
	if code != 0:
		toStdout('Generated java code compilation failed: ' + str(code))
		sys.exit(1)