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

Awards

Famous Software Download

Frequently Asked Questions

Running

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(ClassLoader.java:676)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:317)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:375)

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.

Download
Another PostgreSQL Diff Tool
Version 2.4