<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello Nabonita,<br>
<br>
KIM 3 requires a Sun / Oracle JDK as stated in the documentation.
You cannot use a Java runtime Environment (JRE) or any JDK bundled
with your Linux distribution (OpenJDK, GNU JRE). I attached a more
detailed annotation guide. Please follow it and tell me if you have
any other problems.<br>
<br>
Best regards,<br>
Marin Nozhchev<br>
<br>
On 02.07.2010 15:36 ч., Nabonita Guha wrote:
<blockquote
cite="mid:AANLkTilKMf31iz1x0tNS2gUxbeyVGTXLTuyX3R67Xnl1@mail.gmail.com"
type="cite"><span style="font-family: garamond,serif;">Hi,</span><br
style="font-family: garamond,serif;">
<br style="font-family: garamond,serif;">
<span style="font-family: garamond,serif;">I would like to request
the developers/forum members to help me in resolving an error
I'm encountering
during KIM 3 installation in ubuntu linux with Java 6. Today I
have downloaded KIM 3 from ontotext
site. Following is the error I'm getting after issuing the
command</span><span style="font-family: courier new,monospace;">
<b>./kim start</b></span><br style="font-family: courier
new,monospace;">
<br>
<b><span style="font-family: courier new,monospace;"><a class="moz-txt-link-abbreviated" href="mailto:nabonita@nabonita-laptop:~/kim-platform-3.0-RC3/bin$">nabonita@nabonita-laptop:~/kim-platform-3.0-RC3/bin$</a>
./kim start</span><br style="font-family: courier
new,monospace;">
<span style="font-family: courier new,monospace;">KIM_HOME=/home/nabonita/kim-platform-3.0-RC3</span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">KIM_CONTEXT=/home/nabonita/kim-platform-3.0-RC3/context/default</span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">KIM_MAX_JAVA_HEAP=1g</span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">KIM_LOG_FOLDER=/home/nabonita/kim-platform-3.0-RC3/log</span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">ls: cannot
access /home/nabonita/kim-platform-3.0-RC3/lib/owlim/*.jar: No
such file or directory</span><br style="font-family: courier
new,monospace;">
<span style="font-family: courier new,monospace;">[INFO] : : : :
: : : : KIM SERVER START : : : : : : : : </span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">[INFO]
OwlimSchemaRepository: 3.3 </span><br style="font-family:
courier new,monospace;">
<span style="font-family: courier new,monospace;">[INFO] Build
date: 06-22-2010 11:57</span><br style="font-family: courier
new,monospace;">
<span style="font-family: courier new,monospace;">[INFO]
Configured parameter 'imports' to 'kb/owl/owl.rdfs;</span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">
kb/owl/protons.owl;</span><br style="font-family: courier
new,monospace;">
<span style="font-family: courier new,monospace;">
kb/owl/protont.owl;</span><br style="font-family: courier
new,monospace;">
<span style="font-family: courier new,monospace;">
kb/owl/protonu.owl;</span><br style="font-family: courier
new,monospace;">
<span style="font-family: courier new,monospace;">
kb/owl/kimso.owl;</span><br style="font-family: courier
new,monospace;">
<span style="font-family: courier new,monospace;">
kb/owl/kimlo.owl;</span><br style="font-family: courier
new,monospace;">
<span style="font-family: courier new,monospace;">
kb/skos-owl1-dl.rdf;</span><br style="font-family:
courier new,monospace;">
<span style="font-family: courier new,monospace;">
kb/wkb.nt;</span><br style="font-family: courier
new,monospace;">
<span style="font-family: courier new,monospace;">
kb/wkbx.nt;'</span><br style="font-family: courier
new,monospace;">
<span style="font-family: courier new,monospace;">[INFO]
Configured parameter 'defaultNS' to '<a moz-do-not-send="true"
href="http://www.w3.org/2002/07/owl#" target="_blank">http://www.w3.org/2002/07/owl#</a>;</span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">
<a moz-do-not-send="true"
href="http://proton.semanticweb.org/2006/05/protons#"
target="_blank">http://proton.semanticweb.org/2006/05/protons#</a>;</span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">
<a moz-do-not-send="true"
href="http://proton.semanticweb.org/2006/05/protont#"
target="_blank">http://proton.semanticweb.org/2006/05/protont#</a>;</span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">
<a moz-do-not-send="true"
href="http://proton.semanticweb.org/2006/05/protonu#"
target="_blank">http://proton.semanticweb.org/2006/05/protonu#</a>;</span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">
<a moz-do-not-send="true"
href="http://www.ontotext.com/kim/2006/05/wkb#"
target="_blank">http://www.ontotext.com/kim/2006/05/wkb#</a>;</span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">
<a moz-do-not-send="true"
href="http://www.ontotext.com/kim/2006/05/wkb#"
target="_blank">http://www.ontotext.com/kim/2006/05/wkb#</a>;</span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">
<a moz-do-not-send="true"
href="http://www.ontotext.com/kim/2006/05/wkb#"
target="_blank">http://www.ontotext.com/kim/2006/05/wkb#</a>;</span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">
<a moz-do-not-send="true"
href="http://www.ontotext.com/kim/2006/05/wkb#"
target="_blank">http://www.ontotext.com/kim/2006/05/wkb#</a>;
</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">
<a moz-do-not-send="true"
href="http://www.ontotext.com/kim/2006/05/wkb#"
target="_blank">http://www.ontotext.com/kim/2006/05/wkb#</a>;'</span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">[INFO]
Configured parameter 'base-URL' to '<a moz-do-not-send="true"
href="http://www.ontotext.com/kim/2006/05/wkb#"
target="_blank">http://www.ontotext.com/kim/2006/05/wkb#</a>'</span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">[INFO]
Configured parameter 'ruleset' to 'kb/KIMRules.pie'</span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">[INFO]
Configured parameter 'ftsLiteralsOnly' to 'true'</span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">[INFO]
Configured parameter 'console-thread' to 'false'</span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">[INFO]
Configured parameter 'entity-index-size' to '400000'</span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">[INFO]
Configured parameter 'ftsIndexPolicy' to 'onStartup'</span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">[INFO]
Tokenization regular expression: [\p{L}\d_]+</span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">[INFO]
Repository fragments: 1</span><br style="font-family: courier
new,monospace;">
<span style="font-family: courier new,monospace;">[INFO]
Inferencer threads: 1</span><br style="font-family: courier
new,monospace;">
<span style="font-family: courier new,monospace;">[INFO]
ftsPolicy = on-startup</span><br style="font-family: courier
new,monospace;">
<span style="font-family: courier new,monospace;">[INFO] fts:
indexing literals only</span><br style="font-family: courier
new,monospace;">
<span style="font-family: courier new,monospace;">[INFO]
Configured parameter 'tuple-index-memory' to '100M'</span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">[INFO]
Configured parameter 'fts-memory' to '80M'</span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">[INFO] Cache
pages for tuples: 5241</span><br style="font-family: courier
new,monospace;">
<span style="font-family: courier new,monospace;">[INFO] Cache
pages for predicates: 0</span><br style="font-family: courier
new,monospace;">
<span style="font-family: courier new,monospace;">[INFO] Cache
pages for FTS: 4193</span><br style="font-family: courier
new,monospace;">
<span style="font-family: courier new,monospace;">[INFO]
Configured parameter 'storage-folder' to 'populated'</span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">[INFO]
KIMService registered on port 1099</span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">[INFO]
Configured parameter 'repository-type' to 'file-repository'</span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Compiled:
'/home/nabonita/kim-platform-3.0-RC3/context/default/kb/KIMRules.pie'</span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">[ERROR] Server
Starter thread failed!</span><br style="font-family: courier
new,monospace;">
<span style="font-family: courier new,monospace;">java.rmi.RemoteException:
Error creating repository; nested exception is: </span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">
java.lang.RuntimeException: Java compiler not found!</span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> at
com.ontotext.kim.semanticrepository.UnmanagedRepositoryFactory.reconnect(UnmanagedRepositoryFactory.java:44)</span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> at
com.ontotext.kim.KIMServiceImpl.getSemanticRepositoryAPI(KIMServiceImpl.java:228)</span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> at
com.ontotext.kim.KIMServiceImpl.getSemanticRepositoryAPI(KIMServiceImpl.java:198)</span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> at
com.ontotext.kim.KIMServiceImpl$ServerComponentStarter.run(KIMServiceImpl.java:82)</span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Caused by:
java.lang.RuntimeException: Java compiler not found!</span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> at
com.ontotext.trree.rules.RuntimeInferencerCompiler.compileInferencer(RuntimeInferencerCompiler.java:97)</span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> at
com.ontotext.trree.OwlimSchemaRepository.initialize(OwlimSchemaRepository.java:501)</span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> at
org.openrdf.repository.sail.SailRepository.initialize(SailRepository.java:84)</span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> at
com.ontotext.kim.semanticrepository.UnmanagedRepositoryFactory.reconnect(UnmanagedRepositoryFactory.java:40)</span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> ... 3 more</span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">[INFO] It is
now safe to close the KIM Server.</span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">[INFO]
KIMService unregistered from port 1099</span><br
style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">[INFO] It is
now safe to close the KIM Server.</span><br>
<br clear="all">
</b>At present all files in KIM3 folder are executable, hoping
that will resolve this error, but no success :( <br>
<br>
Looking forward for your help.<br>
<br>
With best regards<br>
<br>
Nabonita<br>
<font color="#888888"><br>
-- <br>
Nabonita <br>
JNCASR, Bangalore - 560064<br>
Karnataka, INDIA<br>
Email: <a moz-do-not-send="true"
href="mailto:nabonitaguha@gmail.com" target="_blank">nabonitaguha@gmail.com</a></font>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Kim-discussion mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Kim-discussion@ontotext.com">Kim-discussion@ontotext.com</a>
<a class="moz-txt-link-freetext" href="http://ontotext.com/mailman/listinfo/kim-discussion">http://ontotext.com/mailman/listinfo/kim-discussion</a>
</pre>
</blockquote>
<br>
</body>
</html>