Equinox start error (console bundle is missed)

前端 未结 5 2136
醉梦人生
醉梦人生 2020-12-05 21:27
java.version=1.6.0_10
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
 Command-line arguments:  -console -configuratio         


        
5条回答
  •  渐次进展
    2020-12-05 22:00

    This link provides all the details regarding the new console which is based on Apache Felix Gogo shell: http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Fguide%2Fconsole_shell.htm

    In short steps are:

    1. Place the necessary bundles in a folder. The bundles are:

      • org.apache.felix.gogo.command_0.8.0v.jar
      • org.apache.felix.gogo.runtime_0.8.0v.jar
      • org.apache.felix.gogo.shell_0.8.0v.jar
      • org.eclipse.equinox.console_1.0.0v.jar
      • org.eclipse.osgi.jar
    2. Create a configuration subfolder put a new config.ini file in it with the following content:

      osgi.bundles=./org.apache.felix.gogo.runtime_0.8.0v.jar@start,\
      ./org.apache.felix.gogo.command_0.8.0v.jar@start,\
      ./org.apache.felix.gogo.shell_0.8.0v.jar@start,\
      ./org.eclipse.equinox.console.jar@start,\
      osgi.console.enable.builtin=false
      osgi.console= 
      
    3. Start the Equinox framework with this command:

      java -jar org.eclipse.osgi.jar
      

提交回复
热议问题