...
OFBiz is written in Java and requires a full Java Development Kit (JDK) from Sun/Oracle or OpenJDK to run.
WARNING: It won't run on a Java Runtime Environment (JRE) alone. Java workalikes, including Blackdown, Kaffe, and others do NOT run OFBiz successfully (yet).
Sun's Java version numbering is a bit schizophrenic-- Java 6 means version 1.6, while Java 5 means version 1.5. OFBiz Java version requirements are as follows:
- trunk, 13.07 requires Java SDK version 1.7
- 12.04: requires Java SDK version 1.6 or OpenJDK 7
- 11.04, 10.04: requires Java SDK version 1.6
- 9.04: requires Java SDK version 1.5 (or greater)
Also if you get this kind of error "class file has wrong version 50.0, should be 49.0", below are a list of some of the version numbers and their corresponding Java runtimes:
Version 50.0 = Java 1.6.x
Version 49.0 = Java 1.5.x
Version 48.0 = Java 1.4.x
...