On windows 7 64 bit, I installed protege-4.3.0-304, which I downloaded along with jvm from here. And It was working fine.
But once I updated jvm with jdk1.8.0_45
, I am not able to open protege. It is giving following error:
G:\protege-4.3.0-304\Protege_4.2>java -server - 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
ERROR: Bundle org.protege.common 1 Error starting file:/G:/protege-4.3.0-304/Protege_4.2/bundles/org.protege.common.jar
(org.osgi.framework.BundleException: Unresolved constraint in bundle org.protege.common 1: Unable to resolve 1.0: missing requirement [1.0] osgi.wiring.package; (&(osgi.wiring.package=org.w3c.dom)(version>=0.0.0)))
org.osgi.framework.BundleException: Unresolved constraint in bundle org.protege.common 1: Unable to resolve 1.0: missing requirement [1.0] osgi.wiring.package; (&(osgi.wiring.package=org.w3c.dom)(version>=0.0.0))
Please somebody help me out. Thanks in advance.
I resolved the issue by correcting path entry into environment variables. When I installed jdk1.8.0_45, it has added path entry of environment variable like "C:\ProgramData\Oracle\Java\javapath;C:\Program Files\Java\jre8\;C:\Program Files\Java\jre8\bin". Therefore I renamed the location of JRE according to this path setting. I removed "C:\Program Data\Oracle\Java\javapath" from path variable, which contains three symbolic links to java.exe, javaw.exe and javaws.exe. Due to renaming JRE location, these links were not valid.Moreover I have specified JAVA_HOME to jdk location.