<< < 1 2 3 4 >   Sort: Date

Downloading and Installing Java 8 on Windows
This section describes how to download and install Java 8 (Java Standard Edition Development Kit 1.8) on Windows.
2016-02-26, 896👍, 2💬

💬 2015-07-29 Herong: Sophie, I am so glad that my tutorial is helpful to you.

💬 2015-07-29 Sophie: Thank you. I have successfully installed Java jdk 1.8 using the instructions on this web page.

LookAndFeel and UIManager
This chapter provides tutorial notes and example codes on UI look and feel. Topics include introduction of javax.swing.LookAndFeel and javax.swing.UIManager classes; example programs on how to manage UI look and feel.
2015-12-12, 876👍, 1💬

💬 2015-12-12 Adil: Good work

'jar' - The JAR File Tool
This chapter provides notes and tutorials on JAR file tool, 'jar'. Topics include Java Archive (JAR) file forma, 'jar' command options, creating JAR files, managing JAR files with WinZIP, using manifest file, creating executable JAR files.
2016-02-27, 815👍, 3💬

💬 2015-06-06 svdude: Love your clear explanation of creating and using JARs. Thank you!

💬 2010-12-25 Herong: Eka, No, you can not use client's public key to sign a .jar file. Digital signature needs to be generated using your own private...

💬 2010-12-22 Eka: If i have a client's public key... can i sign a .jar using his public key to later be used only by him?

Managing Bit Strings in Byte Arrays
This chapter provides tutorial notes and tutorial examples on managing bit strings in byte arrays. Topics include setting a bit value into a byte array; getting a bit value back from a byte array; rotating all bits in a byte array.
2016-02-27, 809👍, 4💬

💬 2015-10-10 Brian: Excellent tutorials. Thanks!

💬 2006-11-19 Herong: Hi Naren, I added a section, Managing Bit Strings in Byte Arrays, to explain the getBit() and setBit() used in the DES implemena...

💬 2006-11-10 Naren: can u help me how the getbit() and setbit() implementation is done ...y ur are taken the hexadecimal no for the processing This ...

💬 2006-11-10 A visitor: hi, Your program for des is superb ......but can u help me how the getbit() and setbit() implementation is done ...y ur are take...

SocketRequestResponseServer.java - Socket Server Testing Program
This section provides a tutorial example on how to write a socket level server side testing program to receive and record request received from a client program.
2015-08-01, 722👍, 2💬

💬 2015-07-31 Herong: Javier, Please read this tutorial: Capturing the HTTP Request from a Browser. It provides an example on how to run this program ...

💬 2015-07-31 javier: sorry my bad english.. please an example, how use this, parameters?

PDF Printing Version
Information on how to obtain the PDF version of this book for printing.
2016-07-09, 719👍, 3💬

💬 2016-07-09 vetal: good

💬 2015-12-01 Michael Collins: Thanks

'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.
2017-12-06, 713👍, 4💬

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

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

💬 2017-03-21 Ashish: It is good for learn

Bits, Bytes, Bitwise and Shift Operations
This chapter provides tutorial notes and tutorial examples on bits, bytes and bitwise operations. Topics include bits and bytes as storage units; 'byte' data type and (byte) casting; bitwise operations; shift operations.
2016-02-20, 705👍, 1💬

💬 2016-02-20 oopo: 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...
2017-07-17, 608👍, 2💬

💬 2016-12-15 vijay: thanks

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

💬 2017-08-03 Lenni: I can't see any useful information

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

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

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

💬 2017-11-27 Herong: Sandeep, not sure. It uses TCP protocol, lower than HTTP post. But you can try it.

💬 2017-11-22 Sandeep: Can this also read post request from cleint

SSL Client Authentication Test Result
This section provides the test result of running the SSL server program and the SSL client program. The result shows that the server and the client authenticated each other's identity correctly.
2016-05-11, 503👍, 2💬

💬 2016-05-11 Herong: Roman, good point. We need to compile the Java code into a class file first. Thanks.

💬 2016-05-07 Roman: you have small mistake there, it should be: With SslReverseEchoerRevised.class and... instead of: With SslReverseEchoerRevised.j...

'javaw' - Launching Java Programs without Console
This section provides a tutorial example on how to use 'javaw' tool to launch a Java program without the output console window.
2016-04-27, 477👍, 1💬

LambdaCalculator.java - Lambda Expression Example
This section provides a tutorial example on using an lambda expression to define a class anonymously implementing a single abstract method interface. An anonymous class and a local class are used as comparisons.
2016-12-17, 470👍, 1💬

💬 2016-12-17 J.: Thanks.

java.time.Instant - Get(INSTANT_SECONDS) Error
This section provides a tutorial example showing an unexpected error, Invalid value for InstantSeconds, when trying to call the get(ChronoField.INSTANT_SECOND S)method.
2016-08-03, 393👍, 2💬

💬 2016-08-03 Herong: G, Thanks for pointing out the root cause of the issue. I will correct it in the next update.

💬 2016-08-02 G: the valid values range is outside of int, use getLong() instead of get(),

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.
2015-11-10, 381👍, 1💬

Floating-Point Data Types
This section describes value ranges and storage space sizes of floating-point data types: float and double.
2016-02-15, 378👍, 5💬

💬 2016-02-15 Herong: To Merit Campus, I have to remove links. Advertisement is not allowed in comments

💬 2016-02-15 Merit Campus: You can clear many of your doubts regarding data types in Core Java through Merit Campus, visit: [URL removed]. Not only data ty...

💬 2015-10-31 Herong: Page updated now. Thanks again, Raj.

💬 2015-10-24 Herong: Raj, good catch. It will be corrected later.

💬 2015-10-23 raj: Chief, second point should be "double" but it says "float"

Using SO_LINGER Socket Option
A tutorial example is provided to show how to use the SO_LINGER socket option to prevent the server closing the socket too soon after writing the response to the socket.
2017-02-16, 344👍, 2💬

💬 2017-02-16 Herong: Gaurav, you can to follow "keytool -genkey" - Generating Keys and Self-Signed Certificates tutorial to generate herong.jks.

💬 2017-02-15 Gaurav Kumar: Where can i get this file herong.jks?

SslContextTest.java - javax.net.ssl.SSLContext Class Test
This section provides a tutorial example on how to write a simple program to test the java.net.ssl.SSLContext class.
2015-10-28, 315👍, 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, 288👍, 1💬

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

Using JAR Files in Java Class Paths
This section provides a tutorial example on how to use JAR files in class paths during Java compilation and execution time.
2017-02-04, 288👍, 3💬

💬 2017-02-04 Herong: Chris, Thanks for sharing the information.

💬 2017-02-03 Chris: For unix, on the last command, ".;" changes to ".:".

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.
2017-08-07, 282👍, 2💬

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

Option Dialog Boxes
This chapter provides tutorial notes and example codes on option dialog box. Topics include creating and displaying message, confirmation, input and option dialog boxes; receiving input values from option dialog boxes; creating and display internal dialog boxes; creating option dialog box directly.
2015-11-02, 254👍, 1💬

<< < 1 2 3 4 >   Sort: Date