HI

On Thu, Dec 27, 2012 at 2:57 AM, Sawyer Chen <[email protected]> wrote:
> Hi Rupert,
>
> If I start with -server and -no-security, I will have :
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/stanbol/launchers/full-0/10/0-SNAPSHOT/jar

Sorry the command I included in my response was missing the -jar option

    java -Xmx1024m -XX:MaxPermSize=256M -server -jar
org.apache.stanbol.launchers.full*.jar -no-security

the "-server" option is optional. It allows the JVM to use code
optimization algorithms that need longer to learn but provide better
performance in the long term. The "-jar" option is required as it
tells the JVM that the first parameter is a runnable JAR file and not
the path to a CLASS file.

>
> if I start with -jar and -no security, then:
> *ERROR* [main] -n: Unrecognized option (use -h for more information)
>

This was fixed with revision 1425641 [1]. If you update to an version later than
this it should work just fine.

[1] http://svn.apache.org/viewvc?rev=1425641&view=rev


best
Rupert

> Do I need to clean the files/folders generated by launcher and try again?
> or I just mistype the -no-security option?
>
> Thanks
>
> 2012/12/26 Rupert Westenthaler <[email protected]>
>
>> http://markmail.org/message/qkkxcecf5ktg7hdu



--
| Rupert Westenthaler             [email protected]
| Bodenlehenstraße 11                             ++43-699-11108907
| A-5500 Bischofshofen

Reply via email to