[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] How to launch equinox manually?


Thanks. That works and my app can run but it always stops a sec later, complaining about "Missing imported package org.apache.commons.fileupload_1.2.2". When I launch it from within Eclipse everything worked fine. So I guess some environment stuff needs to be corrected.


On 3/7/12 8:29 PM, Paul Webster wrote:
On Wed, Mar 7, 2012 at 9:09 PM, Qiaobing Xie <qiaobing.xie@xxxxxxxxx> wrote:

I am running Eclipse on FreeBSD and there is no platform-specific fragment to launch Equinox for FreeBSD ("Export product" on the freeBSD version of Eclipse does not generate a binary runnable in the destination directory). But I can "Export" to Linux or Windows platforms without problem. So, I am wondering what Java command should be used to get equinox started and running on that platform for an exported OSGi app.

If it's an equinox application it's just

bash$ java -jar \
  eclipse/plugins/org.eclipse.equinox.launcher_1.3.0.v20120305-1904.jar \
  -application your.application.id


Paul Webster
Hi floor.  Make me a sammich! - GIR

equinox-dev mailing list