   new ClassFile(bytes_array)
 
 compile_source = (fname, quiet) ->
-  throw 'Sorry, the compiler has been disabled.' if RELEASE?
   source = DoppioFile.load(fname).read()
   return controller.message "Could not find file '#{fname}'.", 'error' unless source?
   $.ajax 'http://people.cs.umass.edu/~ccarey/javac/', {

controller = null
editor = null
progress = null

class_cache = {}
raw_cache = {}


commands =
  javac: (args, cb) ->
    unless RELEASE?
      return "Usage: javac <source file>" unless args[0]?
      return compile_source args[0], cb
    stdout = (str) -> controller.message str, '', true # noreprompt
    rs = new runtime.RuntimeState(stdout, user_input, read_classfile)
    jvm.run_class(rs, javac_class, args, -> controller.reprompt())
  java: (args, cb) ->
    return "Usage: java class [args...]" unless args[0]?
    raw_data = DoppioFile.load("#{args[0]}.class").read()
