Installing and Running Protégé 4.1

Description Protégé is an environment for creating and editing ontologies and knowledge bases. In KBS (Knowledge Based Systems) we were supposed to use version: Protégé 4.1. After installing it I kept getting the same error message (also included picture in attachment): <code> C:\Program Files\Protege_4.1>java -Dlog4j.configuration=file:log4j.xml -DentityExpansionLimit=100000000 -Dfile.encoding=utf-8 -Dorg.protege.plugin.dir=plugins -classpath bin/felix.jar;bin/ProtegeLauncher.jar org.protege.osgi.framework.Launcher Core Bundle 1 failed to start. Exception in thread "main" org.osgi.framework.BundleException: Unresolved constraint in bundle org.protege.common [1]: package; (&(package=javax.swing.text)(version>=0.0.0)) at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3295) at org.apache.felix.framework.Felix.startBundle(Felix.java:1653) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:892) at org.protege.osgi.framework.Launcher.startBundles(Launcher.java:111) at org.protege.osgi.framework.Launcher.start(Launcher.java:80) at org.protege.osgi.framework.Launcher.main(Launcher.java:143) </code> Why does this error occur? How can I make Protégé 4.1 run?
2 answers

Protégé 4.1 with JVM7

Problem description:
The problem occurs as Protégé 4.1 was build and working with Java version.
If you use version >6, like on up-to-date systems than you have to modify some things.

Steps:
1. Rename \bin\felix.jar to something e.g. felix.jar.Backup
2. Download latest Felix Framework from : http://felix.apache.org/site/downloads.cgi
3. Extract the zip and look for the file : “felix.jar”
a. in my case under : \felix-framework-4.0.3 \bin\
4. Copy the felix.jar file into the \bin\
5. Start Protégé and be satisfied and happy ;)
Problems:
If problems occur you always have the backup felix file to revert to the standard installation.

Helpful Sites:
https://mailman.stanford.edu/pipermail/p4-feedback/2011-August/004041.html

Running Protégé 4.1 with JVM6

Solution

Problem description:
The problem occurs as Protégé 4.1 was build and working with Java version.
If you use version >6, like on up-to-date systems than you have to modify some things.

Precondition:
• Having also JVM (version 6) installed on your computer.

Steps:
1. Choose when downloading Protégé 4.1, download without JVM
2. When running the installer you have to choose a JVM at some point
3. Instead of choosing the up-to-date Java 1.7 choose instead Java 1.6 runtime
4. Run the application, be happy ;)