Versions Compared

Key

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

...

JDK

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 workalike, including Blackdown, Kaffe, 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 1.5 is required for OFBiz release 9.04, while java version 1.6 is required for the OFBiz trunk.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 an error like "class file has wrong version 50.0, should be 49.0", below 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 chck check this by typing "java -version" (you may also check javac -version) at a command prompt.

Java workalikes, including Blackdown, Kaffe, and others do NOT run OFBiz successfully (yet).

Operating system

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 can operate for evaluation and testing purposes on a minimal server. Current trunk installs take about 560MB of disk space. We have operated OFBiz on a 700MHz Celeron and with 512MB of RAM running Debian Linux. Production servers will probably want more up-to-date hardware commensurate with the expected load.

Database

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.