A JVM-based RISC-V emulator for sandboxing applications