what's the big difference of JVM and LPC -VM?
would it make it a lot slow? I don't have enough knowledge,but I doubt it.
No reason why it should.
The JVM is the most advanced virtual machine currently in existence. It's designed to support Java, but it does a pretty good job of being a general purpose VM. There's absolutely no reason why it would be slower than the LPMud VM. The opposite should be true - with a well written LPC->Java Byte Code compiler (and terebi does not (yet?) qualify as "well written") you should find the JVM to be noticably faster than the LPC VM.
Not that it's particularly important - raw speed is rarely the key driver.
Actually I see this an pretty good idea, although I strongly suggest use modern compiler framework such as antlr.
I think you misunderstand - JavaCC does everything that Antlr would have done for this project.
and will it be possible that we can do it by LPC->JAVA and compile with openjdk? An problem I can forsee is the type problem, but I am sure we can get around it?
It's possible. But not as simple as you'd want. For now all lpc values are wrapped in an LpcValue interface.
That's quite normal with dynamic (+ semi-dynamic, like LPC) JVM languages.
I'm hoping to make it simpler and cleaner at some point, but it's not high on my priority list.