Another PostgreSQL Diff Tool (apgdiff) free database schema diff tool


Famous Software Download

Frequently Asked Questions


Q: When I try to run the application, I get this exception:

Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(
    at Method)
    at java.lang.ClassLoader.loadClass(
    at sun.misc.Launcher$AppClassLoader.loadClass(
    at java.lang.ClassLoader.loadClass(
    at java.lang.ClassLoader.loadClassInternal(

A: Bad version number in .class file on the first line indicates that you are running Java older than version 1.6. As apgdiff is compiled with Java 1.6 for running on Java 1.6 or newer, you cannot run it on older versions of Java. You can install newer Java from Sun Java page. Also, make sure that default Java on your system is Java 1.6 or newer, as apgdiff will fail even if you have Java 1.6 installed but your system still uses older Java to run apgdiff.

Q: When running apgdiff on some files, I get exception. What should I do to get rid of the exception?

A: File bug at GitHub Issue Tracker. When you file bug, I get notified on email about new bug and can have a look at it, maybe even immediately. If it is possible, also include some SQL sample that triggers the exception. It can save me a lot of time as I can debug the issue on the file and makes the cause and solution of the problem pretty obvious so I will be enable to fix the bug much faster.

Another PostgreSQL Diff Tool
Version 2.4