Anais,
you have wrongly configured you path and java. As you can see from below
the java you try to use is GNU java. GNU java does not work. Use a real
java.
Cheers,
Tomas
Anais wrote:
> Hi,
>
> I would like te generate a server certificate by using cli. I use :
> ./ejbcawsracli.sh pkcs12req testuser foo123 2048 NONE tmp
> and i have the error :
> Warning: -jar not understood. Ignoring.
> Exception in thread "main" java.lang.NoClassDefFoundError: ejbcawscli.jar
> at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0)
> at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)
> at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean)
> (/usr/lib/libgcj.so.5.0.0)
> at __gcj_personality_v0
> (/usr/jboss-4.2.2.GA-src/j2ee/ejbca_3_5_4/dist/ejbcawscli/java.version=1.4.2)
> at __libc_start_main (/lib/tls/libc-2.3.4.so)
> at _Jv_RegisterClasses
> (/usr/jboss-4.2.2.GA-src/j2ee/ejbca_3_5_4/dist/ejbcawscli/java.version=1.4.2)
>
> Somebody could help me ?
> Thanks
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at
http://www.sourceforge.net/community/cca08_______________________________________________
Ejbca-develop mailing list
Ejbca-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ejbca-develop