J.D. Fox Micro Resource Center



Links

Java and JavaScript



  Java

Standard websites can show you lots of nicely formatted information, but are limited in interactive functionality. Java is a system that allows you to easily download and run application programs (called Java applets) through your web browser, which can greatly enhance what you can do on a website. Java applets are mostly used for connectivity related to the website you're on—such as to get technical support on an accounting program you have through the software publisher's website, use instant messaging with a sales representative through the manufacturer's website, take a 3D virtual tour of your new house on your architect's website, or use an online training system. Java-based games are also popular.

To use Java on a desktop or laptop computer, you have to download and install the Java platform software. If you visit a website that requires Java, the website will usually tell you so. Most mobile phones come with Java support already.

The Java platform was originally developed by Sun Microsystems (now owned by Oracle). It is also referred to as JRE (Java Runtime Environment) or JVM (Java Virtual Machine). These are all the same thing. In Microsoft Windows, you will see the white Java icon Java in the system tray when a Java applet is running. If you see the orange Java icon Java Update, this means there is an update available for the Java platform software itself.

Note: If you are working on a business network, please see your IT systems manager for authorization before attempting to download and install software.



JavaScript

JavaScript is another program platform that runs on your computer from a web site, but it is completely different from Java. JavaScript enhances the interactive capabilities of a given web page, such as updating the "order total" in an online shopping cart when you add items, or giving instant feedback when you click a button on the web page, without having to reload the whole page.

Compared to Java, JavaScript is much easier for a web designer to implement, and as a result much more widely used in interactive web sites, despite being less functional. Often, a website will combine JavaScript with other players or platforms (like Adobe Flash) for enhanced functionality.

You do not need to download or install JavaScript. In fact, you can't. The ability to run JavaScript is built-in to all web browsers and enabled by default. Some users choose to disable JavaScript for security purposes, or because some websites can run really slowly when executing poorly written scripts. You can do this in the configuration screen of your web browser. If you see reference to "JScript", "VBScript", "active scripting", or even just "scripting" in any of your web browser configuration settings, this is probably referring to the JavaScript capabilities of your browser.

Because there is no way to uninstall and reinstall JavaScript (a typical troubleshooting tactic), many users are frustrated when they get JavaScript error messages on a JavaScript-based web site and don't know how to try to fix it. Unfortunately, most of the time a JavaScript-based website isn't working, the problem is in the coding of the web pages themselves, which you cannot change.



To download the newer but less widely used application platforms (Microsoft Silverlight and Adobe AIR), click here