WHat does JAVA do???

I know this is a stupid question but i have to ask anyway. I downloaded the java 2 runtime development but i don't even understand or know what does it do. Can any1 explain to me? thanx

I think the question is little bit incorrect. It is the same if you will ask "What does English do?" I think you wanted to ask what does Java 2 environment do...
You have downloaded JDK. It is a set of tools which help you develop Java 2 applications and applets. By decision of developers of that JDK it has no any IDE. All what you can do - type you source in some text editor like Notepad and then use comman-line compiler to create your application. Of course it is not the easiest way to learn Java.
But you can find in the Internet a lot of free IDE for Java. Search this forum - there was already a question about this. Search also internet for books on Java.
If your question anyway "what does Java do?" I can say you next:
To work with computers we use a different programmes. All programmes were created by using a special programming language, no matter which one. Programming language is a set of commands using which you explain to computer what you want him to do for you. Java is one of such programming languages.
Hope this helps.
I didn't want to say something bad to you, I didn't want to offend you. If I did - I am sorry.
Igor.

Similar Messages

  • What does Java do and is it necessary?

    I'm looking for a little education here.  A How To article on disabling Java in the recent Mac Life indicates Java can be an malware vector to OS X.  I am looking for a brief understanding of what Java is and what it does, and more importantly is it really necessary to be enabled?  I understand it is an interpretive programming language that runs graphics on websites.  Is that all it is/does?  Where does java Script fit in?  Lastly, by disabling it on my Mac and in my browsers, will websites just not work?
    BTW, I use Intego's anti-malware suite. 
    Thank you

    I'm looking for a little education here.  A How To article on disabling Java in the recent Mac Life indicates Java can be an malware vector to OS X.  I am looking for a brief understanding of what Java is and what it does, and more importantly is it really necessary to be enabled?
    1st, if you have installed all the latest Mac OS X Lion (or Snow Leopard, or Leopard) updates, the known Java flaw has been fixed.  If you have not applied all the updates, you should do it as soon as possible.
    You can disable it, either just in your browser or entirelly if you like.  If something doesn't run, it will ask for Java to be installed and you will know that you might need it for that 3rd party application.
    The Flashback malware gained access via the web browser Java plug-in, so just disabling that is also good enough, but also redundent if you have applied all the latest Mac OS X updates.
    I understand it is an interpretive programming language that runs graphics on websites. Is that all it is/does?
    Java is a complete programming environment developed by Sun Microsystems (Sun is now owned by Oracle).
    It is commonly used to write applications that run on multiple platforms with little or no changes.  This is why it is popular as most Java developers do not need to worry if the system is Mac, Windows, Unix, etc...  It is also used in some Smart Phones, Set Top TV boxes, dedicated black box electronics, etc...
    On the Mac some (but not very many) web sites use Java for complex web site interactions, such as a game you run from a web site.  However, this is very rare and you are unlikely to run into one of these web sites, so disabling your browser's Java plug-in is generally not a problem.
    Where does java Script fit in?
    JavaScript is a totally different language and programming environment that was created about the time Java was the "Cool Kid" in town, so the JavaScript developers stole the name.  They are not really related.
    One of the reasons very few web sites depend on Java is because they can do most of what they need via straight HTML or HTML and JavaScript.
    So you DO WANT JavaScript enabled, or that will impact your web browsing experience.
    Lastly, by disabling it on my Mac and in my browsers, will websites just not work?
    Again, few web sites use Java, so disabling the Java plug-in within your browser's preferences is generally an OK thing to do.
    However, you may have some applications written in Java that you use on yoru Mac where disabling Java via the Applications -> Utilities -> Java Preferences may (or may not) affect running some apps on your Mac.  For example, if you use CrashPlan (backup utility) it is written in Java.
    But so far, Java based applications have not been a malware problem.  Only the Java browser plug-in.

  • What does java.exe do if double pass same classpath to it?

    By default, java.exe loads rt.jar as default classpath.
    if user explicitly passes rt.jar as classpath in command line to java.exe again, does java.exe load rt.jar twice or only once?
    Loading same classpath twice is slower than only once - i need the answer for speeding my application.

    By default, java.exe loads rt.jar as default
    classpath.Not correct. rt.jar is not loaded "as default classpath." It should not be listed on the classpath, as it WILL BE searched, and WILL slow down the tools.
    The classpath is used by javac.exe and java.exe (and other tools) to locate your (the user) .java and .class files that they require.
    Read these topics to learn how the classpath works and how to use it correctly:
    Setting the Classpath and
    How Classes are Found
    from this page http://java.sun.com/j2se/1.4.2/docs/tooldocs/tools.html

  • What does Java do with the input file?

    Hello everyone --
    I have a freaky Java problem. I'm running a program that takes an input file, reads it one line at a time, and determines whether the info I'm looking for is contained in it or not. For each line it reads, it decides if that line is good or bad, and broadcasts the findings in a System.out.println(). Every line gets one. When I run the program, I redirect the output to a log file. What's going on when the input file is 13000+ lines long and the log file is only 2500 lines long? This is tweakin' me out.
    Thanks for the advice,
    -Kwj.

    Here's what I have:
    boolean isGood = true;
    int count = 1;
    while((line = in.readLine()) != null)
    if (/*some condition is met*/)
    {*do some stuff*/}
    else
    isGood = false;
    System.out.println("***" + line);
    if (isGood)
    /*do some more stuff*/
    System.out.println(count + ". " + line)
    count++;
    }//process all lines
    As far as I can tell, I have every line accounted for in the else statement or the last if statement. If the line doesn't meet the req., it doesn't get to go on to the last if processing. All the good ones get processed. I think.

  • What does "java not detected" mean and what should I do about it?

    I am a teacher who teaches partly online. While trying to use Screen Recorder in Kaltura Media Space to record my desktop with audio voiceover, I encountered this message in red and was not able to use this device? I am not sure what the message means or how to fix this. I am using MacOS 10.9.1 and Safari. MediaSpace is provided by our school system, so I am not able to use my iPad to do this.

    Do you have a Java Preference Pane in System Preferences? if not, Java isn't installed and from your description, it sounds like it may be required. You can also try running this Java Test.
    Java Test
    Java

  • What does java.io.IOException:  not found mean

    I am attempting to use sockets to run a shell script on a unix server.
    I am receiving java.io.IOException: runbatch T9Batch -b BTNORM -d A : not found
    however when I log onto to the unix box and type in runbatch T9Batch -b BTNORM -d A it works fine.
    so I'm not quite sure what this error is telling me.
    here is my server side code.
    package batchrunnerserverproject;
    import java.net.*;
    import java.io.*;
    public class ExecuteRunbatchScript {
    public static void main(String[] args) throws IOException,
    InterruptedException {
    // declaration section:
    // declare a server socket and a client socket for the server
    // declare an input and an output stream
    ServerSocket batchServer = null;
    Socket clientSocket = null;
    String line;
    DataInputStream is;
    PrintStream os;
    Runtime rt = Runtime.getRuntime();
    String[] cmd = new String[1];
    // creating a new ServerSocket object to listen on a specific port
    try {
    batchServer = new ServerSocket(6666);
    } catch (IOException e) {
    System.err.println("Could not listen on port: 6666.");
    System.exit(-1);
    // Create a socket object from the ServerSocket to listen and accept
    // connections.
    // Open input and output streams
    try {
    clientSocket = batchServer.accept();
    is = new DataInputStream(clientSocket.getInputStream());
    os = new PrintStream(clientSocket.getOutputStream());
    // As long as we receive data, echo that data back to the client.
    while (true) {
    line = is.readLine();
    os.println(line);
    cmd[0] line;
    Process proc = rt.exec(cmd);
    int exitVal = proc.waitFor();
    System.out.println("Process exitValue: " + exitVal);
    } catch (IOException e) {
    System.out.println(e);
    }

    you're attempting to call "runbatch T9Batch -b BTNORM -d A", which has the executable "runbatch", and 5 arguments. Runtime.exec(String []) is expecting an array of the command and it's arguments. So I think you need to pass it an array like:
    cmd[0] = runbatch
    cmd[1] = T9Batch
    cmd[2] = -b
    cmd[3] = BTNORM
    cmd[4] = -d
    cmd[5] = A

  • What does Java 1.3 mean?

    Hi, I'm a little confused about the meaning of Java 1.3. Does this generally refer to all Java 1.3.X versions? If Something is compatible with Java 1.3.0 is it also compatible with 1.3.1?
    Thanks

    Generally, yes and yes.

  • What does java.rmi.ConnectException: Connection refused to host mean? ¶

    Several users have run into a java.rmi.ConnectException message during deployment, and need some information on how to troubleshoot this. We'll be adding this to our documentation, but thought it might be useful now.
    In NoSQL DB R2.0, the show plan -id <id> command displays plan status and any errors that may have occurred. If you see this exception listed in the error section, it means that the Admin service was unable to reach one of the NoSQL DB components while the system was trying to execute an administrative command.
    The first step is check on the overall status of the store. One way to do that is to use the show topology command, followed by the verify command. The show topology command will display the layout of the store, while verify will check the status of each component. A component that can't be reached will display a status of UNREACHABLE.
    In general, NoSQL DB attempts to make any troubleshooting information you need available through the Admin CLI, through commands like show plan, show events, show faults. A ConnectException message means that a communication channel either was not established, or failed, and in those cases, troubleshooting information may not have been conveyed to the Admin service. This is particularly true if there was a communication failure during initial deployment of a component.
    The next step would be to look in the NoSQL log files for more detailed error information. Look first in the aggregated storewide log, which can be found in the node that is hosting the master admin service, under the KVROOT/<storename>/logs/<storename>*.log. You can locate the master Admin through the "verify" command. This log file contains information from all the different components in the store.
    Suppose Replication Node rg1-rn3, on Storage Node sn3, is not responsive. Look through the <storename>.log for entries made by those components. Each log entry is prefixed with the name of the component that issued the log message. Sometimes the aggregated storewide log has too much information, or sometimes information from a component was not transmitted to the Admin, and therefore isn't included in the aggregated log. In that case, it can be more helpful to look at the Replication Node or Storage Node logs directly, which can be found on their host, in the <KVROOT>/<storename>/logs directory.
    If the problem occurs during an initial deployment, it can be particularly helpful to review the Storage Node logs to make sure that the Storage Node Agent on that node was created correctly, and that the process came up as expected, according to the installation directions, and the Replication Node logs. Some of the common reasons why a Replication Node might not come up are that here is inadequate heap and memory on the node, or that a initial configuration parameter is misspelled or has an invalid value, or that the time skew between components is greater than NoSQL's acceptable limit.

    Several users have run into a java.rmi.ConnectException message during deployment, and need some information on how to troubleshoot this. We'll be adding this to our documentation, but thought it might be useful now.
    In NoSQL DB R2.0, the show plan -id <id> command displays plan status and any errors that may have occurred. If you see this exception listed in the error section, it means that the Admin service was unable to reach one of the NoSQL DB components while the system was trying to execute an administrative command.
    The first step is check on the overall status of the store. One way to do that is to use the show topology command, followed by the verify command. The show topology command will display the layout of the store, while verify will check the status of each component. A component that can't be reached will display a status of UNREACHABLE.
    In general, NoSQL DB attempts to make any troubleshooting information you need available through the Admin CLI, through commands like show plan, show events, show faults. A ConnectException message means that a communication channel either was not established, or failed, and in those cases, troubleshooting information may not have been conveyed to the Admin service. This is particularly true if there was a communication failure during initial deployment of a component.
    The next step would be to look in the NoSQL log files for more detailed error information. Look first in the aggregated storewide log, which can be found in the node that is hosting the master admin service, under the KVROOT/<storename>/logs/<storename>*.log. You can locate the master Admin through the "verify" command. This log file contains information from all the different components in the store.
    Suppose Replication Node rg1-rn3, on Storage Node sn3, is not responsive. Look through the <storename>.log for entries made by those components. Each log entry is prefixed with the name of the component that issued the log message. Sometimes the aggregated storewide log has too much information, or sometimes information from a component was not transmitted to the Admin, and therefore isn't included in the aggregated log. In that case, it can be more helpful to look at the Replication Node or Storage Node logs directly, which can be found on their host, in the <KVROOT>/<storename>/logs directory.
    If the problem occurs during an initial deployment, it can be particularly helpful to review the Storage Node logs to make sure that the Storage Node Agent on that node was created correctly, and that the process came up as expected, according to the installation directions, and the Replication Node logs. Some of the common reasons why a Replication Node might not come up are that here is inadequate heap and memory on the node, or that a initial configuration parameter is misspelled or has an invalid value, or that the time skew between components is greater than NoSQL's acceptable limit.

  • What does the statement: "Java has a standard!" mean?

    I'am writing a academic work. For that I need to compare Java and PHP. I found the statement "Java has a standard!" as advantage on a webpage, but what does it exactly mean???
    Edited by: drumn on Aug 6, 2008 5:45 AM

    drumn wrote:
    I'am writing a academic work. For that I need to compare Java and PHP. I found the statement "Java has a standard!" as advantage on a webpage, but what does it exactly mean???Ask the author.
    I'm not being facetious or trying to brush off your question. If you want to know what someone meant when they said something, ask them. It's the most direct line and gives the highest probability of getting a useful, accurate answer to your question.
    ~

  • Java 2 - What does "2" Stands for?

    Hello everyone,
    We use the notation "Java 2 Platform, Standard Edition 5",
    here, "*5*" - indicates the version number [1.5.0]
    what does that "*2*" stands for?
    Thanks

    GKrish wrote:
    so, do you mean that the number 2 used there is a wrong entry?I firmly believe Sun has a department dedicated to making version numbers unnecessarily complicated and misleading. Java isn't the only Sun product to enjoy such inclarity

  • HT4296 What does this mean "remains disabled by default in this update"? Does that mean I don't have Java any more because of this update?

    What does this mean (referring to the Java update on the Mac OS X 10.5.8) "remains disabled by default in this update"? Does that mean I don't have Java any more because of this update?

    You should still have JAVA.  Open Safari, then in the top Menu Bar, click on Safari and pull down to Preferences.
    Safari> Preferences> Security> and click check the buttons next to Enable JAVA and Enable Javascript.
    You might have to restart Safari, I'm not sure about that.
    Good luck.

  • New announced feature in Java, what does it mean?

    I read that the next Java version will support templates. Actually they will not be called templates, I forgot the how the name it instead.
    I also read there was much discussion about introducing this feature.
    What does it mean? What are templates?

    Check out this forum:
    http://forum.java.sun.com/forum.jsp?forum=316

  • Please tell me what all softwares does Java Studio Enterprise 6 include.

    Please tell me what all softwares does Java Studio Enterprise 6 include.

    Hi there,
    JSE 6 software includes the following components.
    * Java Studio Enterprise IDE
    * Java Studio Enterprise 6 plug-ins and additions
    - Sun Java System Portlet Builder 2.0
    - Sun Java System Application Server 7 Standard
    Edition, Update 1 plug-in
    - Sun Java System Web Server 6.1, Service Pack 1
    plug-in
    - Sun Java Studio's Web Application Framework
    * Sun Java Enterprise System Servers as follows:
    - Sun Java System Application Server 7 Standard
    Edition, Update 1
    - Sun Java System Message Queue 3.0.1 Service
    Pack 2 Platform Edition
    - Sun Java System Web Server 6.1, Service Pack 1
    - Sun Java System Directory Server 5.2
    - Sun Java System Identity Server 6.1
    - Sun Java System Portal Server 6.2
    * Sun Java System Identity Server Policy Agent 2.1 for
    Sun Java System Application Server 7 Standard
    Edition, Update 1
    Hope it helps!

  • A special java 5.0 syntax-what does it mean

    Hi, i ve noticed such a syntax which i lbeieve belongs to java 5.0 features,
    public class CustomSet extends HashSet{
        public CustomSet(final CustomElement... elements)   //what does this line mean? in particular, the '...'?
    public class CustomElement {
    ------------------Thanks!

    http://java.sun.com/j2se/1.5.0/docs/relnotes/features.html
    Look for "varargs".

  • What does this message mean? "Warning: SUID file "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAg ent" has been modified and will not be repaired"

    What does this message mean? "Warning: SUID file "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAg ent" has been modified and will not be repaired"  I get this when I try to repair permissions in disk utility.

    It's an innocuous error you can ignore. It was introduced with previous updates for ARD and/or Java before Lion. These are messages, not errors. They will cause no harm, and they will be repeated each time you repair permissions.

Maybe you are looking for