simon_sg  

Today, setup Compiere server meets some problems.

 

 

=================================================================

 

[test@localhost test]$ sh /home/test/db/Compiere2/RUN_setup.sh
Install Compiere Server
===================================
Setup Dialog
===================================
Exception in thread "main" java.lang.NoClassDefFoundError: org/compiere/install/Setup
===================================
Make .sh executable
===================================
chmod: cannot access `*.sh': No such file or directory
/home/test/db/Compiere2/RUN_setup.sh: line 38: utils/RUN_UnixEnv.sh: No such file or directory
[test@localhost test]$

 

 

when I ask this question on the DaffodilDB’s forum. somebody told me I need to setup the COMPIERE_HOME.

So how to setup the COMPIERE_HOME..

I changed two file’s code…

One is .bashrc

Added “ export COMPIERE_HOME=/home/test/db/Compiere2…

And  I change another file named “RUN_Env.sh” added some code :

    If [$COMPIERE_HOME=/home/test/db/Compiere2 ]; then

   The red words was added

Restart…

[test@localhost test] $  // move to the Compiere2 folder

then ,,,            $ chmod 777 RUN*

then…            $ sh /home/test/db/Compiere2/RUN_setup.sh

 

It is working.

 

PS: maybe just need this step… “$ chmod 777 RUN ”    only…

posted on 2005-04-15 19:45  IT and Living  阅读(943)  评论(2)    收藏  举报