java.lang.Object
net.i2p.router.RouterLaunch

public class RouterLaunchextends Object
This is the class called by the runplain.sh script on linux and the i2p.exe launcher on Windows. (i.e. no wrapper)

Setup of wrapper.log file is moved to WorkingDir.java Until WorkingDir is called, the existing stdout / stderr will be used.

Not recommended for embedded use. Instantiate Router() yourself.

  • Constructor Details

    • RouterLaunch

      public RouterLaunch()
      Launching is entirely main(String[])'s job - it hands the arguments to Router - so an instance starts nothing and carries no state.
  • Method Details

    • main

      public static void main(String[] args)
      Usage: RouterLaunch [rebuild] No other options allowed, for now.
      Parameters:
      args - null ok
      Throws:
      IllegalArgumentException - if the arguments are not accepted by Router.main