...
After the download is complete, extract installation files to the user-defined folder (further to be referred to as DSS_HOME
).
Step 3. Set up JAVA_HOME
Anchor | ||||
---|---|---|---|---|
|
JAVA_HOME environment variable set up is needed to run WSO2 DSS. The variable points at the directory where the Java™ Development Kit (JDK) is installed on the computer.
Info | ||
---|---|---|
| ||
Environment variables are global system variables accessible by all the processes running under the operating system. |
...
Locate the Installation Folder of the Java™ Development Kit (JDK) on the Machine
...
1. In order to set the variable, it is necessary to know the system folder to which JDK is installed. Unless the installation path was changed by the user during the installation process, it is installed into the default folder C:\Program Files\Java. Open the directory C:\Program Files\Java using the browser.
2. Inside that path there will be one or more subdirectories, for example, jdk1.5.0_08. If you just have installed the Java Development Kit, it is in the newest directory, which you can find by sorting by date. For example, it may be installed in C:\Program Files\Java\jdk1.6.0_27.
There are two ways to set up JAVA_HOME: via "System Properties", or via "Windows Command Prompt".
...
JAVA_HOME Setup via System Properties
...
Follow the instructions below to set up the JAVA_HOME environment variable using "System Properties".
1. Right-click the "My Computer" icon on the desktop and select "Properties."
2. The "System Properties" window opens with its functional tabs. Go to the "Advanced" tab and click the "Environment Variables" button.
...
3. The program shows that JAVA_HOME
is set to the JDK installation path, for example, JAVA_HOME=:c\Program Files\java\jdk1.6.0_27.
This means that JAVA_HOME
is set up correctly.
Step 4. Run DSS Start Script
In order to run DSS Management Console, it is necessary to run DSS start script.
Follow the instructions below:
1. Open the "CMD" prompt. (Click "Start" -> "Run" and then type "cmd" and click "OK" to run the CMD)
2. Go to DSS_HOME\bin via the following command:
Code Block |
---|
cd <DSS_HOME>\bin |
For example, cd C:\wso2\wso2dataservices-2.6.3\bin
3. Execute the following command:
Code Block |
---|
wso2server.bat --run |
...
Note | ||
---|---|---|
| ||
Make sure no errors occurred. |
Step 5. Access DSS Management Console
The Data Services Server is installed, started and environment variables are set up. Proceed to Accessing DSS section for instructions on how to run the DSS Management Console.