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

Prerequisites

Developer Studio KernelYou can install Developer Studio Kernel 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 separately installed)
Java Runtime Environment/JDK

Oracle Java SE Development Kit (JDK) 1.8 or later.

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 4.0.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 4.0.0 and specify a new workspace for 4.0.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 Kernel.

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 4.0.0 on a new instance of Eclipse instead of installing it on an existing instance, and specify a new workspace for 4.0.0. If you need to install Developer Studio 4.0.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 4.0.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 4.0.0 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}

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 .bash_profile 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 on the different ways you can install Developer Studio.

Installing product-specific tooling with Developer Studio 

Click the relevant link from the table below for instructions on installing tooling for a specific WSO2 product.

You can install multiple WSO2 product plug-ins on top of the same Eclipse instance.


Installing Developer Studio Kernel only

There are 3 ways to install  Developer Studio Kernel by itself. The following two methods require you to install Eclipse Luna separately in your system, if you do not have it already:

The third method uses a complete installation with pre-packaged Eclipse, so that you do not have to install Eclipse separately:

Install Developer Studio Kernel on Eclipse Luna using the P2 URL

  1. Make sure you have Eclipse IDE for Java EE Developers (Luna SR2) installed.
  2. Open Eclipse and click Help > Install New Software.
  3. On the dialog box that appears, click Add.



  4. Give Developer Studio Kernel as the name and http://product-dist.wso2.com/p2/developer-studio-kernel/4.0.0/ as the location and click OK.



  5. Select all the check boxes and click Next.

  6. Read and accept the license agreements and click Finish.

  7. If a security warning appears saying that the authenticity or validity of the software cannot be established, click OK.

  8. Restart Eclipse to complete the installation.

Install Developer Studio Kernel on Eclipse Luna using the P2 .zip file

  1. Make sure you have Eclipse IDE for Java EE Developers (Luna SR2) installed.
  2. Download the P2 .zip file from .
  3. Open Eclipse and click Help > Install New Software.
  4. On the dialog box that appears, click Add.



  5. Give Developer Studio Kernel as the name and click Archive.



  6. Navigate to the downloaded .zip file and click OK.
  7. Select all the check boxes and click Next.
  8. Read and accept the license agreements and click Finish.

  9. If a security warning appears saying that the authenticity or validity of the software cannot be established, click OK, select the Eclipse and Developer Studio certificates, and click OK again.

  10. Restart Eclipse to complete the installation.

Install Developer Studio Kernel with pre-packaged Eclipse

Download the 32-bit or 64-bit complete installation distribution file (with pre-packaged Eclipse) from http://wso2.com/products/developer-studio/.

You can now access the Developer Studio features.

  • No labels