# jws - The Java WorkShop Command

> `jws` starts Java WorkShop.

### Synopsis

> `jws` `[` options `]`

### Description

> The `jws` command starts Java WorkShop.

### Options

> Many of the Java WorkShop options emulate standard Java options. Relevant Java options are provided in a separate table for completeness.

Java WorkShop Options
`-classpath` path | Specifies the path that the `java` virtual machine running Java WorkShop uses to lookup classes. path is a list of directories separated by colons. Java WorkShop specific paths are appended to this path by Java WorkShop. Java WorkShop always ignores the CLASSPATH environment variable. See Java Options below.
`-display` (Solaris Only) | Specifies the X Window system on which to display Java WorkShop.
`-J`-javaoption | Passes the string -javaoption through as a single argument to the Java virtual machine. The argument should not contain spaces. Multiple argument words must all begin with the prefix `-J`, which is stripped. Note that there is no space between "`-J`" and "-javaoption".
`-ms`x | Equivalent to the Java `-ms` option. Sets the startup size of the memory allocation pool (the garbage collected heap) to x. This effects the Java virtual machine running Java WorkShop. The default value is 5 megabytes. See Java Options below.
`-nojit` | Runs Java WorkShop with the Just In Time Compiler (JIT) turned off.
`-remotedebug` | Starts a Java WorkShop remote debugger. See Remotely Debugging a Program for details about the Java WorkShop remote debugging feature.
`-ss`x | Equivalent to the Java `-ss` option. Sets the C code maximum stack size for a thread to x. This effects the Java virtual machine running Java WorkShop. The default is 384 kilobytes. See Java Options below.

Java Options
`-classpath` path | Specifies the path that java uses to look up classes. This overrides the default or CLASSPATH environment variable, if it is set. Directories are separated by colons. Thus, the general format for path is: .:your_path For example: `.:/home/avh/classes:/usr/java/classes`
`-ms`x | Sets the startup size of the memory allocation pool (the garbage collected heap) to x. The default is 16 megabytes of memory. x must be > 1000 bytes. By default, x is measured in bytes. To specify x in either kilobytes or megabytes, append "k" for kilobytes or "m" for megabytes.
`-ss`x | Each Java thread has two stacks: one for Java code and one for C code. The `-ss` option sets the maximum stack size that can be used by C code in a thread to x. Every thread that is spawned during the execution of the program passed to java has x as its C stack size. The default units for x are bytes and x must be > 1000 bytes. To modify the meaning of x, append either the letter "k" for kilobytes or the letter "m" for megabytes. The default stack size is 128 kilobytes (-ss128k).