1 2 3 4 5 > >>   Sort: Rank

'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.
2019-03-17, 1387👍, 13💬

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

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

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

💬 2018-10-20 Herong: nb, that's interesting new version of the same JavaScript code: É=-~-~[],ó=-~É,Ë=É<<É,þ=Ë+~[]; ...

💬 2018-10-14 nb bbb: \u00c9=-~-~[],\u00f3=-~\u00c9,\u00cb =\u00c9<<\u00c9,\u00fe=\u00cb+ ~[];\u00cc=(\u00f3-\u00f3)[\u00db=(' '+{})[\u00c9+\u00f3]...

(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.
2019-03-15, 2987👍, 29💬

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

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

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

💬 2019-02-26 a: alert

💬 2019-02-18 Hello: &lt;script>alert.window ('hello')&lt;/script>

(More comments ...)

"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-02-18, 158👍, 1💬

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

"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-02-14, 159👍, 1💬

💬 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 Java DB (Derby)
This section describes how to download and install Java DB (Derby database server) 10.11 - free for evaluation.
2019-01-25, 5619👍, 11💬

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

💬 2018-05-10 Anonomyus: tanks

💬 2016-02-19 Ali: Good App

💬 2016-02-02 kotyba: very nice

💬 2016-02-02 kotyba: thanks

(More comments ...)

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.
2019-01-21, 53586👍, 40💬

💬 2019-01-21 shubhamsaini: kgnhrioe;lmgij gege

💬 2018-04-08 subhan: plz download

💬 2017-11-22 saghar: Thanks

💬 2017-11-04 ali: thanks for file

💬 2017-10-16 jahan zeb: no comment

(More comments ...)

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, 666👍, 1💬

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

Downloading and Installing JDK 10
This section describes how to download and install JDK 10 on a Windows system.
2018-12-23, 48491👍, 46💬

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

💬 2018-10-22 Chirag: Very good

💬 2018-09-02 Herong: Paul, thanks. Picture is added now.

💬 2018-08-30 Paul: This picture is missing.

💬 2018-08-19 Pia: Hello how are you?

(More comments ...)

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, 29980👍, 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, 790👍, 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, 404👍, 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, 8180👍, 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, 5504👍, 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, 167👍, 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, 167👍, 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, 170👍, 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, 170👍, 1💬

💬 2018-06-24 Maria: Cool!

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

Printable Copy - PDF Version
Information on how to obtain the PDF version of this book for printing.
2018-06-09, 1848👍, 9💬

💬 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. ☺

💬 2016-03-21 Keval: Please share more knowledge of java!

(More comments ...)

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, 11843👍, 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, 339👍, 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💬

1 2 3 4 5 > >>   Sort: Rank