[Pellet-users] how to run pellet examples

Evren Sirin evren at clarkparsia.com
Fri Jul 25 02:51:30 UTC 2008


On 7/23/08 8:42 AM, Alexander Nazarov wrote:
> Sorry for a stupid question - I'm new in Java.
>  
> I have pellet-1.5.2 package on my machine, I have the latest JRE 
> installed.
> Could I ask you to specify how to compile and run pellet examples 
> (what environment vars to set) please?

Examples already come precompiled in pellet.jar. For example, you can 
run one of examples by typing the following command in the command 
prompt (when the current directory is pellet installation directory):

java -cp lib/pellet.jar org.mindswap.pellet.examples.JenaReasoner

You can run recompile the src and examples using ant. Typing ant in the 
Pellet installation directory will create the pellet.jar file in th 
dist/lib directory. You can change the path to the -cp argument above to 
this file and run the examples that way.

On the long run you would be better off using an IDE like Eclipse or 
NetBeans. You can find many sources on the Web that explains how to use 
those IDEs.

Cheers,
Evren

>  
> Thanks a lot,
> Sasha
> ------------------------------------------------------------------------
>
> _______________________________________________
> Pellet-users mailing list
> Pellet-users at lists.owldl.com
> http://lists.owldl.com/mailman/listinfo/pellet-users
> _______________________________________________
>
> Sponsored by Clark & Parsia, LLC http://clarkparsia.com/



More information about the Pellet-users mailing list