||
Skip to end of metadata
Go to start of metadata

Prerequisites

Developer StudioYou can install Developer Studio in the following ways:
  • Via Eclipse Market Place
  • Using the downloaded binary file or directly from the web
  • Using the downloaded complete installation distribution (without Eclipse being installed)
Java Runtime Environment/JDK

Oracle Java SE Development Kit (JDK) 1.8 or later. Wdo not recommend or support OpenJDK.       

After Developer Studio is installed, start Eclipse and make sure that the correct Java version is shown in Eclipse > Preferences > Java > Installed JREs.

IDEEclipse WTP 3.1.0 or higher. If you are planing to install offline, we recommend you use Eclipse IDE for Java EE Developers (Luna SR2). Note that Helios SR2 is NOT supported.
Java Heap Memory1 GB (Minimum)
Java PermGen Memory512 MB (Minimum)
Processor2 GHz Core 2 Duo (Minimum)
WSO2 Carbon Server3.0.1 or later.
Disk Space

Approximately 1 GB

Upgrading from a previous version

If your Eclipse instance has Carbon Studio 1.x (the predecessor to Developer Studio) or Developer Studio 2.x installed, you should install a new instance of Eclipse for use with Developer Studio 3.8.0 and specify a new workspace.

If you do not want to install a second instance of Eclipse, you must remove all the features from the previous release (described below) before installing Developer Studio 3.8.0 and specify a new workspace for 3.8.0 configurations. Developer Studio 2.x configurations cannot be migrated to use the Developer Studio 3.x functionality.

If you do not have Carbon Studio 1.0.x or Developer Studio 2.x installed, skip ahead to Install Developer Studio.

It is possible to import existing projects from a previous version of Developer Studio to the current version.

Remove Carbon Studio 1.x and Developer Studio 2.x features

For best results, you should install Developer Studio 3.8.0 on a new instance of Eclipse instead of installing it on an existing instance, and specify a new workspace for 3.8.0. If you need to install Developer Studio 3.8.0 on your existing Eclipse instance and it has Carbon Studio 1.x or Developer Studio 2.x installed, you must remove these features before installing Developer Studio 3.8.0.

To remove previous features:

  1. In Eclipse, click Help -> Install New Software, and then click the already installed? link.
  2. Select all the features related to the following products and click Uninstall:
      • Application Server
      • Business Process Server
      • Carbon
      • Complex Event Server
      • Data Services
      • Enterprise Service Bus
      • Governance Registry
      • Smooks
      • User Management Core Tools
      • WSO2
  3. Review the features to be uninstalled and click Finish.
  4. Restart Eclipse.

You have now successfully uninstalled Carbon Studio 1.x and Developer Studio 2.x features and are ready to install Developer Studio 3.x as described in the next section.

Setting JAVA_HOME

 

You must set your JAVA_HOME environment variable to point to the directory where the Java Development Kit (JDK) is installed on the computer.

Environment variables are global system variables accessible by all the processes running under the operating system.

1. In your home directory, open the BASHRC file in your favourite Linux text editor, such as vi, emacs, pico, or mcedit.

2. Add the following two lines at the bottom of the file, replacing /usr/java/jdk1.8.0 with the actual directory where the JDK is installed.

export JAVA_HOME=/usr/java/jdk1.8.0
export PATH=${JAVA_HOME}/bin:${PATH}

The file should now look similar to this:

3. Save the file.

If you do not know how to work with text editors in a Linux SSH session, run the following command:

cat >> .bashrc

Paste the string from the clipboard and press "Ctrl+D."

4. To verify that the JAVA_HOME variable is set correctly, execute the following command:

echo $JAVA_HOME

The system returns the JDK installation path.

You must set your JAVA_HOME environment variable to point to the directory where the Java Development Kit (JDK) is installed on the computer. Typically, the JDK is installed in a directory under C:\Program Files\Java, such as C:\Program Files\Java\jdk1.8.0. If you have multiple versions installed, choose the latest one, which you can find by sorting by date.

Environment variables are global system variables accessible by all the processes running under the operating system. You can define an environment variable as a system variable, which applies to all users, or as a user variable, which applies only to the user who is currently logged in.

You can set JAVA_HOME using the System Properties, as described below. Alternatively, if you just want to set JAVA_HOME temporarily in the current command prompt window, set it at the command prompt

Setting JAVA_HOME using the System Properties

  1. Right-click the "My Computer" icon on the desktop and click Properties.
  2. In the System Properties window, click the Advanced tab, and then click Environment Variables.
  3. Click New under "System variables" (for all users) or under "User variables" (just for the user who is currently logged in).
  4. Enter the following information:

    • In the Variable field, enter: JAVA_HOME
    • In the Value field, enter the installation path of the Java Development Kit, such as: c:\Program Files\Javajdk1.8.0
  5. Click OK.

The JAVA_HOME variable is now set and will apply to any subsequent command prompt windows you open. If you have existing command prompt windows running, you must close and reopen them for the JAVA_HOME variable to take effect, or manually set the JAVA_HOME variable in those command prompt windows as described in the next section. To verify that the JAVA_HOME variable is set correctly, open a command window (from the Start menu, click Run, and then type CMD and click Enter) and execute the following command:

set JAVA_HOME

The system returns the JDK installation path.

Setting JAVA_HOME temporarily using the Windows command prompt (CMD)

You can temporarily set the JAVA_HOME environment variable within a Windows command prompt window (CMD). This is useful when you have an existing command prompt window running and you do not want to restart it.

1. In the command prompt window, enter the following command where <JDK_INSTALLATION_PATH> is the JDK installation directory and press Enter:

set JAVA_HOME=<JDK_INSTALLATION_PATH>

For example:

set JAVA_HOME=c:\Program Files\java\jdk1.8.0

The JAVA_HOME variable is now set for the current CMD session only.

2. To verify that the JAVA_HOME variable is set correctly, execute the following command:

set JAVA_HOME

The system returns the JDK installation path.

You must set your JAVA_HOME environment variable to point to the directory where the Java Development Kit (JDK) is installed on the computer.

Environment variables are global system variables accessible by all the processes running under the operating system.

  1. In your home directory, open the BASHRC file in your favourite Mac text editor.
  2. Add the following at the bottom of the file.

    export JAVA_HOME=/usr/libexec/java_home
  3. Save the file.
  4. To verify that the JAVA_HOME variable is set correctly, execute the following command:

    echo $JAVA_HOME

The system returns the JDK installation path.

Install Developer Studio

This section provides instructions for installing Developer Studio. If you have Eclipse already installed, follow the quick installation or the custom installation. The complete installation describes how to install Developer Studio without having Eclipse separately installed.

If you want to use App Factory via Developer Studio, and you install Developer Studio via the Eclipse Market Place, the downloaded P2 zip file, or the Online P2 Repository (instead of the complete installation distribution), you need to update your Egit plugin before you use the App Factory tooling feature. To update your Egit plugin, go to http://download.eclipse.org/egit/updates/ via Eclipse. 

Quick installation

This section describes how to use Eclipse Marketplace to quickly install Developer Studio into a running instance of Eclipse using all the default options. Go to http://marketplace.eclipse.org/content/wso2-developer-studio, drag the Install icon to your Eclipse workbench window, and then accept all the defaults in the wizard to install Developer Studio. 

 

Custom installation

This section describes how to install Developer Studio using a downloaded distribution or using the Online P2 Repository.

  1. Start Eclipse, click Help -> Install New Software, and then click Add. The Add Repository dialog box appears.
  2. Type developer-studio for the name, and then do one of the following:
    • If you downloaded the Developer Studio binary file, click Archive and specify the downloaded archive's location.
    • If you did not download Developer Studio and want to install it directly from the web, type the following path as the location: http://dist.wso2.org/p2/developer-studio/releases/3.8.0
  3. Click OK.
    Developer Studio appears in the list.
  4. Click the check box next to WSO2 Developer Studio, and click Next.
  5. Review the items to be installed and click Next.
  6. Accept the license agreement and click Finish.
  7. If a security warning appears during installation, click OK, select the Eclipse and Developer Studio certificates, and click OK again.
  8. When prompted, restart Eclipse.

Complete installation

This section describes how to install Developer Studio using the complete installation distribution.

  1. Download the Eclipse + Developer Studio 32-bit or 64-bit complete installation distribution file.
  2. Start Eclipse by double-clicking the Eclipse icon in <DevStudio_Home>.

You can now access the Developer Studio features.

  • No labels