< 1 2 3 4 5 > >>   Sort: Rank

What Is Key Encoding?
This section describes private and public key encoding standards: PKCS#8 is used for encoding private keys and X.509 is used for encoding public keys.
2019-07-24, 916👍, 1💬

💬 2019-07-24 Vivek: yo sup

Downloading and Installing JDK 10
This section describes how to download and install JDK 10 on a Windows system.
2019-06-17, 57079👍, 50💬

💬 2019-06-12 sothea: Java is good

💬 2019-05-13 Myo Nyein: don't know

💬 2019-05-13 Myo Nyein: good

💬 2018-12-23 Thin Ga Ha: Very good

💬 2018-10-22 Chirag: Very good

(More comments ...)

"java --list-modules" - Listing Modules in JDK
This section provides a tutorial example on how to use 'java --list-modules' command to list all modules included in the JDK installation.
2019-06-01, 2900👍, 4💬

💬 2019-06-01 Herong: Klaus, it's probably getting them from the C:\Program Files\Java\jdk-10.0.1\lib\modules file. But you can also see a list of mod...

💬 2019-05-24 Klaus: Hi, where does this command get the modules? What is the file they lie in? I'm using CentOS

💬 2019-02-19 Herong: Felix, Thanks for pointing out the typo! It will corrected in the next update.

💬 2019-02-14 felix lee: The line "C:\herong>javac --list-modules" should be "C:\herong>java --list-modules". s/javac/java/

Java GC Tutorials - Herong's Tutorial Examples
This book is a collection of tutorial notes and sample codes written by the author while he was learning JVM GC (Garbage Collection) processes. Topics include Java Garbage Collectors, STW (Stop-The-World), Serial Collector, Parallel Collector, Concurrent Collector, G1 Collector, GC Algorithms, Gener...
2019-01-01, 2430👍, 1💬

💬 2018-06-17 Jack: It's helpful!

Using java.net.HttpURLConnection to Send SOAP Messages
This section describes steps to follow if you want to use the java.net.HttpURLConnection class to send out a SOAP XML message.
2018-12-21, 40680👍, 13💬

💬 2018-12-21 Herong: RAS, Yes. That's a good example on sending a file as a SOAP attachment. I thought you were looking for example on sending files ...

💬 2018-12-18 RAS: Thanks Dr. Herong for your reply. I've gone through the link you've shared but in that way, there's no way to pass other paramet...

💬 2018-12-18 Herong: RAS, Sending (or uploading) files from a client depends what how the server want to receive them. If the server support multipar...

💬 2018-12-17 RAS: Thanks Dr. Herong for the link but I'm not able to convert it to a sample codeset. Can you help me with it?

💬 2018-12-16 Herong: RAS, if you want to send a file with HTTP POST method, check RFC 1867 - Form-based File Upload in HTML.

(More comments ...)

Outdated: Downloading and Installing JDK 1.3.1 on Windows
This section provides a tutorial example on how to download and install JDK (or J2SE) 1.3.1 on a Windows 2000 system. A simple Java program was entered, compiled, and executed with the new JDK installation.
2018-11-13, 2183👍, 3💬

💬 2017-08-07 anurag tiwari: i 'm not satisfied with your features

Literal Formats for Integers - Example
This section provides a tutorial example on how to use integer literals in 4 formats: decimal, hex, octal and binary.
2018-10-02, 109👍, 1💬

'jstat -gcutil' - Garbage Collection Statistics
This section provides a tutorial example on how to use the 'jstat -gcutil' command to get garbage collection statistics against a specified JVM process ID.
2018-09-22, 1362👍, 2💬

💬 2018-09-22 Herong: Jagan, "jstat" is for Windows system only. You need to use vmstat or iostat on Oracle Solaris or Linux operating system.

💬 2018-09-22 jagan: cd /usr/java/jdk1.8.0_172/bin/j jar jarsigner java javac java-rmi.cgi jcmd jdeps jjs jps jrunscript jstat is not there.. what we...

Downloading and Installing JDK 1.6.2 on Windows
This section provides a tutorial example on how to download and install JDK 1.6.2 (Java SE 1.6 Update 2) on a Windows XP system. A simple Java program was entered, compiled, and executed with the new JDK installation.
2018-08-11, 9234👍, 15💬

💬 2018-08-11 mikw: thanks

💬 2017-02-27 sireesha: thanks

💬 2017-02-27 sireesha: Hi, I am admire to this site

💬 2017-01-29 hiiii: hi

💬 2016-10-17 Abhishek: Thanks

(More comments ...)

java.util.Locale - Localization and Internationalization
This section provides a tutorial example on how to use java.util.Locale class to verify the default locale and list all supported locales. A locale is an identification of a combination of human language and country.
2018-08-01, 6738👍, 4💬

💬 2016-12-25 Herong: jfseb, thanks for pointing out this difference.

💬 2016-12-19 jfseb: Note that java locales do not correspond in all versions to ISO 639. e.g. hebrew is now he, not iw. https://en.wikipedia.org/wik...

💬 2016-05-06 Scrijna: P.S. It's also useful for Java, iOS and Windows localization, as it supports most popular localization formats.

💬 2016-05-06 Scrijna: For Android app localization, you could try using the localization tool https://poeditor.com It's useful for collaborative trans...

Garbage Collection Logging Options
This section describes HotSpot JVM options to generate garbage collection log messages. '-XX:+PrintGCDetails' and '-XX:+PrintGCDateStamps' are two most important options.
2018-06-24, 611👍, 1💬

💬 2018-06-24 Tina: This is useful.

💬 2018-04-23 Don: Thanks for the detailed explanation!

Garbage Collection Logging Options
This section describes HotSpot JVM options to generate garbage collection log messages. '-XX:+PrintGCDetails' and '-XX:+PrintGCDateStamps' are two most important options.
2018-06-24, 611👍, 1💬

💬 2018-06-24 Tina: This is useful.

💬 2018-04-23 Don: Thanks for the detailed explanation!

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.
2018-06-24, 390👍, 1💬

💬 2018-06-24 Maria: Cool!

💬 2017-08-10 xionghongzhi: awsome artical!!!!!! thx!!!

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.
2018-06-24, 390👍, 1💬

💬 2018-06-24 Maria: Cool!

💬 2017-08-10 xionghongzhi: awsome artical!!!!!! thx!!!

System.setProperty() - Setting Your Own Properties
This section provides a tutorial example on how to modify system properties provided by the JVM, and set your own properties into the system property map.
2018-05-15, 206👍, 2💬

Using WSDL2Java to Generate Web Service Stub Classes
This chapter provides tutorial notes and example codes on WSDL2Java. Topics include using the WSDL2Java tool included in Axis2 1.4.1; generating client side stub classes; using stub and data type classes; testing stub classes with XML document and RPC method based Web services.
2018-04-22, 13774👍, 9💬

💬 2018-04-22 test name: thanks

💬 2017-01-20 Stephen: Hi , thanks for this tutorial

💬 2016-02-24 Herong: NfeDownloadNFStub, do you need any help on your WSDL document?

💬 2016-02-23 NfeDownloadNFStub: &lt;?xml version="1.0" encoding="UTF-8"?> &lt;wsdl:definitions xmlns:s="http://www.w3.org/2001/XMLS chema"xmlns:soap12="...

💬 2015-12-18 prem: thanks

java.time.Duration - Time Durations
This section describes the java.time.Duration class that represents a duration of time measured in seconds with fractions in nanosecond resolution.
2018-01-03, 623👍, 1💬

💬 2018-01-03 Nikhil Narayanan: Helpful man....but I already knew the stuff....the presentation is simple..nice! JAVA is great, right!

SslReverseEchoer.java - SSL Server Socket Example
This section provides a tutorial example on how to write a sample program to create a SSL server socket to listen for incoming SSL socket connection requests from client machines.
2017-11-27, 1295👍, 1💬

Installing Visual GC Plugin
This section provides a tutorial example on how to install the Visual GC plugin to Java VisualVM and monitor GC activities.
2017-10-25, 2132👍, 4💬

PDF Printing Version: JDK Tutorials
Information on how to obtain the PDF version of this book for printing.
2017-09-29, 1871👍, 5💬

💬 2017-09-29 gloax29: merci

💬 2015-11-20 sameer: good going

💬 2015-09-02 Herong: Dharshan, you can follow tutorials presented at JSSE - Java Implementation of SSL and TLS.

💬 2015-09-01 Dharshan: I want to learn JSSE

'jstat' - JVM Statistics Monitoring Tool
This chapter provides tutorial notes on JVM statistics monitoring tools. Topics include listing JVM processes with 'jps', the JVM remote monitoring server - 'jstatd', Java security policy file, connecting 'jps' and 'jstat' to a remote machine, RMI protocol and URL, getting garbage collection statist...
2017-08-10, 1086👍, 1💬

💬 2017-08-10 abdel: genial very good !!!

💬 2017-04-01 Herong: Asdaq, Thanks for sharing your comment.

💬 2017-03-31 Asdaq: For IBM SDK WebSphere Application Server this tool is not available.

💬 2015-12-13 Herong: Tim, I thought that every Linux system comes with JDK preinstalled. Not true?

💬 2015-12-12 tim: @majumder.soumya@gmail.com seems like you need to install jdk

(More comments ...)

'jps' - JVM Process Status Tool
This section describes the JVM process status tool, 'jps' for listing JVM processes on local and remote machines.
2017-08-03, 754👍, 1💬

JSSE - Java Implementation of SSL and TLS
This section describes the JSSE (Java Secure Socket Extension) package, which provides a Java implementation of the SSL and TLS protocols.
2017-07-18, 551👍, 1💬

💬 2017-07-18 Srini: This is not complete

Setting UTF-8 Encoding in PrintStream
This section provides a tutorial example on how to set UTF-8 encoding an output PrintStream to correctly print non-ASCII characters.
2017-06-03, 148👍, 1💬

< 1 2 3 4 5 > >>   Sort: Rank