Every Operating system having some executable formats
Eg. Windows - .exe, .cmd, .bat
Eg. Linux - .bin
These files operating system execute directly. Then what about .mp3,.class,.avi...... file. These files Windows can not execute directly its taking media player(Supporters) help.
Winamp software understant the .mp3 file formate. So Windows, Linux Operting System execute this file with the help of Media Players.
Same way after compile the C, C++ programs Compiler creates a executable file (.exe)
Eg : 9lessons.c ----> 9lessons.exe
Windows Operating System Directly access this 9lessons.exe file and print the output. But in Linux(os) can not understand this *.exe format. So C, C++ Dependent Languages
But Java Compiler convert .java file to .class format. Windows execute this file with the help of JRE (Java Runtime Enviroment).
Sun Microsystems Providing Different JREs for Different Operating System
Virus Programmer's Main Aim to interrupt the User's work. So the programmer creates a virus file in Operating System Executable format like .exe, .cmd, .bat (for windows)
If you did a project in C, C++ Language. If any virus attack means it damage the total executable(.exe) files. so C, C++ project files also damage. But java file creates a .class file its like byte code formate. If attact means JRE (Java Runtime Enviroment) only damage. So you java project safe....
What about .Net. It is a best software development package. Why it's not independent ?.
Microsoft People can Write the code for .Net Independent platform. If they will make the next moment onwards no one will buy the Windows Operating System.
Company business aspects they will give Preference to open source operating System like Linux and Solaris.
C, C++ --> Console application programs
Java --> Console - Windows Frames - Web
Java (JDK) Bin Directory Files Information
Analysis of a Java Class
What Web Server Do?
Google Search Architecture Diagram Overview
The Stock Market Story
Most Popular Articles:-Most Popular Articles Links
If any mistakes please comment me...
Thanks! Your feedback helps us to improve 9lessons.info