RE: Building json-jdk15.jar
- From: "Jan Sneep" <jan@xxxxxxxxxxxxxxxx>
- Date: Thu, 31 May 2007 12:51:19 -0400
Solved it ...
For Debian and Ubuntu distributions I needed to do;
export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun
-----Original Message-----
From: ubuntu-users-bounces@xxxxxxxxxxxxxxxx
[mailto:ubuntu-users-bounces@xxxxxxxxxxxxxxxx]On Behalf Of Jan Sneep
Sent: May 30, 2007 8:54 PM
To: ubuntu-users@xxxxxxxxxxxxxxxx
Subject: Building json-jdk15.jar
I've been following the instructions on this page;
http://wiki.open-xchange.com/wiki/index.php?title=Open_Xchange_Installatio
n#IV._Installation
At the point were I need to get the json-jdk15.jar the instructions are;
as of 24.04.2007 you need to checkout the modified version here:
cvs -d :pserver:anonymous@xxxxxxxxxxxxxxxxxxxx:/var/lib/cvs co json-jdk15
You'll have to build the jar yourself.
Once you have checked out json-jdk15 from the cvs do:
& cd /tmp/json-jdk15
& ant
& cp lib/json.jar /opt/open-xchange/lib
Retrieved from
http://www.open-xchange.com/wiki/index.php?title=Building_JSON_jar
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;
root@ubuntu:/tmp/json-jdk15# cvs -d
:pserver:anonymous@xxxxxxxxxxxxxxxxxxxx:/var/lib/cvs co json-jdk15
cvs checkout: CVS password file /root/.cvspass does not exist - creating a
new file
cvs checkout: warning: cannot write to history file
/var/lib/cvs/CVSROOT/history: Permission denied
cvs checkout: Updating json-jdk15
U json-jdk15/build.xml
cvs checkout: Updating json-jdk15/src
cvs checkout: Updating json-jdk15/src/org
cvs checkout: Updating json-jdk15/src/org/json
U json-jdk15/src/org/json/CDL.java
U json-jdk15/src/org/json/Cookie.java
U json-jdk15/src/org/json/CookieList.java
U json-jdk15/src/org/json/HTTP.java
U json-jdk15/src/org/json/HTTPTokener.java
U json-jdk15/src/org/json/JSONArray.java
U json-jdk15/src/org/json/JSONException.java
U json-jdk15/src/org/json/JSONObject.java
U json-jdk15/src/org/json/JSONString.java
U json-jdk15/src/org/json/JSONStringer.java
U json-jdk15/src/org/json/JSONTokener.java
U json-jdk15/src/org/json/JSONWriter.java
U json-jdk15/src/org/json/Test.java
U json-jdk15/src/org/json/XML.java
U json-jdk15/src/org/json/XMLTokener.java
As per the instructions I then tried to "ant" and that failed.
root@ubuntu:/tmp/json-jdk15# ant
Error: JAVA_HOME is not defined correctly.
We cannot execute java
Any ideas on what I need to do to create this .jar file?
Cheers,
Jan
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- References:
- Building json-jdk15.jar
- From: Jan Sneep
- Building json-jdk15.jar
- Prev by Date: sources.list question
- Next by Date: Re: DVD Playback
- Previous by thread: Building json-jdk15.jar
- Next by thread: multisync help
- Index(es):
Relevant Pages
|