|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.electric.Main
public final class Main
This class initializes Electric and starts the system. How to run Electric:
java -jar electric.jar [electric-options] without plugins
java -classpath electric.jardelim{list of plugins} com.sun.electric.Launcher [electric-options]
otherwise, where delim is OS-dependant separator
And Electric options are:
-mdi: multiple document interface mode
-sdi: single document interface mode
-NOMINMEM: ignore minimum memory provided for JVM
-s script name: bean shell script to execute
-version: version information
-v: brief version information
-debug: debug mode. Extra information is available
-server: dump strace of snapshots
-help: this message
See manual for more instructions.
| Nested Class Summary | |
|---|---|
static class |
Main.UserInterfaceDummy
|
| Method Summary | |
|---|---|
static long |
getMemoryUsage()
Method to return the amount of memory being used by Electric. |
static void |
main(java.lang.String[] args)
The main entry point of Electric. |
static void |
openCommandLineLibs(java.util.List<java.lang.String> argsList)
open any libraries specified on the command line. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void main(java.lang.String[] args)
args - the arguments to the program.public static void openCommandLineLibs(java.util.List<java.lang.String> argsList)
public static long getMemoryUsage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||