THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- 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. - "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.
- (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).
- 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").
- 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.
- The default administrative account is username: "admin", password: "ofbiz".
- Have fun with it! You are running on a Java database. For more discussion of databases, read the section below on that topic.
- For more detailed options and configuration information, read on!
...