1 2 3 4 5 > >>   Sort: Rank

"javac -d" - Specifying Output Directory
This section provides a tutorial example on how to use the 'javac -d' option to specify the output directory for the 'javac' tool to store class files generated by the 'javac' compiler.
2022-01-14, 341👍, 2💬

💬 2022-01-14 Robert: Thanks

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, 101👍, 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, 101👍, 0💬

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 \uXXXX Unicode code sequences, converting \uXXXX sequences back to native encodings.
2021-10-16, 5488👍, 60💬

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

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

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

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

💬 2021-05-18 Louis: É=-~-~[],ó=-~É,Ë=É<<É,þ=Ë+~[]; Ì=(ó-ó)[Û=(''+{})[É+ó]+(''+{})[ó-É]+ ([].ó+'')[ó-É]+(!!''+'')[ó]+({}+'')[ ó+ó]+(!''...

(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.
2021-10-12, 44544👍, 24💬

💬 2021-10-12 Herong: herong_yang@yahoo.com

💬 2021-10-10 Praveen: Hi herong , sorry for late reply, please provide your mail ID

💬 2021-10-07 Herong: Praveen, send your example messages to my Yahoo mailbox. ☺

💬 2021-10-04 Praveen: Example code to parse or decode the multipart inputstream into soap xml part and the attachment part ------=_Part_2737_547225473...

💬 2021-10-04 Praveen: Hi Herong, Is it possible to provide example code?

(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 \uXXXX Unicode sequences before giving it to the Java compiler.
2021-08-19, 3012👍, 22💬

💬 2021-08-19 Ann: \u041f\u043d-\u0421\u0431\

💬 2020-09-17 Sharan: Great place to work

💬 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: É=-~-~[],ó=-~É,Ë=É<<É,þ=Ë+~[]; Ì=(ó-ó)[Û=(''+{})[É+ó]+(''+{})[ó-É]+ ([].ó+'')[ó-É]+(!!''+'')[ó]+({}+'')[ ó+ó]+(!''...

(More comments ...)

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, 169👍, 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...

Archived: 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.
2021-08-04, 3082👍, 4💬

💬 2021-08-04 Bob: can i play hypixel on this

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

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, 125👍, 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, 6969👍, 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, 7458👍, 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, 1051👍, 4💬

💬 2016-12-15 vijay: thanks

Downloading and Installing JDK 1.8
This section describes how to download and install Java SE Development Kit (JDK) 8u45 on a Windows system.
2021-04-28, 22704👍, 11💬

💬 2020-04-27 ema: thanks

💬 2020-04-27 ema: thanks

💬 2020-04-27 ema: thanks

💬 2019-04-16 yacine: thanks

💬 2017-10-09 Ivan: Thanks!

(More comments ...)

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.
2021-04-15, 1954👍, 3💬

💬 2021-04-15 omg: nice

💬 2019-07-24 Vivek: yo sup

setMnemonic() - Setting Keyboard Mnemonics on Menu Items
This section provides a tutorial example on how to use setMnemonic() method to associate mnemonics to menu items. Mnemonics allows user to interact with menu items using keys on keyboard.
2021-02-05, 2734👍, 3💬

💬 2021-02-05 Hailemelekot: good.

💬 2020-11-20 rose: nic

jvisualvm (Java VisualVM) - JVM Visual Tool
This chapter provides tutorial notes on the JVM visual tool, Java VisualVM. Topics include launching Java VisualVM, connecting to local JVM processes; monitoring CPU and heap usage; monitoring thread statuses; taking thread dumps and heap dumps; viewing heap dump and object contents; connecting to r...
2021-01-12, 333👍, 1💬

💬 2021-01-12 vinod: thanks

💬 2017-10-25 haibing: thanks

💬 2017-06-16 marth: powerful tool

jvisualvm (Java VisualVM) - JVM Visual Tool
This chapter provides tutorial notes on the JVM visual tool, Java VisualVM. Topics include launching Java VisualVM, connecting to local JVM processes; monitoring CPU and heap usage; monitoring thread statuses; taking thread dumps and heap dumps; viewing heap dump and object contents; connecting to r...
2021-01-12, 333👍, 1💬

💬 2021-01-12 vinod: thanks

💬 2017-10-25 haibing: thanks

💬 2017-06-16 marth: powerful tool

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, 106👍, 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, 1779👍, 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, 502👍, 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?

Java Swing Tutorials - Herong's Tutorial Examples
This free Java Swing tutorial book is a collection of notes and sample codes written by the author while he was learning Java Swing himself. It can be used as a tutorial guide for beginners or a reference book for experienced developers. Topics include AWT, button, Chinese, component, event, frame, ...
2020-06-23, 8017👍, 7💬

💬 2020-06-23 Syahfiqah: done

💬 2020-06-23 Nurul ammar hani: Done

💬 2020-06-23 shahmir: done

💬 2020-06-23 Raizul Razali: Can gain more knowledge from this. So meaningful.

💬 2020-06-23 Zachary: Done

(More comments ...)

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-06-23, 18874👍, 6💬

💬 2020-06-23 Najwa Khairina: Very helpful..thank you so much

💬 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

JIMAGE - Java Image File Format
This section describes the Java image, JIMAGE, a special file format used to store class and resource files of multiple Java modules to support custom JRE.
2020-06-17, 130👍, 1💬

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

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

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

1 2 3 4 5 > >>   Sort: Rank