Java Environment
Java Environment
• a free software package including a Java class library, tools, and a standalone JVM
• one of the Java Development Kit’s interconnected components (JDK)
• most used environment for running Java applications on mobile devices
• checks memory access and obtains system resources when it loads classes
• operates as a software layer
Components of JRE
• Integration libraries include Java Database Connectivity (JDBC)
• Java Naming, Interface Definition Language (IDL)
• Directory Interface (JNDI)
• Remote Method Invocation Over Internet Inter-Orb Protocol (RMI-IIOP)
• Remote Method Invocation (RMI)
• Scripting
• JDK and JRE: The JDK enables programmers to create core Java programs that can run by the
JRE, which includes JVM and class libraries.
• Class Libraries: A group of dynamically loadable libraries that the Java program can call at run
time.
• Compilers: It is a Java program that accepts text file of developers and compiles them into Java
class file. It is the common form of output given by the compiler, which contains Java byte code.
In Java, the primary compiler is Javac.
• Debuggers: A debugger is a Java program that lets developers test and debug Java programs.
• JavaDoc: JavaDoc is documentation made by Sun Microsystems for Java. JavaDoc is used in
generating API documentation in HTML file from the source program.