Monday, June 05, 2006


JavaSoft/MS J++ Executables:-



Java compile workflowJava Algo:-




  1. Code: Java programmers write source code in text files (perhaps using an IDEon this page), then saved with a file suffix of .java.

    Java considers all files residing together in a specific project directory/folder part of a custom package of files containing localized resource messages, images, sounds, GUI forms, HTML code, query definitions, parameters (data paths to resources), and third-party library classeson this page.

    Each source file must contain an import command to specify each external packageon this page it references, except for the java.lang library automatically included by the compiler.

  2. Compile: Class files are built from source files by a Java compiler provided with the JDK or with an IDE. Byte-code is called neutral intermediate code because its syntax is conceptually between human(nerd)-readable source and low-level machine code. Discussions about a Java "class" refer collectively to the byte-code and the source code from which it is derived.

  3. Correct Syntax Errors: The compiler issues messages to the programmer if the source code does not meet Sun's Java Language Specifications 2nd Edition. Many programmers apply additional tools to source code.

    If the compiler strictly follows Sun's Java Virtual Machine Specification, it should create byptecode that is usable by a Class Loader within any Java Virtual Machine (JVM) running on a target client's machine with a variety of operating systems (Windows, UNIX, Linux, etc.).

  4. Invoke: Running in a “soft” universal abstraction layer, the JVM dynamically (as needed) loads Java Core APIs and custom application classes. This is called just-in-time compilation.

    Before Java applets can be linked from an Internet browser or Java applications invoked from the client machine's file system, the JVM must be installed on the client machine.

    The JVM uses port 5901.

  5. Behind the scenes, A Bytecode Verifier detects whether the bytecode violates Java security restrictions and other run-time checks.

  6. Execute: At run-time, the Interpreter translates bytecode into low-level machine language instructions optimized to the specific capabilities of the client machine (multiple processors, etc.). The intrepreter also frees memory automatically by performing garbage collectiongo to another page on this site.

  7. Unit Test, debug logic errors, and Tune performance using profilers other utilities.

    What is the Java Platform:-

    An intermediate JVM makes the Java language device independent because each JVM on the various platforms interpret byte-code the same way.

    To optimize Java software performance, the Version 4 Release 2 Operating System on IBM's AS/400 computers has JVM integrated beneath their Machine Interface (MI). On AS/400 V4R2's, Java classes can be run through a "transformer" to compile Java class files into AS/400-dependent object code using the AS/400 Developer Kit (JDK 1.1.4).

    Microsoft added Java language support after the initial release of their .NET (dot NET) initiative. The Microsoft Visual J#.NET Redistributable Package 1.1 is installed as a separate program.

    Microsoft's does not make use of J# (pronounced J Sharp) code like other Java implementations. Microsoft has its own compilation and run-time architecture for .NET programs.