what is the difference between java and jaavscript ?
458967
Java and javascript both based on objects and their is a tight relation ship between these two.\n\nThe major difference between these two are:\n\n1.Java is compiled language but javascript is an interpreted language.\n\n2.Java is strongly typed language i.e,it is necessary to declare variables before use but it is not the case with javascript.\n\n3.Java is used independently while javascript is used with in html tags and require web browser to run.\n\n4.java files have the file extension of '.java' while javascript files have extension of '.js'\n\n5.Java can be used for designing standalone applications as well as web pages also while javascript can only be used for designing wed pages
3872
Basically, JDK allows you to compile .java files to .class files. JDK are meant for developers who want to produce java programs. JRE only allows you to run *.class files.
787422
ha ha! you installed an update to microsoft windows!!! ha ha it doesn't work very well!!! ha  ha ie7 ha ha \n\nIf you want kosher, stay away from microsoft anything!\n\nget firefox!\n\nps to the previous poster who thinks java == javacript.... what are you... meshugga?
555991
Suns JAVA and Microsofts J# are not the same language.  J# is Micro$ofts way of taking control of competition, by creating their own similar language. From history, the language from M$ will in no way be conformant with industry standards.
720320
In short ,\nJDK for creating your own programs and runnig them, testing them\n\nJDK used by everyone to run java programs like applets and other things.\n\nboth JDK abd JRE provide the same JVM (for a particular version, on a particular platform)\n\n\n\n-------------------\nJDK is the development kit that bundles java compiler and java virtual machine (JVM)\n\nyou need java compiler to make a .java file to .class file\n\nthe .class file will run in a jvm.\n---------------------------------\n\nyou will also get just jre that is java runtime environment\nwhere you can only run .class file \n(as opposed to making a class file from java file  using JDK)\n\nthe JRE primarily bundles JVM so that you can use any class file to run...\n\n\nthe JVM( virtual machine ) translates the .class file to machine instructions in its container...\n---------------------------------------
413615
Java is first and foremost a language, an object-oriented programming language to be specific. Java syntax is heavily based on C and C++ language syntax, but Java eliminates or streamlines many features that are considered unsafe or overly complicated.\n\nHowever, the Java specification, owned and managed by Sun Microsystems also defines three types of "platforms", program environments under which Java language programs can run:\n\n-- J2ME - Java 2 Micro Edition, for handheld devices, cell phones, etc.\n\n-- J2SE - Java 2 Standard Edition, for desktop computer applications, web browser applets, and POJO (Plain ol' Java Object) network applications\n\n-- J2EE - Java 2 Enterprise Edition, for implementing large-scale distributed apps, business-to-business apps, network/web apps and other heavy-duty stuff\n\nThe platform specifications themselves are not programs, but in practice Sun and others write programs to implement the platforms. Each of the platforms includes the JVM (Java Virtual Machine) which acts as an "OS/Hardware neutral" layer between the Java program and the actual underlying computer OS and hardware. There are also platform-specific APIs (Application Programming Interfaces) that determine much of what is possible (or practical) to do on a given platform. In that sense these platform implementations are as much a part of the Java specification as the language itself.\n\nEven so, Java is first and foremost an object-oriented programming language.
424748
First and major difference:\n\nJava is a programming language, whereas JavaScript is a scripting language.\n\nJava was created by Sun Microsystems to be a platform independent programming language (so that programs could run on all sorts of computers, regardless of processor or operating system), and JavaScript was originally created by Netscape (back when Netscape was still the best browser out there -- around the time of Netscape Gold) for scripting on the client side for simple operations (because there were alot of things that JavaScript could do that would lessen the load on the web servers).\n\nJava doesn't depend on a web browser to operate, only a Java Runtime Environment, which is pretty transparent to the user.\n\nJavaScript on the other hand won't run outside of a browser, and it is almost impossible to write full applications using JavaScript.\n\nOne other interesting fact: JavaScript was originally called LiveScript, and Netscape changed it to JavaScript because Sun Microsystems' Java was becoming such a popular language.  Netscape actually meant to confuse people into thinking they are the same thing, and having their "LiveScript" associated with Java.  Sadly, it worked.  I can't tell you the amount of people I have to explain this to in a month's time when they're having some problem with either Java or JavaScript.
1079584
Just that, Java programming. For the most part, the Java langauge is used for database programming and web applications.\n\nJava is a langauge unlike C++ or Visual Basic, etc (langauges that compile to regular programs). Programs made in it run on another "virtual computer" program that works the same on any OS, so you can make truly OS portable applications... as long as Java is installed.
1186340
try downloading \nJava JRE [1.5.0_06] (Java 2 Runtime Environment)
598093
There really isn't anything that I know of that u can do in java, but try not having the scripts embedded. It sounds like the computer can't handle so much info.
797799
The Java Platform consists of a wide array of technologies, each of which provides a distinct portion of the overall development or Java Runtime Environment. For example, end-users typically interface with the Java Virtual Machine and the standard set of class libraries. In addition, there are numerous ways for Java applications to be deployed, including being embedded into a web page. Lastly, developers who are creating applications for the platform use a set of development tools called the Java Development Kit.\n\nJava Virtual Machine\n\nThe heart of the Java Platform is the concept of a common "virtual" processor that executes Java bytecode programs. This bytecode is the same no matter what hardware or operating system the program is running under. The Java Platform provides a just-in-time (JIT) compiler within the Java Virtual Machine, or JVM, which handles execution of Java. The JIT compiler translates the Java bytecode into native processor instructions at run-time and caches the native code in memory during execution.\n\nThe use of bytecode as an intermediate language permits the same application to be run on any platform that has a virtual machine available. The use of a JIT compiler means that Java applications, after a short delay during loading and once they have "warmed up" by being all or mostly JIT-compiled, tend to run about as fast as native programs. Since JRE version 1.2, Sun's JVM implementation has included a just-in-time compiler instead of an interpreter.
757245
Java is also a programming language like VB, VB.Net, C, C++. So you can make any applications like MS-Word, Excel, Power-Point in Java. The main advantage of java applications is they are platform independant. Means you can run them on any operating systems. MS-Word, Excel etc can run only on Windows OS. But Java Applications are sligtly slower then the application developed on Microsoft Platform like VB.Net, VB etc.\n\nBut to make an operating system you cannot use Java. Because Java is made for application programming not for system programming. For operating Systems you need lot of System Programming. C and C++ are the best language for system programming. So, to develop Operating Systems C, C++ are widely used. But only C and C++ are still not enough to make an OS. You also need Assembly Level programming but Java cannot be used to develop an OS.\n\nAJAX stands for Asynchronous JavaScript And XML. It can be used for online applications. GMail and Google Pages uses AJAX. Now AJAX is also used in Beta version of Yahoo Mail.\n\nTo know about AJAX, you have to understand the general procedure of web pages.\n\nConsider a web page containing a form which accepts the data of user information like first name, last name, address etc. and store it to the database and then after display a message like "Thank you for submitting your information..."\n\nNow you fill up the data and click on the submit button. Now the following procedure occurs\n\n1) Your data is sent to the web server.\n2) Data is stored in the database.\n3) After data is stored, web server gives back a web page containing a message like "Thank you for submitting your information..."\n4) Your web browser accepts the response from web server and display the page.\n\nHere, after clicking on submit button you have to wait until the data is stored and a new page is displayed.\n\nBut consider the example of Google Pages. In google pages during saving your page, the page is not refreshed. You can keep your editing page while your page is being saved. This happens because of AJAX.\n\nWith AJAX you can receive and send data from web server without refreshing the whole page.\n\nTo learn about AJAX, follow the link\nhttp://www.w3schools.com/ajax/default.asp\n\nThis can give you a basic idea of AJAX.
337068
Java is a cross platform programming language. This means that a program written in Java can run on UNIX, Mac, Windows, Linux, etc, without any modification whatsoever.\n\nJava is also totally free.\n\nJ# is Microsofts attempt to somehow copy Java. J# will run on windows and ONLY windows.
377406
No, J# is not the same as standard Sun Java; problems compiling conformant Java code under J# are not at all uncommon.\n\nBut I don't think that is your problem here. It looks like you are using the JavaScript compiler, not the Java compiler. Java and JavaScript are not the same thing at all!\n\nYou should download the latest Java developer's kit from http://java.sun.com and use the "javac" command contained therein to compile your Java code.
398955
Java and C++ are remarkably similar in terms of syntax.  Java has all of the same constructs that you are familiar with: for loops, while loops, pre- and post-increment, if-then-else, etc.  So you should be able to pick up the syntax pretty quickly.\n\nThe differences between Java and C++ have more to do with structure than syntax: the way that files are arranged, the way that code is compiled and run, the way that rules are enforced, and the things that come with the package.\n\nWith Java, there is just one file to describe a class, with the interface and the implementation together in the same file.  In C++ these parts are split into a header (.h) file and an implementation (.cpp) file.  This makes things simpler, in that with Java there are half as many files to manage.  It also makes it impossible to lose half of your class, as you can in C++ by losing either the .h or the .cpp file.  It also makes your code more open: if you want to show someone your interface (API) code, then they can also see your implementation.  There is a workaround for this, however, in that you can use the Java-Doc comments to automatically generate HTML-based documentation for your code that only describes your public API.  (Another nice difference –- automatic documentation!)\n\nJava source code is compiled to .class bytecode files.  These files are then run by the Java interpreter/JVM.  This adds an extra layer between your code and the OS, but surprisingly causes very little deterioration in performance, mostly due to really smart JVMs.  This buys you two things: portability and safety.  The portability comes from the fact that code is written to the JVM, which is an idealized stack-based virtual machine, and not to the quirks of the underlying OS.  This is what leads to the infamous “write once, run anywhere” claim.  The safety comes from the fact that all bytecode is checked at run time for any malicious or mal-formed code, and the JVM can restrict the access of any piece of code so that it can't get to sensitive stuff (like your personal files, or the microphone, for instance).\n\nSafety is the common heading for several other differences between Java and C++: there are no pointers in Java (at least not directly), so there are no dangling pointers, uninitialized pointers, or bizarre pointer math errors; arrays are dynamically checked for staying within the boundaries, so there are no out-of-bounds errors; you can't cast an variable to an incompatible type in Java, so data structures can't get corrupted in that way; exceptions must be caught (this check is done at compile time), so there are no uncaught exceptions to bring down your application; and the list goes on!\n\nThus far it might seem like Java is missing a lot of things that are found in C++.  So what would you probably miss if you made the move to Java?  Pointers, templates, operator overloading, multiple inheritance, and a preprocessor.  What wouldn't you miss?  Pointers, templates, operator overloading, multiple inheritance, and a preprocessor.  You might have noticed that these two lists are remarkably similar.  How can this be?  It is one of those things where you might miss some particular feature at first, and even wonder how in the world you will do without it, but once you are familiar with Java and the way that it works, you wonder why you ever bothered with that complicated stuff in the first place.  Java has elegant replacements for many of these missing items, or better yet, makes them completely unnecessary by design.  A good example is multiple inheritance – in Java there is only a single parent class for a given user-defined class, but a class can implement any number of interfaces, which are special classes that only specify methods and operations but have no implementation whatsoever.  A class that implements a given interface can be passed anywhere that the interface is expected, regardless of its size or the way that it is implemented.  It
40614
ALPHA-N7 is WRONG.\n\nJavascript and Java are entirely different things.\nJavascript is written in the webpage to perform special formatting functions and page manipulation.\nJava is an application that is embedded into the webpage. It can also run on it's own like any other program.\n\nAs far as you saying "my computer doesn't work", I guess you mean when you click on a javascript link (you see javascript:something in the status bar right?) that nothing happens.\n\nIf you're using Internet Explorer (which you most likely are), click the tools menu and select Internet Options. At the top of the window that pops up go to the security tab and click Internet. Then click the Custom Level button.\nScroll down, near the bottom of the list you will see the section "Scripting". \nClick enable in Active Scripting. \nClick Ok. then click ok on the previous window.\n\nIf this doesn't fix it, look for popup blocking (in the same list) and click disable.
644859
Java refers to the programming language.\nIt's key features are:\n1. Your java source can run on multiple operating systems (Unix, Windows) due to the following architecture:\nA. Java source code is compiled into a platform independent byte-code \nB. Java byte-code is interpreted by a platform specific Java Virtual Machine (JVM).\n\n2. I think that the greatest benefits are of Java are that:\nA. It is a strongly typed (You don't have to deal with subtle errors caused by implicit type conversions - like an Array to a String)\nB. It is object oriented (see: wikipedia.org)  and has class-based inheritance (Easy re-use of functionality without the confusion of inheriting from multiple classes)\nC. It does not allow direct access to pointers to memory (prevents you from accidently reading from or writing to memory intended for another application)\nD. It is multi-threaded.  (For example, it's relatively easy to implement a word processor checks your spelling and grammar while you type.  You type in the main thread and the spell check runs in a separate thread, so your typing is not held up while the spell check runs.)\n\nj2se or Java 2 Standard Edition, contains the JVM and Compiler that I mentioned above under "key features"\nas well as an extensive set of built in classes.  Data Structures that ship with the j2se - such as the Collections API are a huge time saver for developers.\n\nJ2EE stands for "Java 2 Enterprise Edition".  \n"Enterprise" means distributed; this functionality allows you to run a component of your application in Boston and another component in Miami.\nKey features of J2EE include Servlets and Enterprise Java Beans (EJB's).