I want to use a browser's jvm to compile...
1 posts in topic
Flat View  Flat View

Posted By:   Anonymous
Posted On:   Monday, August 27, 2001 08:31 PM


I want to use a browser's jvm to interpret my java code.whether I can use the browser JVM or not.Kindly help me..

Re: I want to use a browser's jvm to compile...

Posted By:   Dermot_Hennessy  
Posted On:   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).


About | Sitemap | Contact