Forum Problems Installing LAMS: Re: Re: Re: installing lams problem in linux


 
Search: 

6: Re: Re: Re: installing lams problem in linux
In response to 5 05/06/07 11:12 PM
[ Reply | Forward ]
Looks like the required library is in the right place... these commands will tell you where Ant is looking:

ant -diagnostics | grep ant.library.dir
ant -diagnostics | grep java.class.path

The first should say something like, '/var/www/lams/ant/lib' and the second should include mysql-connector-java-3.1.12-bin.jar somewhere.

Posted by Jun-Dir Liew

8: Re: Re: Re: Re: installing lams problem in linux
In response to 6 05/16/07 12:18 PM
[ Reply | Forward ]
Hi Jun-Dir

I have the very same problem that Ablet... I have done everything but I cant install LAMS 2.0

I executed ant -diagnostics | grep ant.library.dir and i got:
ant.library.dir : /usr/share/ant/lib

Also, I wrote: ant -diagnostics | grep java.class.path and this is the output:
java.class.path : /usr/share/java/ant.jar:/usr/share/java/ant-launcher.jar:/usr/share/java/jaxp_parser_impl.jar:/usr/share/java/xml-commons-apis.jar:/usr/java/jdk1.6.0_01/lib/tools.jar

I have CentOS 5, Apache/2.2.3 (CentOS), Mysql 5.0.22, JDK jdk1.6.0_01, Jboss 4.0.2.

I need help, Carla

Posted by Carla Segura

9: Re: Re: Re: Re: Re: installing lams problem in linux
In response to 8 05/16/07 07:44 PM
[ Reply | Forward ]
Hi Carla,

I think you're using the ant included with your OS, rather than the ant included with the lams package. That's OK, but it needs to know where to find the mysql jar.

One way to do this is to include it as an argument to ant, as Luke said:

ant -lib /path/to/lams/package/ant/lib install

Or, copy the mysql jar to /usr/share/java (as that seems to be where your copy of ant has its libraries):

cp /path/to/lams/package/ant/lib/mysql-connector-java-3.12-bin.jar /usr/share/java

Posted by Jun-Dir Liew

10: Re: Re: Re: Re: Re: installing lams problem in linux
In response to 8 05/17/07 01:01 AM
[ Reply | Forward ]
Carla,

The LAMS2.0.2 installer is available if you want to give this a go instead.

Thanks,

Ernie

Posted by Ernie Ghiglione

11: Re: Re: Re: Re: Re: Re: installing lams problem in linux
In response to 10 05/17/07 09:36 AM
[ Reply | Forward ]
Thank you, Jun-Dir and Ernie...

I decided to try the installer mentioned by Ernie and, everything goes perfect!

Thank you very much!
Krla

Posted by Carla Segura

Reply to first post on this page
Back to Problems Installing LAMS