Downloading and Installing JDK 1.7.0 on Windows
This section provides a tutorial example on how to download and install JDK 1.7.0 (Java SE 7) on a Windows XP system. A simple Java program was entered, compiled, and executed with the new JDK installation. 2017-01-02, 4438👍, 3💬
PC Register and Native Method Stack
This section describes PC Registers and Native Method Stacks, which are reserved one per thread. Normal Java applications do not have any significant impact on PC Registers and Native Method Stacks. 2016-05-13, 1056👍, 2💬
Sun's JVM - Java HotSpot VM
This chapter provides tutorial notes and example codes on Sun Java HotSpot VM. Topics include running Java HotSpot VM in client and server modes; checking memory usage with the Runtime class. 2016-01-26, 433👍, 1💬
Table of Contents - Index
This free book is a collection of notes and sample codes written by the author while he was learning JVM himself. Topics include JVM (Java Virtual Machine), HotSpot, JRockit, GC (Garbage Collection), Memory, Stack overflow, CDS (Class Data Sharing), Runtime, Reflection. 2015-07-18, 238👍, 0💬
Accessing System Environment Variables
This section provides a tutorial example on how to access environment variables defined in the operating system using the System.getenv() method. 2017-01-14, 218👍, 2💬
Garbage Collection Tests
This chapter provides tutorial notes and example codes on garbage collection. Topics include garbage collection test program - GCTest2.java; comparisons between HotSpot 1.7.0, HotSpot 1.6.0 and JRockit R28.2.7. 2015-08-16, 196👍, 1💬
Java Exception: "java.lang.OutOfMemoryError: Java heap space"
This section provides a tutorial example on how JVM expands the Heap space to allocate more objects and leads to the 'java.lang.OutOfMemoryError: Java heap space' Java exception, if it is not allowed to expand any more. 2017-08-10, 183👍, 1💬
Current Time in Milliseconds and Nanoseconds
This section provides a tutorial example on how to obtain the current time in milliseconds and nanoseconds using currentTimeMillis() and nanoTime() methods. 2017-08-09, 140👍, 1💬
This section provides a tutorial example on how to use SHA1 message digest algorithm in Java. The JD...
This section describes how to download and install Microsoft JDBC Driver 4.2 for SQL Server 2014.
This section provides a tutorial example on how to use the getSelection() method to know which butto...
This section provides a tutorial example on how to install OpenSSL on a Windows system.
This section describes the SHA1 algorithm - a 6-step process of padding of '1000...', appending mess...