How to check the JDK version of a class file

  • 17 March 2020
  • ADM

When running a Java application it is mandatory that the JRE version to match or to be higher that the JDK version used to compile the application.

You will get the "Unsupported major.minor version 52.0" error when trying to run an Java 1.8 application using a lower version of Java.


XML and HTML sitemap file in SEO

  • 16 February 2020
  • George

The sitemap's a file place on your website that will enable Google and other search engines to crawl better and understand the structure of the site. Sitemaps also tell search engines which pages on your site are most important. It's a binder of your website's content.


How to execute shell command from Java

  • 20 June 2018
  • ADM

How to execute a shell command from Java using Runtime.getRuntime().exec() method.


How to copy files in Java

  • 18 January 2017
  • ADM

How to copy files in Java with three examples: Classic method with streams, using FileChannel class and using Files class.


Windows basics commands and tools for developers

  • 23 May 2016
  • ADM

Windows command prompt basics commands like ping, telnet, dir, cd, ipconfig and tools like Task Manager, Services, Registry.


How to get free disk space in Java

  • 05 April 2016
  • ADM

How to get free disk space in Java using File.getFreeSpace(), File.getTotalSpace() and File.getUsableSpace().