Practical solutions

Java Howtos How-To Guides

Solve the problem. Keep building. Collection of Java how-to articles

Find the answer you need

Browse practical solutions, grouped by the task you're working on.

__COUNT__ entries on this page

How to Fix Java Error Invalid Character Found in Method Name. HTTP Method Names Must Be TokensIn the tutorial that we will go over today, we will talk about some of the possible causes and solutions of the Tomcat: java.lang.IllegalArgumentException: Invalid character found in method name. HTTP method names must be tokens. How to Toggle a Boolean Variable in JavaThis article introduces how to toggle a Boolean variable in Java. How to Use the wait() and notify() Methods in JavaThis tutorial demonstrates the wait() and notify() methods in Java. How to Set System Property in JavaThis tutorial talks about system property in Java and also guides how to set these properties. How to Set Library Path in JavaThis tutorial demonstrates how to set a library path in Java. How to Fix Java.IO.NotSerializableException in JavaThis tutorial demonstrates java.io.NotSerializableException in Java. It also speaks about its causes and delivers the solution. How to Fix Java Error java.util.InputMismatchExceptionThis article will discuss the java.util.InputMismatchException in the main thread of the Java programming language. How to Fix Error: There Is Insufficient Memory for the Java Runtime Environment to Continue in EclipseThis tutorial demonstrates the insufficient memory for the Java runtime environment error while working with Eclipse IDE. It also talks about its causes and a solution. How to Specify Java Version in Maven and Differences Between Compiler Properties & PluginThis article discusses the process of specifying Java version in maven, also compares the Java compiler properties & plugin. How to Deserialize JSON in JavaThis tutorial demonstrates how to deserialize JSON in Java. How to Extend Enums in JavaThis tutorial demonstrates how to extend enum functionality in Java. How to Convert OutputStream to String in JavaThis tutorial demonstrates how to convert OutputStream to String in Java. How to Use cURL in JavaThis tutorial educates about cURL and demonstrates its uses via code examples in Java. How to Get Screen Resolution in JavaThis tutorial will discuss how to get the screen resolution in Java. How to Filter List in JavaThis tutorial demonstrates how to filter a list in Java. How to Convert JSON Data to String in JavaThis tutorial will discuss converting JSON data to string in Java. How to Serialize Object to JSON in JavaThis tutorial demonstrates how to serialize an object to JSON in Java. How to Read Bytes From a File in JavaThis tutorial demonstrates how to read bytes from a file in Java. How to Get File Size in JavaThis tutorial demonstrates how to get the file size in Java. How to Call Python Script From Java CodeThis tutorial demonstrates three different ways to call Python scripts from Java code. How to Parse HTML in JavaThis tutorial will discuss how to parse HTML in Java efficiently. How to Use Mockito to Mock Static Method in JavaThis tutorial demonstrates how we can mock static method using mockito in Java. How to Read Excel File in JavaThis article demonstrates how to read an excel file in Java. How to Override and Overload Static Methods in JavaIn this article, we will discuss whether or not it is possible to override and overload static methods in Java.