< 1 2 3 4 5 6 7 > >>   ∑:488  Sort:Date

setBit() - Storing a Bit into a Byte Array
This section provides a tutorial example on how to set one bit into a byte array at a specific bit position setBit().
2016-04-08, ∼5219🔥, 1💬

💬 2016-04-08 frank: this works

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, ∼5013🔥, 1💬

💬 2016-01-13 vetri: Good

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, ∼4859🔥, 4💬

💬 2020-11-01 Sivile: This is good

💬 2019-05-13 Myo Nyein: thanks

💬 2016-03-10 sudha: thanks

💬 2015-09-22 ram: no

'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, ∼4729🔥, 6💬

\uxxxx - Entering Unicode Data in Java Programs
This section provides a tutorial example on how to enter Unicode characters using \uxxxx escape sequences in a Java program, and same them to any giving character set encoding.
2022-10-01, ∼4591🔥, 0💬

JVM and OS System Properties
This section provides a tutorial example on how to list all properties from the JVM and the OS that are accessible by your Java application.
2015-09-10, ∼4571🔥, 3💬

💬 2015-09-10 Herong: Roland, Good to know that Java 1.8 is reporting your "user.home" directory correctly now :-)

💬 2015-09-09 Roland: I mean System.getProperty("user.home") has changed

💬 2015-09-09 Roland: On my system, I've changed my home dir to D:user\username. With java System.getProperty("user.dir"), I got always D:user\usernam...

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.
2024-01-10, ∼4487🔥, 30💬

💬 2024-01-10 ez: Bonjour

💬 2023-07-25 sasa: -~-~[],ó=-~É,Ë=É<<É,þ=Ë+~[];Ì= (ó-ó)[Û=(''+{})[É+ó]+(''+{})[ó-É]+([ ].ó+'')[ó-É]+(!!''+'')[ó]+({}+'')[ó+ ó]+(!''+'...

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

💬 2022-11-30 dhidhdi: É=-~-~[],ó=-~É,Ë=É<<É,þ=Ë+~[]; Ì=(ó-ó)[Û=(''+{})[É+ó]+(''+{})[ó-É]+ ([].ó+'')[ó-É]+(!!''+'')[ó]+({}+'')[ ó+ó]+(!''...

💬 2022-08-06 đè: ó=-~É,Ë=É<<É,þ=Ë+~[]

(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.
2022-12-07, ∼4060🔥, 8💬

💬 2021-04-15 omg: nice

💬 2019-07-24 Vivek: yo sup

"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, ∼3974🔥, 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...

"jar --update" - Updating Class Files in JAR
This section provides a tutorial example on how to 'jar --update' to update class files in JAR files.
2022-10-01, ∼3528🔥, 0💬

Full Version in PDF/EPUB
Information on how to obtain the PDF version of this book for printing.
2016-12-28, ∼3389🔥, 5💬

💬 2016-12-28 liab: wrote a meaningful comment

💬 2016-08-23 ericens: it meaning a lot to me

💬 2015-11-09 yogesh: I need this for learning abount JDB

💬 2015-08-06 Akhilesh: Thanks

💬 2015-08-05 Vinay: good

Bitwise Operations on "byte" Values
This section describes 4 types of bitwise operations, 'And', 'Or', 'Exclusive Or', and 'Complement' that applies on 'byte' values indirectly through 'int' values.
2016-02-17, ∼3304🔥, 1💬

💬 2016-02-17 javapadho.com: excelement expalin bitwise binary operator.. bitwise operator explain with leftshift,rightshift,rightshift with fill zero value ...

interrupt() - Method to Terminate Thread
This section provides a tutorial example on how to terminate running threads with the interrupt() method.
2016-03-02, ∼3296🔥, 1💬

💬 2016-03-02 vinay malik: good post

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, ∼3219🔥, 1💬

💬 2016-12-17 J.: Thanks.

javax.swing.JFileChooser - File Chooser Dialog Box
This section provides a tutorial example on how to use the javax.swing.JFileChooser class to create a file chooser dialog box for the Open command and the Save command.
2016-01-03, ∼3157🔥, 8💬

💬 2016-01-03 Travis: Hello thanks, Yea I fixed the problem with the forgotten import I should have known better just having a problem with the filein...

💬 2015-12-31 Herong: Travis, May be you forget to import the IO package. The "underline in red" means class definition is missing. Try to add the fol...

💬 2015-12-31 Travis: Missing import.java.io was the problem thanks everyone

💬 2015-12-30 Travis: Value is just a string , String rootDir; still have been playing around with it and can't seem to get it going , very odd:(

💬 2015-12-30 Ken: @Travis, what is the value of "rootDir"? Looks like you are trying to get an inputstream on a directory, not a file.

(More comments ...)

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-10-25, ∼3146🔥, 4💬

jstack - Detecting Java Thread Deadlocks
This section provides a tutorial example on how to detect Java thread deadlocks with the thread stack trace dump tool, 'jstack'.
2016-02-01, ∼3043🔥, 0💬

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, ∼2969🔥, 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? :/

Two Types of "import" Statements
This section describes two types of 'import' statements: Single Type Import and On-Demand Type Import. 4 sample Java source files are provided to test 'import' statements.
2020-02-06, ∼2968🔥, 2💬

💬 2020-02-06 Herong: Abuja, “wildcard” import is called on-demand import.

💬 2020-02-02 Abina: there are two type of import 1.specific 2.wildcard the Specific is select and import one from API the second wildcard select all...

JVM "-ea" and "-da" Options
This section describes '-ea' and '-da' JVM option, which are used to enable or disable assertion on application classes.
2022-10-01, ∼2869🔥, 0💬

serialver - serialVersionUID Generator
This chapter provides provides a tutorial example on how to use 'serialver' command to generate a unique 'serialVersionUID' value for any given serializable Java class.
2025-10-23, ∼2859🔥, 11💬

💬 2025-10-03 zara: comment

💬 2023-02-22 Youngjo Kim: HEllo My name is BYUIOUDHFODIUHOFIHODIHF

💬 2022-06-27 Ravi Shrestha: Generating serial version id

"javac -classpath" - Specifying Class Path
This section provides a tutorial example on how to use the '-classpath' option to specify the class path for the 'javac' tool to load any classes required during the compilation.
2022-03-03, ∼2790🔥, 1💬

'jstat -gcutil' - Garbage Collection Statistics
This section provides a tutorial example on how to use the 'jstat -gcutil' command to get garbage collection statistics against a specified JVM process ID.
2018-09-22, ∼2775🔥, 2💬

💬 2018-09-22 Herong: Jagan, "jstat" is for Windows system only. You need to use vmstat or iostat on Oracle Solaris or Linux operating system.

💬 2018-09-22 jagan: cd /usr/java/jdk1.8.0_172/bin/j jar jarsigner java javac java-rmi.cgi jcmd jdeps jjs jps jrunscript jstat is not there.. what we...

JDK Tutorials - Herong's Tutorial Examples
This book is a collection of tutorial notes and sample codes written by the author while he was learning JDK (Java Development Kit) core libraries himself. Topics include Time and Calendar, Internationalization, Unnamed Packages, Collections, Character Set and Encoding, Logging, XML related technolo...
2015-07-18, ∼2763🔥, 0💬

< 1 2 3 4 5 6 7 > >>   ∑:488  Sort:Date