Erlang env is searched for in: -root arg <classpath> $PATH (searching for 'erl') ERTS and OTP versions are detected automatically. Also, loading Erlang environment from class path now works correctly
…or ... ...ERT#set_stdio() Manually applied patch by jetztgradnet 9abc3cc
…is file will still be used if available, but by default, Erjang searches for OTP in standard locations. Command line argument -root is still used as well.
We do this by thawing a special java.lang.Error-derived exception erjng.ErjangHalt, which is handles specially in the top-level frames of erlang processes. Should fix issue 59 trifork#59 except we still need to make kilim not print the stack trace.
Note: it is currently not possible to restart Erjang without reloading the classes, as some (static) objects need to be re-created: ERT.scheduler, ERT.async_scheduler, ETimerTask.send_timer
…ns encoding utf8. See http://www.erlang.org/doc/apps/stdlib/unicode_usage.html#id60205 for details on Erlang unicode support.
…OP. See erlang/otp@21a67b7#erts/emulator/drivers/common/efile_drv.c for the corresponding commit in Erlang/OTP.
…nym to FILE_FSYNC. See erlang/otp@3f53a96#erts/emulator/drivers/common/efile_drv.c for the corresponding commit in Erlang/OTP.