<< < 13 14 15 16 17 18 19 20 21 > >>   ∑:486  Sort:Rank

SimpleStringBuffer - My Implementation of String Buffer
This section provides a tutorial example on how to implement a simple string buffer class similar to the StringBuffer class included in the java.lang package.
2022-05-20, 536🔥, 2💬

EncodingConverter.java - Encoding Conversion Sample Program
This section provides a tutorial example on how to write a sample program, EncodingConverter.java, to convert text files from one character set encoding to another.
2022-05-10, 824🔥, 1💬

💬 2022-05-10 chaeun: 12

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.
2022-05-06, 1583🔥, 3💬

"javac -classpath" - Specifying Class Path
This section provides a tutorial example on how to use the '-classpath' option to specify the class path for the 'javac' tool to load any classes required during the compilation.
2022-03-03, 2502🔥, 1💬

SocketClient.java - A Simple Client Socket Application
This section provides a tutorial example on how to write a network application, SocketClient.java, that creates a client socket, connects to a remote socket server, sends and receives text messages.
2022-01-09, 216🔥, 0💬

Check JDK Version on CentOS
This section provides a tutorial on how to check the version information of the installed JDK packages on CentOS systems.
2022-01-09, 432🔥, 0💬

Importing Classes Defined in Unnamed Packages
This section provides a tutorial example on how to import classes defined in an unnamed package - done in the same as importing classed defined in named packages with JDK 1.3.1. But it is not allowed with JDK 1.4.1.
2021-08-07, 439🔥, 2💬

💬 2021-08-03 Herong: bruce, you need to have Hello.class is in the classpath.

💬 2021-07-31 bruce: D:\javadu>echo %path% C:\Program Files\Java\jdk1.3\bin D:\javadu>javac ImportingHello.java ImportingHello.java:1: cannot resolve...

Charset.decode() - Method to Decode Byte Sequences
This section provides a tutorial example on how to decode byte sequences back to characters with a given encoding using different decoding methods provided by JDK: CharsetDecoder.decode(), Charset.decode(), new String(), InputStreamReader.read()
2021-07-27, 195🔥, 1💬

💬 2021-07-27 aqweqweqwe: %2fWebForms%2fLogin.aspx%3fReturnUrl %3d%252fWebForms%252f...

Object Query Language (OQL)
This section describes what is OQL (Object Query Language). OQL statement syntax and examples are also provided.
2021-07-21, 9787🔥, 3💬

💬 2016-09-02 Jach: hello world ,I'm Jack!

Java Tools Tutorials - Herong's Tutorial Examples
This tutorial book based on notes and sample codes collected by the author while he was learning Java tools himself. Topics includes: 'java/javaw' Launcher, 'javac' Compiler, 'javadoc' Document Generator, 'javap' Class File Disassembler, 'jar/jarsigner' Archive Tool, 'jconsole' Console, 'jdb' Debugg...
2021-07-12, 9773🔥, 2💬

💬 2021-07-12 Jack Slater: Very useful tutorial

💬 2016-01-12 ASHIS BEHERA: IT IS VERY GOOD

Digital Signature Algorithm and Sample Program
This chapter provides tutorial notes and example codes on digital signature. Topics include algorithm and steps of signing a document; algorithm and steps of verifying a signature; digital signature generation and verification sample programs; sample signatures of SHA1withRSA and SHA1withDSA algorit...
2021-06-09, 1249🔥, 4💬

💬 2016-12-15 vijay: thanks

SSL Socket Communication Test
This section describes how to perform a SSL socket communication test with a SSL server socket test program, a SSL client socket test program, a pair of private key and public key, and a self-sign certificate of the public key.
2020-11-14, 304🔥, 1💬

Archived: Downloading/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.
2020-11-01, 4002🔥, 4💬

💬 2020-11-01 Sivile: This is good

💬 2019-05-13 Myo Nyein: thanks

💬 2016-03-10 sudha: thanks

💬 2015-09-22 ram: no

What Is an Unnamed Package?
This section describes what is an unnamed package - a package of compilation units with no package name. The main question is how to refer to a compilation unit in an unnamed package.
2020-10-15, 1355🔥, 2💬

💬 2020-10-12 Herong: Jason, how do we know the unnamed package is yours?

💬 2020-10-09 Jason Patrick: Unnamed package? 67 days in transit? How can I get my package from Canada Post?

"jshell&gt; /edit" - Editing Code Snippet
This section provides a tutorial example on how to start the editor to enter and change a long code snippet in 'jshell'.
2020-06-11, 645🔥, 2💬

💬 2020-06-11 Herong: Tarun, what platform are you using?

💬 2020-06-11 Tarun Teja: unable to edit my snippet

Running EncodingSampler.java with CP1252 Encoding
This section provides a tutorial example on how to run the character encoding sample program with CP1252 encoding for character value range of 0x0000 - 0x00FF.
2020-04-29, 256🔥, 1💬

Two Types of "import" Statements
This section describes two types of 'import' statements: Single Type Import and On-Demand Type Import. 4 sample Java source files are provided to test 'import' statements.
2020-02-06, 2838🔥, 2💬

💬 2020-02-06 Herong: Abuja, “wildcard” import is called on-demand import.

💬 2020-02-02 Abina: there are two type of import 1.specific 2.wildcard the Specific is select and import one from API the second wildcard select all...

HttpsHello.java - HTTPS Server Test Program
This section provides a tutorial example on how to write a HTTPS server test program, HttpsHello.java. It writes back a simple Web page using the HTTPS protocol.
2020-01-28, 14314🔥, 25💬

💬 2020-01-28 Herong: Bing, see Generating Private Keys tutorial on how to creat JKS files.

💬 2020-01-24 BingLi224: how to create .jks certificate file correctly?

💬 2017-09-20 Herong: Sandeep, you need to create a server certificate in a .jks file first.

💬 2017-09-08 sandeep kumar shukla: I am getting following error while I run the servier program. java.io.FileNotFoundException: herong.jks (The system cannot find ...

💬 2016-09-21 Test: Hello. How are you?

(More comments ...)

main() Method - Java Execution Entry Point
This section describes the Java program entry point, the main() method of the starting class. Command line arguments are passed as an string array parameter to the main() method.
2020-01-21, 2316🔥, 1💬

💬 2020-01-21 samso: Thanks for this wonderful blog that you have designed in this page. Very informative and effective article. Ver inspired article...

getBit() - Retrieving a Bit from a Byte Array
This section provides a tutorial example on how to get one bit back from a byte array at a specific bit position - getBit().
2019-11-14, 13707🔥, 2💬

💬 2016-07-10 bfssd: Meaningful 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, 9318🔥, 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/

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, 297🔥, 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, 2558🔥, 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...

Archived: Downloading/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, 10694🔥, 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 ...)

<< < 13 14 15 16 17 18 19 20 21 > >>   ∑:486  Sort:Rank