Java Tutorial

Introduction To Java File Class

A java.io.File class object is used to represent directory or file in java, You can use it to do any operation to the file or directory in the system. The action you can take include create, move, copy, delete etc. Below i will show you how to do such actions in java.

How To Fix Java Unsupported major.minor Version 51.0 Exception

When you run a program in Eclipse or command line. You may encounter the following exception java.lang.UnsupportedClassVersionError: Unsupported major.minor version 51.0. This is because your java class compiler version is bigger than the java class runtime version. In my environment, my java runtime version is 1.6, but my eclipse java compiler version is 1.8. So …

How To Fix Java Unsupported major.minor Version 51.0 Exception Read More »