Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

OFBiz is written in Java and requires the a full Sun Java Development Kit (JDK) from Sun/Oracle or OpenJDK to run.

WARNING: It won't run on a Java Runtime Environment (JRE) alone. Java workalikesworkalike, including Blackdown, Kaffe, OpenJDK, and others do NOT run OFBiz successfully (yet), but you can use OpenJDK for recent versions (at least Java 8).

Sun's Java version numbering is was a bit schizophrenic-- Java 6 means version 1.6, while Java 5 means version 1.5. From Java 8 Oracle is only labeled this way. OFBiz Java version requirements are as follows:

  • trunk requires Java SDK 11 (there is ongoing work to move to Java SDK 17, see issue OFBIZ-12722)
  • 18.12 requires Java SDK 8
  • 17.12 requires Java SDK 8
  • 16.11 requires Java SDK 8
  • 15.12 requires Java SDK 8
  • 12.04, 13.07, 14.12: requires Java SDK version 1.6
  • 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 an error like "class file has wrong version 50.0, should be 49.0", below are is a list of some of the version numbers and their corresponding Java runtimes:

  • Version 53.0 = Java 1.9.x
  • Version 52.0 = Java 1.8.x
  • Version 51.0 = Java 1.7.x
  • Version 50.0 = Java 1.6.x
  • Version 49.0 = Java 1.5.x
  • Version 48.0 = Java 1.4.x

You can get the latest Sun Oracle Java SDK here: http://javawww.sunoracle.com/technetwork/java/javase/downloads/index.jspImage Removedhtml

If Java is already installed on your target machine, make sure it is the full JDK and appropriate running version 6 (Build 1. 6.*). You can check this by typing "java -version" (you may also check javac -version) at a command prompt.

...

OFBiz will run on any operating system that supports a Sun Java SDK.

  • Microsoft Windows (XP and newer)

...

  • Apple Macintosh (OS X and newer)

...

  • Linux (most recent distributions)

...

  • Unix (FreeBSD, OpenBSD, NetBSD)

are all supported.

Hardware

...

OFBiz comes with an IBM Derby SQL database built-in. This is usually fine for evaluation, development, and testing. Production servers will probably want a more powerful database. A variety of databases are supported, including PostgreSQL, MySQL, Oracle, Microsoft SQL Server, and others.

...