Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Small update for older versions

...

  1. Download and install Java 1.6 7 or higher JDK/J2SDK (not the JRE, you need the full SDK) from Sun's Java (J2SE) site. If you intent to use a release prior to R11.04 then use Java 1.5. In any case, make
    Make sure your JAVA_HOME environment variable is set to this JDK after installation (NOTE that for Mac OS X no JVM setup is needed, just make sure Java is up to date with the OS X Software Update facility).
    You can use OpenJdk 7 (or higher) from R12.04.
    If you intent to use a release prior to R11.04 then use Java 1.5. If you intent to use R11.04 then use Java 1.6. By and large see this page on system requirements.
  2. "Download" OFBiz in the directory of your choice (see comments below about that). This should create one sub-directory: ofbiz. This will be the OFBIZ_HOME location.
  3. (not for snapshots) Load OFBiz demo data in the embedded Apache Derby data base running "ant load-demo" on Windows or "./ant load-demo" on Linux/Unix/OSX ("ant run-install" or "./ant run-install" for versions prior to R12.04).
  4. Start OFBiz with embedded Tomcat by going into the ofbiz directory and then running
    • Windows: "ant start" ("ant run" for version prior to R12.04) or "startofbiz.bat" (or even "%JAVA_HOME%\bin\java -jar ofbiz.jar")
    • Linux/Unix/OSX: "./ant start" ("./ant run" for version prior to R12.04) or "./startofbiz.sh" (or even "$JAVA_HOME/bin/java -jar ofbiz.jar").
  5. Open a browser and go to http://127.0.0.1:8080/ecommerce/control/main for the ecommerce application or https://127.0.0.1:8443/webtools/control/main for the WebTools application or https://127.0.0.1:8443/catalog/control/main for the Catalog Manager application.
  6. The default administrative account is username: "admin", password: "ofbiz".
  7. Have fun with it! You are running on a Java database. For more discussion of databases, read the section below on that topic.
  8. For more detailed options and configuration information, read on!

...