<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">
<p>Hello Lucio<br>
</p>
<p>This warning is caused by the Java preferences mechanism
(java.util.prefs package) trying to initialize the preferences.
Geotk use the java.util.prefs mechanism for information like
where you would like Geotk to store the EPSG database.<br>
</p>
<p>However, in practice this is causing issues like the one you
describe. For this reason we are already in process of removing
this mechanism. The Geotk referencing module will be replaced by
the Apache SIS referencing module, and Apache SIS does not use
java.util.prefs anymore.<br>
</p>
<p>In the main time, to get ride of the warning there is two
possibilities:<br>
</p>
<ul>
<li>If you are willing to recompile the project, you can edit
the
modules/utility/geotk-utility/src/main/java/org/geotoolkit/internal/io/Installation.java
file and disable usage of the Preferences class.</li>
<li>Or you can use the 4.0-SNAPSHOT version which already
reduced usage of preferences (but I'm not sure if it already
eliminate it completely).</li>
</ul>
<p>Martin<br>
</p>
<p><br>
</p>
Le 24/03/16 04:37, lucio Piccoli a écrit :<br>
</div>
<blockquote cite="mid:BLU172-W497694D84E6C9D6D52584A9F820@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr">hi all
<div><br>
</div>
<div>i am new user.</div>
<div><br>
</div>
<div>i downloaded geotk-referencing 4.0-M4 and ran a demo.</div>
<div><br>
</div>
<div>but i am getting heaps of windows regkey warning and big
delay when running the test.</div>
<div><br>
</div>
<div>stuff like</div>
<div>
<div>Mar 24, 2016 1:16:31 PM
java.util.prefs.WindowsPreferences WindowsRegOpenKey1</div>
<div>WARNING: Trying to recreate Windows registry node
Software\JavaSoft\Prefs\org\geotoolkit at root 0x80000002.</div>
<div><br>
</div>
<div>why is geotools writing to the registry?</div>
<div>and can i prevent it from doing so?</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>