1 2 3 4 > >>   Sort: Date

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-02-07, 36978👍, 38💬

💬 2017-02-07 ram: thanx

💬 2016-11-28 lajeannmacdowell: a love this app beecause it helps you to comuicate withppl

💬 2016-11-01 Kashif Ahmad: Very nice Thanks

💬 2016-10-03 Sultan: Interested

💬 2016-09-20 phou: verygood

(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.
2017-02-01, 35746👍, 41💬

💬 2016-12-31 de Abir: i needed?

💬 2016-12-23 mostafa: thanks

💬 2016-11-01 KRISHNA: happy to use it

💬 2016-10-18 canoon: thands

💬 2016-10-14 Thang: ok

(More comments ...)

"keytool -export/import" - Exporting and Importing Certificates
This section provides a tutorial example on how to use the 'keytool -export' command to export certificates out of a 'keystore' file. The 'keytool -import' command can be used to import certificates into a 'keystore' file.
2015-08-15, 16887👍, 1💬

💬 2015-08-14 Jay: This is exactly what i was looking for... thank you...

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.
2016-08-02, 16816👍, 11💬

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

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.
2016-09-21, 8110👍, 21💬

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

💬 2016-05-19 Anthony@Berglas.org: I needed to add a Client trust store, code below, which should go into your example. Also, the setSoLinger did not work for me, ...

💬 2016-04-08 Herong: rj, I believe handshake happens at this statement: SSLSocket c = (SSLSocket) s.accept();

(More comments ...)

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.
2017-01-20, 6894👍, 7💬

💬 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: <?xml version="1.0" encoding="UTF-8"?> <wsdl:definitions xmlns:s="http://www.w3.org/2001/XMLS chema"xmlns:soap12="http://s...

💬 2015-12-18 prem: thanks

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.
2016-01-27, 6774👍, 2💬

💬 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

SslSocketClient.java - SSL Client Socket Example
This section provides a tutorial example on how to write a sample program to create a SSL client socket to connect to a SSL server socket. The connection will fail if the server's certificate is self-signed.
2016-06-10, 6566👍, 3💬

💬 2016-06-10 Herong: Algérian, did you find what you were looking for here?

💬 2016-06-08 the Algérian: Je te jure que aprés une semaine de recherche j'ai pu trouver ce que j'étais d'entrain de chercher. Bravo et Bon continuation.

💬 2016-05-27 rono: very good your code

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-01-29, 6343👍, 12💬

💬 2017-01-29 hiiii: hi

💬 2016-10-17 Abhishek: Thanks

💬 2016-02-12 Fayaz: Jdk 1.6

💬 2015-12-10 romeje: nice

💬 2015-12-10 romeje: meaningful

(More comments ...)

Creating the First JAR File - hello.jar
This section provides a tutorial example on how to create a JAR file with the 'jar' command.
2016-03-02, 5057👍, 1💬

💬 2016-03-02 luis: algun comentario

Downloading and Installing JDK 1.8
This section describes how to download and install Java SE Development Kit (JDK) 8u45 on a Windows system.
2016-10-24, 4471👍, 3💬

💬 2016-10-24 azeem: thanksa

💬 2016-01-11 hari prasath: collage use

getSelection() - Getting Selected Button
This section provides a tutorial example on how to use the getSelection() method to know which button is selected in a button group.
2016-06-02, 4339👍, 3💬

💬 2016-02-22 aaa: God is the greatest

💬 2016-02-22 aaa: we are here to learn

BankingThread.java - Synchronization Sample Program
This section provides a tutorial example on how to solve the banking synchronization issue with Java synchronized methods.
2017-01-21, 4220👍, 5💬

💬 2017-01-21 Herong: Abhishek, I think this is the simplest example to demonstrate multi-threading and synchronization.

💬 2017-01-18 Abhishek: This is too complex for a beginner. Please write a simpler one.

💬 2016-09-17 Herong: dot.g, really? please give details.

💬 2016-09-15 dot.g: worst kind of programming

💬 2015-07-24 tintin: hi

Generating Client Side Stub Java Code
This section provides a tutorial example on how to run WSDL2Java to generate client side stub Java code from an existing WSDL document. The generated stub class will have a package name borrowed from the target namespace of the Web service.
2015-11-25, 4181👍, 1💬

💬 2015-11-25 thakur: nice

Downloading and Installing Java DB (Derby)
This section describes how to download and install Java DB (Derby database server) 10.11 - free for evaluation.
2016-02-19, 3741👍, 9💬

💬 2016-02-19 Ali: Good App

💬 2016-02-02 kotyba: very nice

💬 2016-02-02 kotyba: thanks

💬 2015-10-30 govind: super

💬 2015-08-29 memo: thanks

(More comments ...)

HttpsClient.java - HTTPS Client Test Program
This section provides a tutorial example on how to write a HTTPS client test program, HttpsClient.java. It sends a simple HTTP request page using the HTTPS protocol.
2015-11-20, 3430👍, 6💬

💬 2015-11-20 Herong: Philip, can you run HttpsHello server with SSL debug turned on? My test programs do have issues with newer build of JDK 1.7 and ...

💬 2015-11-19 Philip: java version "1.7.0_80" Java(TM) SE Runtime Environment (build 1.7.0_80-b15) Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11,...

💬 2015-11-19 Herong: Philip, which JDK version are you using?

💬 2015-11-18 Philip: I changed the code, but then reset back to the example. I recreated the jks a few times. The JVM and OS had not changed. It stop...

💬 2015-11-18 Herong: Philip, Was anything changed? Certificates, code, JVM or operating system...

(More comments ...)

Java Tools Tutorials - Herong's Tutorial Notes
This free book is an excellent tutorial book for beginners. It is a collection of notes and sample codes written by the author while he was learning Java tools himself. Topics include java, javac, jar, jdb, jar, javap, keytool, jconsole, jps, jstatd, jstat, jinfo, jmap, jhat, jstack.
2016-01-12, 3234👍, 1💬

💬 2016-01-12 ASHIS BEHERA: IT IS VERY GOOD

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.
2016-12-19, 3041👍, 3💬

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

'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.
2016-02-26, 2874👍, 4💬

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

💬 2015-07-28 majumder.soumya@gmail.com: I am trying in to run jstatd in my command box using putty. I am getting command not found. But if I run javac or java I,m getti...

"keytool" Commands and "keystore" Files
This chapter provides tutorial notes and example codes on the 'keytool' command. Topics include introduction of public key certificates, 'keystore' file, 'keytool' command; generating new keys and self-signed certificates; exporting and importing certificates; cloning certificates to share keys.
2015-11-23, 2377👍, 3💬

💬 2015-08-10 mike: Cool

Java Tutorials - Herong's Tutorial Examples
This free Java book is a collection of notes and sample codes written by the author while he was learning Java himself. It covers topics related Java language core features and classes provided in the java.lang.* package: array, bit, byte, deadlock, expression, generic class, generic method, literal...
2016-03-05, 2358👍, 8💬

💬 2016-03-05 SOUMO BISWAS: YES

💬 2016-02-26 Herong: Maurice, Thanks for the positive feedback!

💬 2016-02-25 Maurice: It is a great JVM book

💬 2015-12-05 Herong: Yogesh, we need better examples than what you have suggested...

💬 2015-12-05 yogesh kumar: Visit more java examples [URL removed]

(More comments ...)

'com.sun.management.jmxremote.port' - JMX Agent for Remote Connection
This section provides a tutorial example on how to turn on the out-of-the-box JMX agent on Sun JVM for monitoring tool 'jconsole' to connect from remote machines.
2016-01-13, 1770👍, 1💬

💬 2016-01-13 vetri: Good

"Unexpected subelement ..." Error from the Stub Class
This section provides a tutorial example on how to troubleshoot and resolve the 'Unexpected subelement ...' error occurred in the stub class. The root cause of the error is the namespace on sub elements of the response SOAP Body does not match what defined in the WSDL document.
2015-10-10, 1723👍, 5💬

💬 2011-03-19 Jose Eduardo: Sorry for wasting your time, I think i got the solution... first i got the Date error because I change the order of the data ser...

💬 2011-03-19 Jose Eduardo: Yes, indeed... please, I don't know if it's a problem of wso2 cache of anything else, i've tried almost everything...

💬 2011-03-16 Herong: Jose, Are you referring to the error and fix discussed in "Unexpected subelement ..." Error from the Stub Class?

💬 2011-03-16 Jose Eduardo: I saw your article about a "bug" on the client generated code of a web service at WSDL2Java Unexpected subelement Error from Stu...

Adding META-INF/MANIFEST.MF to JAR Files
This section provides a tutorial example on how to add manifest files to JAR files.
2016-05-12, 1615👍, 1💬

💬 2016-05-12 mps: nice..

1 2 3 4 > >>   Sort: Date