ZK Studio Installation Guide

From Documentation
Revision as of 01:39, 12 January 2011 by Peterkuo (talk | contribs) (→‎Abstract)
DocumentationSmall Talks2008NovemberZK Studio Installation Guide
ZK Studio Installation Guide

Author
Charles Pao, Engineer, Potix Corporation
Date
November 04, 2008
Version
ZK Studio 0.9


Screencast

Installation screencast

Abstract

This Installation Guide describes the steps to install ZK Studio by using either the Eclipse Plugin Mechanism to install online, or by using downloaded site.zip file to install offline. In addition to this the respective uninstall methods are described.
The update site URL:

http://studioupdate.zkoss.org/studio/update/eclispe_3_5 for Eclipse 3.5
http://studioupdate.zkoss.org/studio/update/eclispe_3_6 for Eclipse 3.6

Prerequisite

There are three pieces of software that you need to download and install in order to use ZK Studio.

Java SE Development Kit (JDK)

Java version 5 or 6 is required in order to run Eclipse, you can download either of them by following the links below:

JDK 6:

http://java.sun.com/javase/downloads/index.jsp

JDK 5:

http://java.sun.com/javase/downloads/index_jdk5.jsp

select which "Java SE Development Kit (JDK)" you want to download, please do not select the JRE.


Installation Instructions:

http://java.sun.com/javase/6/webnotes/install/index.html
http://java.sun.com/j2se/1.5.0/install.html


Eclipse IDE for Java EE Developers

ZK-Studio is an Eclipse Plug-in, therefore you must install Eclipse. We recommend using the ''Eclipse IDE for Java EE Developers'' package, currently v3.5(Galileo)

http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/galileor

and v3.4(Ganymede):

http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/ganymedesr1

and Eclipse v3.3 (Europa):

http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/europawinter

are supported.

Install:

Extract "eclipse" from the downloaded zip file to a location of your choice. To make sure Eclipse can run on your system, execute eclipse.exe (in windows) or eclipse (in unix ). You can locate these files in your extracted eclipse folder.

We recommend setting Eclipse's default JRE to JDK, please refer to the Setup/Preferences section in WTP Tutorials – Building and Running a Web Application.

Tips:

1. We recommend modifying some parameters in the configuration file eclipse.ini which will result in performance gain, please refer here and here.
2. We also recommend using the Java Development Kit (JDK) as the default JRE for Eclipse IDE, please follow these instructions to make the JDK the default JRE.



Application servers

Before developing web applications in Java using the ZK Ajax Framework, you need to install an application server. Apache Tomcat is one of the most popular Web containers. Tomcat versions 5.5 and 6 are supported and can be downloaded at the following link http://tomcat.apache.org/.

Install:

Download the zip file of Tomcat distribution and extract it to a proper location (with no illegal characters or space in the path). Tomcat requires configuration before it can be used with Eclipse, this process is described in the following link ZK Studio Essentials.

Tips:

If you not only want to develop Web Applications, but also need to deploy them on Apache Tomcat, links to the official installation instructions for directly running Apache Tomcat in your environment are provided below:

v6.x:

http://tomcat.apache.org/tomcat-6.0-doc/setup.html

v5.5:

http://tomcat.apache.org/tomcat-5.5-doc/setup.html

Installing ZK Studio

Please follow the installation guide for your Eclipse version:

  • Eclipse 3.5 (Galileo)
Installation Guide for Eclipse 3.5 (Galileo)
  • Eclipse 3.4 (Ganymede)
Installation Guide for Eclipse 3.4 (Ganymede)
  • Eclipse 3.3 (Europa)
Installation Guide for Eclipse 3.3 (Europa)

Please take a look at New features of ZK Studio 0.9 and we would be please to receive your opinions! Please post any suggestions or report bugs to our sourceforge web site or our forum.



Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.