Results 1 to 2 of 2

Thread: Code execution in JAVA

  1. #1
    Join Date
    Mar 2008
    Posts
    68

    Code execution in JAVA

    To develop in Java, you do not need much. Once the SDK installed, everything needed to generate files "executable" is installed.

    A simple text editor such as Notepad enough. However, for convenience, you can use Blue J, which brings together all the useful functions for developing in Java without any head.

    Running a Java program and compatibility:

    Running a Java program:

    To run Java applications on your system, you need what is called a virtual machine. This virtual machine will interpret the code compiled code generated from the files. Java (and thus the sources of the program).

    The compilation of files. Java files. Class is using the javac NomFichier.java. To run this file that has been generated, you must use the java FileName (without. Class).

  2. #2
    Join Date
    Mar 2008
    Posts
    68

    Re: Code execution in JAVA

    Portability:
    One of the big advantages of Java is its portability. Portability means that your writing once work on a lot of different platforms, without requiring any code changes. Only the virtual machine that interprets the pre-compiled files undergoes changes. Thus, a Linux user can not download the same virtual machine a Windows user, only the code created by the programmer or (s) will give the same on both systems.

    Developed in Java:

    When you develop in Java, you will encounter two main types of files:
    • Files with a. Java: These are simple text files that contain the Java code for your program. You can open these files with any text editor.
    • Files with a. Class: These files are not directly editable. They are "compiled" by the virtual machine. The files that are interpreted by the virtual machine when you run your program.

Similar Threads

  1. What does Remote Code Execution means
    By THE=protector in forum Networking & Security
    Replies: 9
    Last Post: 30-08-2012, 06:44 PM
  2. Replies: 4
    Last Post: 25-12-2010, 02:34 AM
  3. Code execution in real-time environments
    By Gajendra1 in forum Technology & Internet
    Replies: 1
    Last Post: 24-09-2010, 04:13 PM
  4. Method execution problem in java
    By Elizabeth Allen in forum Software Development
    Replies: 5
    Last Post: 12-03-2010, 12:51 PM
  5. Code execution has been interrupted in Excel
    By Vineeta in forum Windows Software
    Replies: 3
    Last Post: 04-11-2009, 12:31 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,751,627,870.93094 seconds with 16 queries