W3C home > Mailing lists > Public > public-owl-dev@w3.org > January to March 2009

Question about using protege owl API to develop java app

From: <kentsang1219@gmail.com>
Date: Sat, 21 Mar 2009 20:03:12 +0800
Message-ID: <7050ba10903210503p667862a1k909ef4d9991ebcf@mail.gmail.com>
To: "public-owl-dev@w3.org" <public-owl-dev@w3.org>
I followed http://protege.stanford.edu/plugins/owl/api/guide.html this
website to try the "Hello World" java app. But when I was following the
"Getting Started" section, i got lost.

"add all the JAR files from the installation to your project classpath. Set
your compiler output path to plugins/classes." By following this statement,
i don't know why i still got import package problem like follows:

import edu.stanford.smi.protegex.owl.model.OWLModel;
import edu.stanford.smi.protegex.owl.model.OWLNamedClass;
import edu.stanford.smi.protegex.owl.ProtegeOWL;

When I compile the Hello World app, all the packages are not found.

I want to ask what i need to place in the directory so as to
successfully run the Hello World program provided in the "Getting
Started" section.
Received on Saturday, 21 March 2009 22:34:48 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:58:17 UTC