<< < 1 2 3 4 5 6 7 8 9 10 > >>   Sort: Rank

Listing Instance Counts of All Classes
This section provides a tutorial example on how to list object instance counts of all loaded classes in a Java heap dump file through the 'jhat' Web server.
2022-10-01, 302🔥, 0💬

SSL Specification Overview
This section provides a quick overview of the SSL (Secure Socket Layer) protocol. There are 4 sub-protocols in SSL: Record Protocol, Handshake Protocol, Change Cipher Spec Protocol, and Alert Protocol.
2022-10-01, 300🔥, 0💬

What Is "keystore"?
This section provides a quick introduction of 'keystore' - a database file used to store private keys and public key certificates. 'keystore' file can be managed by the KeyStore class or the 'keytool' command.
2022-10-01, 299🔥, 0💬

Garbage Collection and Unused Objects
This section describes what is garbage collection and what is an unused object.
2022-10-01, 299🔥, 0💬

"jpackage -t msi" - Package for Windows
This section provides a tutorial example on how to use 'jpackage -t msi' command to generate a binary distribution package from Java application JAR file in *.msi format for Windows computers. But 'jpackage' requires a third-party tool, WiX, to work.
2022-10-01, 297🔥, 0💬

Running EncodingSampler.java with UTF-8, UTF-16, UTF16-BE
This section provides a tutorial example on how to run the character encoding sample program with UTF-8, UTF-16, and UTF16-BE encodings, which are all Unicode character set encodings.
2022-10-01, 294🔥, 0💬

JceSecretKeyTest.java - Secret Key Test Program
This section provides a quick tutorial example on how to write a sample program to generate a secret key for Blowfish, DES, or HmacMD5 encryption, save the secret key to a file, and read it back.
2022-10-01, 293🔥, 0💬

jconsole - Connecting to a Local JMX Agent
This section provides a tutorial example on how to run 'jconsole' to connect to a JMX agent running on a local machine, and how to monitor the running Java application by reading head memory usage, CPU usage, number of threads and classes.
2022-10-01, 292🔥, 0💬

jconsole - Connecting to a Remote JMX Agent
This section provides a tutorial example on how to run 'jconsole' to connect to a JMX agent running on a remote machine, and how to see memory usage detail information.
2022-10-01, 291🔥, 0💬

Unicode Signs in Different Encodings
This section provides a tutorial example on how to write sample programs to create some Unicode signs in various encodings and view them in a Web browser.
2022-10-01, 286🔥, 0💬

jimage - The JIMAGE File Tool
This chapter provides tutorial notes on 'jimage', the JIMAGE File Tool. Topics include introduction of JIMAGE file format; 'jimage' command options; viewing and extracting JIMAGE file with 'jimage'; summary of Java file types and related tools.
2022-10-01, 286🔥, 0💬

Reading RSA Private and Public Key Files
This section provides a tutorial example on running the test program JcaKeyFactoryTest.java to generate, write, read and convert RSA private and public keys.
2022-10-01, 285🔥, 0💬

"jdeps --inverse --require ..." - Reverse Dependencies
This section provides a tutorial example on how to use 'jdeps --inverse' command to show reverse dependencies of a given Java module.
2022-10-01, 283🔥, 0💬

javax.crypto.SecretKey - The Secret Key Interface
This section provides a quick introduction of secret key and symmetric encryption algorithm. The secret key interface, javax.crypto.SecretKey, is also described.
2022-10-01, 278🔥, 0💬

javac - Using CP1252 to Process Source File
This section provides a tutorial example showing how 'javac' processing Java source code files with CP1252 encoding.
2022-10-01, 276🔥, 0💬

jmc - JMX Console via MBean Server
This section provides a tutorial example on how to use 'jmc' JMX Console via MBean Server. The dashboard shows live meters of Used Java Heap Memory, JVM CPU Usage, and Live Set + Fragmentation.
2022-10-01, 267🔥, 0💬

Calculating Memory Usage of an Array
This section provides a tutorial example on how to calculate memory usage of a large array.
2022-10-01, 266🔥, 0💬

jinfo - VM Option Value Checker
This section provides a tutorial example on how to use the 'jinfo' tool to view the current value of a given HotSpot VM option.
2022-10-01, 265🔥, 0💬

jinfo - Changing HotSpot VM Option
This section provides a tutorial example on how to set a new value to a HotSpot VM option on a given JVM process using the 'jinfo' tool.
2022-10-01, 260🔥, 0💬

"jdeprscan jar_file" - Deprecated API of JAR File
This section provides a tutorial example on how to use 'jdeprscan' command to scan for deprecated APIs of a given JAR file.
2022-10-01, 260🔥, 0💬

Converting Secret Keys to and from Byte Arrays
This section provides a quick introduction of the SecretKeySpec class and the KeySpec interface. They can be used to convert secret keys into byte arrays to store them in external files.
2022-10-01, 257🔥, 0💬

"jcmd 0 Thread.print" - Generating Thread Dump
This section provides a tutorial example on how to use the 'jcmd 0 Thread.print' command to generate a thread dump of a given JVM.
2022-10-01, 254🔥, 0💬

java.time.Instant Usage Examples
This section provides a tutorial example on how to use the java.time.Instant class to capture the current time, and to retrieve Epoch-Second value and Nanosecond-of-Second value. The system clock on Windows only supports millisecond resolution.
2022-10-01, 253🔥, 0💬

jconsole - Java Monitoring and Management Console
This chapter provides tutorial notes on the Java monitoring and management console, jconsole. Topics include description of JMX technology, list of 'jconsole' command options, turning on JMX agent for local and remote connection, running 'jconsole' to monitor local and remote Java applications.
2022-10-01, 248🔥, 0💬

<< < 1 2 3 4 5 6 7 8 9 10 > >>   Sort: Rank