Tuesday, August 28, 2001 01:45 AM
There is an important distinction between your question title and the question itself. In the first place you ask whether you can compile
using a browser JVM. This is not possible because a JVM is not a compiler.
The question that you pose in the main body of your message makes more sense. Interpreting is a runtime activity, so I'm guessing that your question here is 'can I create Java classes which can run in a browser JVM?' The answer is of course yes. However, up until Netscape 6, browsers only offered Java 1.1.x virtual machines, so if you want your code to run in those browsers you cannot take advantage of Java 1.2 features unless you use a plug-in (for more details on plug-ins, consult the FAQ and the Sun documentation (both linked here).