com.sun.electric
Class Launcher

java.lang.Object
  extended by com.sun.electric.Launcher

public final class Launcher
extends java.lang.Object

This class initializes the Electric by re-launching a JVM with sufficient memory. It is the main entrypoint of the system.


Method Summary
static java.lang.String getJarLocation()
          Method to return a String that gives the path to the Electric JAR file.
static void main(java.lang.String[] args)
          The main entry point of Electric.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(java.lang.String[] args)
The main entry point of Electric. The "main" method in this class checks to make sure that the JVM has enough memory. If not, it invokes a new JVM with the proper amount. If so, it goes directly to Main.main to start Electric.

Parameters:
args - the arguments to the program.

getJarLocation

public static java.lang.String getJarLocation()
Method to return a String that gives the path to the Electric JAR file. If the path has spaces in it, it is quoted.

Returns:
the path to the Electric JAR file.