1 2 3 4 > >>   Sort: Rank

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.
2017-09-20, 8941👍, 23💬

💬 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?

💬 2016-05-21 Herong: Anthony, this example program is missing a logic for communication start and stop conditions on both server and client sides. Ad...

💬 2016-05-19 Anthony: P.S. If you want to claim copyright then you should give permission to use the fragments in applications, which is the point, I ...

(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.
2017-09-05, 8267👍, 4💬

💬 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

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.
2017-09-04, 117👍, 1💬

'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.
2017-08-18, 1272👍, 16💬

💬 2017-04-21 Herong: Does anyone know what this line of codes "É=-~-~[],ó=-~É,Ë=É<<É,þ=Ë+~[] ;..."is for?

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

💬 2017-04-16 s: \u00c9 = -~-~[], \u00f3 = -~\u00c9, \u00cb = \u00c9 << \u00c9, \u00fe = \u00cb + ~[];

💬 2017-03-23 Herong: ahihi, what are you trying to test here?

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

(More comments ...)

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

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

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

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

Downloading and 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.
2017-08-05, 43242👍, 45💬

💬 2017-07-26 madhanlal: Just to learn

💬 2017-07-03 karthick: Java software for pc 1.7.0_03

💬 2017-04-01 zjheuzyr: thanks

💬 2017-03-23 Tamilselvan: good

💬 2017-03-08 asha: thanks

(More comments ...)

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

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

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.
2017-08-03, 45260👍, 34💬

💬 2017-08-03 Herong: Hamza, can you try to follow the steps given in this tutorial to install Java?

💬 2017-07-26 Hamza Iqbal: How we install java ...??

💬 2017-07-03 pr: thanks

💬 2017-07-02 dheeresh: java 1.8

💬 2017-06-27 jk: good

(More comments ...)

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

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

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

💬 2016-12-15 vijay: thanks

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-07-12, 1011👍, 3💬

💬 2017-06-16 marth: powerful tool

Setting UTF-8 Encoding in PrintStream
This section provides a tutorial example on how to set UTF-8 encoding an output PrintStream to correctly print non-ASCII characters.
2017-06-03, 148👍, 1💬

Creating Internal Frames inside the Main Frame
This chapter provides tutorial notes and example codes on internal frames. Topics include quick introduction of the javax.swing.JInternalFrame class and the javax.swing.JInternalFrameList enerinterface; examples of creating internal frames inside the main frame; examples of adding internal frame lis...
2017-04-19, 872👍, 4💬

💬 2017-04-19 dfdvdfvd: what is this???

💬 2016-10-12 Herong: Samuel, thanks for your comment and good luck on your learning!

💬 2016-10-11 samuel emmanuel: this is the best site for learning java.

Downloading and Installing JDK 1.8
This section describes how to download and install Java SE Development Kit (JDK) 8u45 on a Windows system.
2017-04-03, 5653👍, 4💬

💬 2017-04-03 prathamesh: greaT

💬 2016-10-24 azeem: thanksa

💬 2016-01-11 hari prasath: collage use

'jstatd' - JVM Remote Monitoring Server
This section describes the JVM remote monitoring server 'jstatd' and its options. 'jstatd' are used to allow JVM monitoring tools 'jps' and 'jstat' to access local JVM processes from a remote machine.
2017-04-01, 3591👍, 6💬

💬 2017-04-01 Herong: Asdaq, Thanks for sharing your comment.

💬 2017-03-31 Asdaq: For IBM SDK WebSphere Application Server this tool is not available.

💬 2015-12-13 Herong: Tim, I thought that every Linux system comes with JDK preinstalled. Not true?

💬 2015-12-12 tim: @majumder.soumya@gmail.com seems like you need to install jdk

💬 2015-07-29 Herong: Majumder, Are you using a remote Linux system? It could be that you user account do have the permission to run the "jstatd" tool...

(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.
2017-03-21, 461👍, 2💬

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

javax.net.debug - Debugging SSL Socket Communication
This section provides a tutorial example on how to use JVM property, javax.net.debug, to turn on the SSL socket communication debug option. The debug output message can help you to know what exactly happens at the SSL layer.
2017-03-02, 2449👍, 2💬

💬 2017-03-02 Herong: hemanth, you can follow SSL Client Authentication tutorials to see how to enable client authentication.

💬 2017-03-01 hemanth: How do i enable client authentication. I know that i have to set server to need client auth which i did but what about the clien...

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.
2017-02-27, 7366👍, 14💬

💬 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

💬 2016-02-12 Fayaz: Jdk 1.6

(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.
2017-02-26, 21471👍, 12💬

💬 2017-02-26 roberto: ok

💬 2016-05-21 Herong: sss, are you referring to the example program in Using HttpURLConnection to Call GetSpeech SOAP 1.1?

💬 2016-05-19 sss: it only worked after changing to con.setRequestProperty("Content-Type ","application/soap+xml; charset=utf-8"); and without usin...

💬 2015-12-29 Marcos Volpato: This worked for me, thanks a lot

💬 2015-08-31 King Of Goats!: goat!

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

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

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

'jstack' - Stack Tracer to Generate Thread Dump
This section provides a tutorial example on how to use the 'jstack' tool to generate a thread dump (print all running threads and their stack traces).
2017-01-23, 152👍, 1💬

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

1 2 3 4 > >>   Sort: Rank