You forgot the main Le 7 mars 2015 10:16, "thufir" <[email protected]> a écrit :
> are you sure on the usage there? I realize this is now off-topic: > > > thufir@doge:~$ > thufir@doge:~$ java -cp NetBeansProjects/HelloClient/dist/HelloClient.jar; > apache-openejb-4.7.1/lib/openejb-client-4.7.1.jar > Usage: java [-options] class [args...] > (to execute a class) > or java [-options] -jar jarfile [args...] > (to execute a jar file) > where options include: > -d32 use a 32-bit data model if available > -d64 use a 64-bit data model if available > -server to select the "server" VM > -zero to select the "zero" VM > -jamvm to select the "jamvm" VM > -avian to select the "avian" VM > -dcevm to select the "dcevm" VM > The default VM is server, > because you are running on a server-class machine. > > > -cp <class search path of directories and zip/jar files> > -classpath <class search path of directories and zip/jar files> > A : separated list of directories, JAR archives, > and ZIP archives to search for class files. > -D<name>=<value> > set a system property > -verbose:[class|gc|jni] > enable verbose output > -version print product version and exit > -version:<value> > require the specified version to run > -showversion print product version and continue > -jre-restrict-search | -no-jre-restrict-search > include/exclude user private JREs in the version search > -? -help print this help message > -X print help on non-standard options > -ea[:<packagename>...|:<classname>] > -enableassertions[:<packagename>...|:<classname>] > enable assertions with specified granularity > -da[:<packagename>...|:<classname>] > -disableassertions[:<packagename>...|:<classname>] > disable assertions with specified granularity > -esa | -enablesystemassertions > enable system assertions > -dsa | -disablesystemassertions > disable system assertions > -agentlib:<libname>[=<options>] > load native agent library <libname>, e.g. -agentlib:hprof > see also, -agentlib:jdwp=help and -agentlib:hprof=help > -agentpath:<pathname>[=<options>] > load native agent library by full pathname > -javaagent:<jarpath>[=<options>] > load Java programming language agent, see > java.lang.instrument > -splash:<imagepath> > show splash screen with specified image > See http://www.oracle.com/technetwork/java/javase/documentation/index.html > for more details. > apache-openejb-4.7.1/lib/openejb-client-4.7.1.jar: line 1: $'PK\003\004': > command not found > apache-openejb-4.7.1/lib/openejb-client-4.7.1.jar: line 2: $'\250m,E': > command not found > apache-openejb-4.7.1/lib/openejb-client-4.7.1.jar: line 3: > $'\b\247m,Ey\037\030': command not found > apache-openejb-4.7.1/lib/openejb-client-4.7.1.jar: line 4: syntax error > near unexpected token `)' > apache-openejb-4.7.1/lib/openejb-client-4.7.1.jar: line 4: ` > META-INF/MANIFEST.MF�V]S�0 }�L�C�g q �� ,;�#����NhC��I7I���MZ)� ��6�����s� > � T���Q �|o�Τ2�#��HBC$U�IF�%�2����q� gJ�7���:����� �<;���'�:C|�n;��� > ��Q���Kq-il �`���W�N�X����:�x�SU ' > thufir@doge:~$ > > > I made the ejbclient jar executable...? > > > > thanks, > > Thufir > > > On 2015-03-07 01:01 AM, Romain Manni-Bucau wrote: > >> We dont have it but java -cp app.jar;openejb-client.jar YourMain can work. >> That said it is not for client module. >> >> You can deploy it uncommenting deployments line in tomee.xml, creating an >> apps folder and putting your jar inside than start tomee. >> Le 7 mars 2015 09:40, "thufir" <[email protected]> a écrit : >> >> In Glassfish, you can run client applications with "appclient -client >>> foo.jar" for missing dependencies. Is there an analog for >>> openejb-client? >>> >>> >>> thanks, >>> >>> Thufir >>> >>> >>> >>> >>> ps: there are some errors on the hello world example, some of the code >>> isn't formatted correctly so it's hard to read. >>> >>> >
