<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 6.00.6000.16441" name=GENERATOR></HEAD>
<BODY>
<DIV>
<P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"><SPAN 
style="mso-fareast-font-family: 'MS Mincho'"><FONT face="Courier New" 
size=2><SPAN class=562574500-31052007>I've been following the instructions on 
this page;</SPAN></FONT></SPAN></P>
<P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"><SPAN 
style="mso-fareast-font-family: 'MS Mincho'"><FONT><A 
href="http://wiki.open-xchange.com/wiki/index.php?title=Open_Xchange_Installation#IV._Installation"><FONT 
face="Courier New" 
size=2>http://wiki.open-xchange.com/wiki/index.php?title=Open_Xchange_Installation#IV._Installation</FONT></A><BR><BR><SPAN 
class=562574500-31052007><FONT face="Courier New" size=2>At the point were I 
need to get the json-jdk15.jar the instructions 
are;</FONT></SPAN></FONT></SPAN></P>
<P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"><SPAN 
style="mso-fareast-font-family: 'MS Mincho'"><FONT face="Courier New" 
size=2><SPAN class=562574500-31052007></SPAN></FONT></SPAN> </P>
<P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"><SPAN 
style="mso-fareast-font-family: 'MS Mincho'"><FONT face="Courier New" size=2>as 
of 24.04.2007 you need to checkout the modified version here:<BR>cvs -d 
:pserver:anonymous@www.open-xchange.com:/var/lib/cvs co json-jdk15<BR>You'll 
have to build the jar yourself.<BR><BR>Once you have checked out json-jdk15 from 
the cvs do:<BR><BR>& cd /tmp/json-jdk15<BR>& ant<BR>& cp 
lib/json.jar /opt/open-xchange/lib<BR><BR>Retrieved from <A 
href="http://www.open-xchange.com/wiki/index.php?title=Building_JSON_jar">http://www.open-xchange.com/wiki/index.php?title=Building_JSON_jar</A><BR></FONT></SPAN></P><SPAN 
style="mso-fareast-font-family: 'MS Mincho'"><FONT face="Courier New" 
size=2></FONT></SPAN></DIV>
<DIV><SPAN style="mso-fareast-font-family: 'MS Mincho'"><FONT face="Courier New" 
size=2><SPAN class=562574500-31052007>The first time I tried the cvs command it 
failed, but the error message kindly told me that if I did an "apt-get install 
cvs" I could install the cvs application. So I did that and then tried it again. 
The following is the output;</SPAN></FONT></SPAN></DIV>
<DIV><SPAN style="mso-fareast-font-family: 'MS Mincho'"><FONT 
face="Courier New"><FONT face=Arial></FONT> </DIV><FONT face=Arial></FONT>
<P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"><BR><FONT 
size=2>root@ubuntu:/tmp/json-jdk15# cvs -d 
:pserver:anonymous@www.open-xchange.com:/var/lib/cvs co json-jdk15<BR>cvs 
checkout: CVS password file /root/.cvspass does not exist - creating a new 
file<BR>cvs checkout: warning: cannot write to history file 
/var/lib/cvs/CVSROOT/history: Permission denied<BR>cvs checkout: Updating 
json-jdk15<BR>U json-jdk15/build.xml<BR>cvs checkout: Updating 
json-jdk15/src<BR>cvs checkout: Updating json-jdk15/src/org<BR>cvs checkout: 
Updating json-jdk15/src/org/json<BR>U json-jdk15/src/org/json/CDL.java<BR>U 
json-jdk15/src/org/json/Cookie.java<BR>U 
json-jdk15/src/org/json/CookieList.java<BR>U 
json-jdk15/src/org/json/HTTP.java<BR>U 
json-jdk15/src/org/json/HTTPTokener.java<BR>U 
json-jdk15/src/org/json/JSONArray.java<BR>U 
json-jdk15/src/org/json/JSONException.java<BR>U 
json-jdk15/src/org/json/JSONObject.java<BR>U 
json-jdk15/src/org/json/JSONString.java<BR>U 
json-jdk15/src/org/json/JSONStringer.java<BR>U 
json-jdk15/src/org/json/JSONTokener.java<BR>U 
json-jdk15/src/org/json/JSONWriter.java<BR>U 
json-jdk15/src/org/json/Test.java<BR>U json-jdk15/src/org/json/XML.java<BR>U 
json-jdk15/src/org/json/XMLTokener.java<BR></FONT></P>
<P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"><SPAN 
class=562574500-31052007><FONT face=Arial size=2>As per the instructions I then 
tried to "ant" and that failed.</FONT></SPAN></P>
<P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"><FONT face=Arial 
size=2></FONT> </P>
<P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"><FONT 
size=2>root@ubuntu:/tmp/json-jdk15# ant<BR>Error: JAVA_HOME is not defined 
correctly.<BR><SPAN style="mso-spacerun: yes">  </SPAN>We cannot execute 
java</FONT></FONT><BR></P>
<P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"><SPAN 
class=562574500-31052007><FONT face=Arial size=2>Any ideas on what I need to do 
to create this .jar file?</FONT></SPAN></P>
<P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"><SPAN 
class=562574500-31052007><FONT face=Arial size=2></FONT></SPAN> </P>
<P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"><SPAN 
class=562574500-31052007><FONT face=Arial size=2>Cheers,</FONT></SPAN></P>
<P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"><SPAN 
class=562574500-31052007><FONT face=Arial size=2></FONT></SPAN> </P>
<P class=MsoPlainText style="MARGIN: 0cm 0cm 0pt"><SPAN 
class=562574500-31052007><FONT face=Arial 
size=2>Jan</FONT></SPAN></P></SPAN></BODY></HTML>