Question: I tried the following command in Solaris os

```
/ora10gclnt/product/10.2.0/client/bin/proc code=cpp cpp_suffix=cpp database.pc

```

I'm getting the following error

```
#include <stdio.h>
.........1
PCC-S-02015, unable to open include file
Error at line 2, column 10 in file database.pc
#include <stdlib.h>
.........1
PCC-S-02015, unable to open include file
Error at line 3, column 10 in file database.pc
#include <string.h>
.........1
PCC-S-02015, unable to open include file

```

What is the problem?

Answer: 
try this..

```
public static void main(String args[]) {
    try {
        Runtime.getRuntime().exec("cmd.exe /c start");
        System.out.println("ok");
    } catch (IOException ex) {
        ex.printStackTrace();
    }
}

```
To open cmd using java only two line codes are required.

```
Runtime runtime = Runtime.getRuntime();
Process p = runtime.exec("cmd.exe /c start");

```

--------------> example <------------

```
    public class Cmd {

        public static void main(String[] args) {
            try {

                //Create the Process Instance, You don’t need to Import anything for this.

                Process p;

                //To Execute the Process containg the Command as the Parameter

                p = Runtime.getRuntime().exec("cmd /c start cmd");

                //As the same way you can use all the commands to Execute your favorite apps.

            } catch (Exception e) {
            }
        }
    }

```