Friday, July 31, 2009

What is the function of java vertual and how is it installed?

Is it advantageous to have it installed?

What is the function of java vertual and how is it installed?
Is it advantageous to have it installed?


Yes. You will need it to run java programs in your browser or on your desktop.





What function does it serve?


The Java virtual machine is a bit like a translator. I'll explain.





Most software programs when they are created are written in a human readable code. Then a compiler and linker takes that code and compiles it into machine code. That machine code can only run on very specific hardware and operating systems. Programs Like Microsoft Office are an example. It has to be compiled to run on Windows. To run on a Mac it has to be recompiled use a Mac compiler.





Java programs are different. They aren't compiled into machine code. They are compiled into what's called, "Java Byte Code". When you run a java program, the virtual machine translates the Byte Code into Machine code.





The advantage of java is that you only have to compile and distribute one version of your program. If Microsoft office was created using Java, you would bye only one version of it and it would work on both your Mac, WindowsXP\Vista, or any other operating system that has a java virtual machine on it(Like Unix or Linux or your Mobile Phone). Instead, you have to bye different versions.





The disadvantage of java is that it comes at a price of speed. The virtual machine translator slows down your program. Though the speed keeps getting better with each release.
Reply:It allows you to run java programs in your browser without installing java SDK
Reply:Java Virtual it's a pluging that will run Java aplications on your machine, not necessarily Internet based aplications but is the common use of it.





Most web pages will telll you to download teh Java virtual once you get in there and you don't have it, providing direct links to the download installation package, but you could also go to their main website www.java.com the first thing you'll see it's the download link wich is free.

tomato plants

No comments:

Post a Comment