Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 27-01-2009
Member
 
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).
Reply With Quote
  #2  
Old 27-01-2009
Member
 
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.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags:



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Code execution in JAVA"
Thread Thread Starter Forum Replies Last Post
What does Remote Code Execution means THE=protector Networking & Security 9 30-08-2012 06:44 PM
Malicious code execution is allowed by the Windows zero-day validation. ojuxa Networking & Security 4 25-12-2010 02:34 AM
Code execution in real-time environments Gajendra1 Technology & Internet 1 24-09-2010 04:13 PM
Method execution problem in java Elizabeth Allen Software Development 5 12-03-2010 12:51 PM
Code execution has been interrupted in Excel Vineeta Windows Software 3 04-11-2009 12:31 PM


All times are GMT +5.5. The time now is 09:08 PM.