Search Mailing List Archives

Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-discussion] cannot find " protege/lib" after installation

mbikinyi brat mbikinyi_brat at
Fri Aug 6 13:32:48 PDT 2010

Dear Thomas/Jennifer,
Thanks for your responses. 
In fact I have done a normal installation without using source code.  I want to 
compile protege in netbeans so as to run queries using protege-OWL API. I have 
followed this and copied 
this code into netbeans after creating a java project. I have also selected or 
the .jar files(See JAR file screenshot) in the protege installation added onto 
netbeans.  After adding the jar files, error glyphs appear on netbeans, and 
cannot be removed as one of them reads "Create  ProtegeOWL in package 
photovoltaicsystemontology(see Query in Netbeans file). My querstion is , Is my 
JAR files not complete, I have virtually selected all the jar files in the 
protege installation. I will be grateful to know how to solve this problem.

String uri = "";  
//alternatively, you can specify a local path on your computer //for the 
travel.owl ontology. Example: //String uri = 
"file:///c:/Work/Projects/travel.owl"  OWLModel owlModel = 
ProtegeOWL.createJenaOWLModelFromURI(uri);  Collection classes = 
owlModel.getUserDefinedOWLNamedClasses(); for (Iterator it = classes.iterator(); 
it.hasNext();) {     OWLNamedClass cls = (OWLNamedClass);     
Collection instances = cls.getInstances(false);     System.out.println("Class " 
+ cls.getBrowserText() + " (" + instances.size() + ")");     for (Iterator jt = 
instances.iterator(); jt.hasNext();) {         OWLIndividual individual = 
(OWLIndividual);         System.out.println(" - " + 
individual.getBrowserText());     } } 

From: Thomas Russ <tar at>
To: User support for Core Protege and the Protege-Frames editor 
<protege-discussion at>
Sent: Fri, August 6, 2010 8:08:21 PM
Subject: Re: [protege-discussion] cannot find " protege/lib" after installation

On Aug 6, 2010, at 11:26 AM, mbikinyi brat wrote:

> Hi,
> I am following the tutorial  ""CompileProtegeCoreInEclipse" found at the link
> Some where in this document it talks of "protege-core/lib" folder(see except , 
>Configure the Core Protege Project below). After I have installed protege -OWL 
>3.4.4, I cannot find "protege-core/lib", where is it? See screenshot of my 
>protege-OWL 3.4.4 installation attached.

The instructions refer to the source code installation of Protege.  Not the 
normal installation as an application.

You only need to do that if you want to compile Protege itself from the source 
code using Eclipse.

If all you want to do is develop your own plugins without compiling the Protege 
code itself, you only need to include the jar files which you can get from the 
application installation.

protege-discussion mailing list
protege-discussion at

Instructions for unsubscribing:

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: JAR Files.jpg
Type: image/jpeg
Size: 60752 bytes
Desc: not available
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Query in Netbeans.jpg
Type: image/jpeg
Size: 76972 bytes
Desc: not available
URL: <>

More information about the protege-discussion mailing list