<< < 1 2 3 4 >   Sort: Date

Managing JAR Files with WinZIP
This section provides a tutorial example on how to manage a JAR file as a ZIP file with the ZIP tool, WinZIP.
2016-06-10, 822👍, 2💬

💬 2016-06-10 Herong: Jordyn, can you try to follow Test #1 mentioned in the tutorial to open a .jar file with WinZIP?

💬 2016-06-10 Jordyn: This still doesn't quite help with opening the files for me. How do you open a .jar file? :/

Operations on "byte" Data Type Values
This section provides a tutorial example on how 'byte' values are casted to 'int' values when they are involved in arithmetic, comparison and bitwise operations.
2017-01-21, 815👍, 2💬

💬 2017-01-21 Herong: Anonymous, Good question. But what do you expect an operation of byte+byte will do?

💬 2017-01-19 Anonymous: Reason for why byte doesn't holds good the + operator directly.

'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, 784👍, 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, 772👍, 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, 698👍, 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, 685👍, 3💬

💬 2016-07-09 vetal: good

💬 2015-12-01 Michael Collins: Thanks

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

💬 2016-12-15 vijay: 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-10-26, 570👍, 3💬

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

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

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

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

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

💬 2016-12-17 J.: 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, 388👍, 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, 380👍, 1💬

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

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, 378👍, 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, 367👍, 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"

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, 337👍, 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(),

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

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, 297👍, 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?

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, 267👍, 3💬

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

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

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

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

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

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

Literal Formats for Floating-Point
This section describes 2 literal formats for floating-point values: decimal and hex floating-point literals. The default floating-point literal data type is 'double'.
2016-02-19, 232👍, 1💬

💬 2016-02-19 Merit Campus: You can clear many of your doubts regarding Literals in Java through Merit Campus, visit: [URL removed]. Not only Literals, we a...

<< < 1 2 3 4 >   Sort: Date