How to check the JDK version of a class file
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
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
How to execute a shell command from Java using Runtime.getRuntime().exec()
method.
How to copy files in Java
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
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
How to get free disk space in Java using File.getFreeSpace()
, File.getTotalSpace()
and File.getUsableSpace()
.