Home » Archives for Sotirios-Efstathios Maneas » Page 3

Author Archives: Sotirios-Efstathios Maneas

Sotirios-Efstathios (Stathis) Maneas is a PhD student at the Department of Computer Science at the University of Toronto. His main interests include distributed systems, storage systems, file systems, and operating systems.

java.io.NotSerializableException – How to solve Not Serializable Exception

In this tutorial we will discuss about NotSerializableException in Java. The exception is thrown when an instance of a class must implement the Serializable interface. The exception is thrown by either the serialization runtime, or by the instance of the class. The argument of the NotSerializableException is the name of the class. The NotSerializableException class extends the ObjectStreamException class, which ...

Read More »

java.lang.ClassNotFoundException – How to solve Class Not Found Exception (with video)

In this tutorial, we will discuss the java.lang.classnotfoundexception – ClassNotFoundException. This exception is thrown when an application tries to load a class through its string name, but no definition for the specified class name could be found. A class can be loaded using one of the following methods: The forName method that resides inside the Class class.The findSystemClass method that ...

Read More »

java.io.ObjectStreamException – How to solve Object Stream Exception

In this tutorial we will discuss about ObjectStreamException. This exception is defined as the superclass of all exceptions specific to Object Stream classes. The ObjectStreamException is defined as an abstract class and thus, an instance of ObjectStreamException cannot be created. Also, the ObjectStreamException extends the IOException class, which signals that an I/O exception has occurred. There is a number of ...

Read More »

java.lang.IllegalArgumentException – How to solve Illegal Argument Exception

In this tutorial, we will discuss how to solve the java.lang.illegalargumentexception – IllegalArgumentException in Java. This exception is thrown in order to indicate that a method has been passed an illegal or inappropriate argument. For example, if a method requires a non-empty string as a parameter and the input string equals null, the IllegalArgumentException is thrown to indicate that the ...

Read More »

java.io.FileNotFoundException – How to solve File Not Found Exception (with video)

In this tutorial, we will discuss how to solve the java.io.FileNotFoundException – FileNotFoundException in Java. This exception is thrown during a failed attempt to open the file denoted by a specified pathname. Also, this exception can be thrown when an application tries to open a file for writing, but the file is read-only, or the permissions of the file do ...

Read More »

Install Java on Ubuntu Tutorial

In this tutorial, we will show you how to install the latest version of Java in Ubuntu 12.04 or later. An internet connection is required in order to download the corresponding Java packages. There are different versions of Java that can be installed in Ubuntu. First of all, the OpenJDK project is an open-source implementation of the Java SE Platform. ...

Read More »

Online Java Compiler – What options are there

In this tutorial, we will discuss what is an online Java compiler, that offers the ability to develop programs online, compile them, execute them, and finally, download them. In case you don’t have the Java Runtime Environment (JRE) or the Java Development Kit (JDK) installed on your local machine, online compilers can help you overcome this situation by providing a ...

Read More »

java.lang.nosuchmethoderror – How to avoid

In this tutorial we will discuss about Java’s NoSuchMethodError and how to deal with it. The NoSuchMethodError is a sub-class of the LinkageError class and denotes that an application code is trying to call a specified method of a class, either static or instance, and that class has no longer a definition for that method. This error exists since the ...

Read More »