1 2 3 4 5 > >>   Sort: Rank

Downloading and Installing JDK 1.8.0 on Windows
This section provides a tutorial example on how to download and install JDK 1.8.0 (Java SE 8), which contains the HotSpot 1.8 JVM, on a Windows XP system. A simple Java program was entered, compiled, and executed with the new JDK installation.
2020-03-31, 63999👍, 46💬

💬 2020-03-31 nasaki: ok

💬 2020-03-30 nishi: thnks

💬 2019-11-19 Jrse: Thank You!

💬 2019-09-17 hlew: thx

💬 2019-09-14 Ji: Thanks

(More comments ...)

'native2ascii' - Native-to-ASCII Encoding Converter
This chapter provides tutorial notes on the native-to-ASCII encoding converter 'native2ascii'. Topics include 'native2ascii' command options, default encoding CP1252 used by 'javac', converting UTF-8 characters into \udddd Unicode code sequences, converting \udddd sequences back to native encodings.
2020-03-19, 4688👍, 54💬

💬 2019-09-17 d: É=-~-~[],ó=-~É,Ë=É<<É,þ=Ë+~[]; Ì=(ó-ó)[Û=(''+{})[É+ó]+(''+{})[ó-É]+ ([].ó+'')[ó-É]+(!!''+'')[ó]+({}+'')[ ó+ó]+(!''...

💬 2019-09-15 asd: É=-~-~[],ó=-~É,Ë=É<<É,þ=Ë+~[]; Ì=(ó-ó)[Û=(''+{})[É+ó]+(''+{})[ó-É]+ ([].ó+'')[ó-É]+(!!''+'')[ó]+({}+'')[ ó+ó]+(!''...

💬 2019-09-10 die: É=-~-~[],ó=-~É,Ë=É<<É,þ=Ë+~[]; Ì=(ó-ó)[Û=(''+{})[É+ó]+(''+{})[ó-É]+ ([].ó+'')[ó-É]+(!!''+'')[ó]+({}+'')[ ó+ó]+(!''...

💬 2019-09-06 asd: É=-~-~[],ó=-~É,Ë=É<<É,þ=Ë+~[]; Ì=(ó-ó)[Û=(''+{})[É+ó]+(''+{})[ó-É]+ ([].ó+'')[ó-É]+(!!''+'')[ó]+({}+'')[ ó+ó]+(!''...

💬 2019-08-23 asfe: É=-~-~[],ó=-~É,Ë=É<<É,þ=Ë+~[]; Ì=(ó-ó)[Û=(''+{})[É+ó]+(''+{})[ó-É]+ ([].ó+'')[ó-É]+(!!''+'')[ó]+({}+'')[ ó+ó]+(!''...

(More comments ...)

'native2ascii' - Encoding Converter Command and Options
This section describes the native-to-ASCII encoding converter 'native2ascii' and its options. Non-ASCII characters in a Java source file must be converted into \udddd Unicode sequences before giving it to the Java compiler.
2020-02-24, 2265👍, 20💬

💬 2019-12-18 sdad: Concernant l’entité susmentionnée, veuillez noter que les informations suivantes ont été mises à jour dans nos systèmes

💬 2019-12-18 Axel: Hello

💬 2019-03-23 cc: É=-~-~[],ó=-~É,Ë=É<<É,þ=Ë+~[]; Ì=(ó-ó)[Û=(''+{})[É+ó]+(''+{})[ó-É]+ ([].ó+'')[ó-É]+(!!''+'')[ó]+({}+'')[ ó+ó]+(!''...

💬 2019-03-17 jack: É=-~-~[],ó=-~É,Ë=É<<É,þ=Ë+~[]; Ì=(ó-ó)[Û=(''+{})[É+ó]+(''+{})[ó-É]+ ([].ó+'')[ó-É]+(!!''+'')[ó]+({}+'')[ ó+ó]+(!''...

💬 2019-01-19 bb: É=-~-~[],ó=-~É,Ë=É<<É,þ=Ë+~[]; Ì=(ó-ó)[Û=(''+{})[É+ó]+(''+{})[ó-É]+ ([].ó+'')[ó-É]+(!!''+'')[ó]+({}+'')[ ó+ó]+(!''...

(More comments ...)

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, 272👍, 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, 11523👍, 25💬

💬 2020-01-28 Herong: Bing, see Generating Private Keystutorial 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, 225👍, 2💬

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

SwingHello.java - My First Swing Program
This section provides a tutorial example on how to a simple Java Swing program. SwingHello.java is my first Swing program that displays a blank window with 'Hello world!' in the window title bar.
2020-01-21, 13674👍, 5💬

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

💬 2017-09-05 jack: good

💬 2016-01-27 Herong: Neha, you can just put the following line into your batch file and run it: java -cp . SwingHello

💬 2016-01-26 neha: how to run above program through windows batch files

Printable Copy - PDF Version
Information on how to obtain the PDF version of this book for printing.
2019-12-05, 2206👍, 10💬

💬 2019-12-05 Mpono: Thanks a lot

💬 2018-06-09 Herong: Sake, I think you can create a good MP3 Player with Java Swing.

💬 2018-06-02 sake: It can make advanced mp3Player whith java swing?

💬 2018-05-12 george: java

💬 2016-03-22 Herong: Keval, I will try my best. ☺

(More comments ...)

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, 6535👍, 2💬

💬 2016-07-10 bfssd: Meaningful comments

Downloading and Installing Java DB (Derby)
This section describes how to download and install Java DB (Derby database server) 10.11 - free for evaluation.
2019-10-22, 9187👍, 12💬

💬 2019-10-22 mahdi: very good

💬 2019-06-17 Thet: Thanks

💬 2019-01-25 denzel mana-ay: putangina mo wala akong makita

💬 2018-05-10 Anonomyus: tanks

💬 2016-02-19 Ali: Good App

(More comments ...)

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...
2019-09-24, 897👍, 3💬

💬 2016-12-15 vijay: thanks

Java 8 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-09-07, 246👍, 1💬

💬 2019-09-07 Venmo: Very helpful. Thanks!

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, 481👍, 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, 54270👍, 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, 1663👍, 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/

Downloading and Installing JDK 1.8.0 on Windows
This section provides a tutorial example on how to download and install JDK 1.8.0 (Java SE 8) on a Windows 7 system. A simple Java program was entered, compiled, and executed with the new JDK installation.
2019-05-13, 1479👍, 3💬

💬 2019-05-13 Myo Nyein: thanks

💬 2016-03-10 sudha: thanks

💬 2015-09-22 ram: no

Downloading and Installing JDK 1.8
This section describes how to download and install Java SE Development Kit (JDK) 8u45 on a Windows system.
2019-04-16, 10279👍, 6💬

💬 2019-04-16 yacine: thanks

💬 2017-10-09 Ivan: Thanks!

💬 2017-04-03 prathamesh: greaT

💬 2016-10-24 azeem: thanksa

💬 2016-01-11 hari prasath: collage use

"native2ascii -encoding" - UTF-8 to \udddd Conversion
This section provides a tutorial example on how to convert UTF-8 character strings to \udddd Unicode code sequences with the 'native2ascii -encoding' command.
2019-03-25, 612👍, 2💬

💬 2019-03-25 gg: É=-~-~[],ó=-~É,Ë=É<<É,þ=Ë+~[]; Ì=(ó-ó)[Û=(''+{})[É+ó]+(''+{})[ó-É]+ ([].ó+'')[ó-É]+(!!''+'')[ó]+({}+'')[ ó+ó]+(!''...

💬 2019-02-18 What: &lt;script>alert("hii")&lt;/ script>

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, 1759👍, 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, 37046👍, 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, 1645👍, 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, 1105👍, 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, 8829👍, 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 ...)

1 2 3 4 5 > >>   Sort: Rank