Menu

PlJava install error

Help
Meh
2005-11-10
2013-04-02
  • Meh

    Meh - 2005-11-10

    Kompiere runs right through instal until Pljava bit then throws up an error.. Help  :)

    `/usr/local/kompiere/install/pljava/pljava-1.1.0/build/classes/pljava'
    javac -source 1.4 -target 1.4 -d . <java sources>
    make[1]: javac: Command not found
    make[1]: *** [.timestamp] Error 127
    make[1]: Leaving directory `/usr/local/kompiere/install/pljava/pljava-1.1.0/build/classes/pljava'
    make: *** [pljava_all] Error 2
    ERROR!

     
    • jmcastro

      jmcastro - 2005-11-10

      you must have installed jdk1.4 or jdk1.5 in your system and before executing your install execute
      'export PATH=$PATH:/usr/java/jdk1.5.0_5/:/usr/java/jdk1.5.0_5/bin/:/usr/java/jdk1.5.0_5/lib/:/usr/java/jdk1.5.0_5/jre/bin/:/usr/java/jdk1.5.0_5/jre/lib /:/usr/java/jdk1.5.0_5/jre/lib/i386/client/'
      I recommend to you that you lower jdk1.5 since is the one that they recommend in e-volution

      good luck

       
    • Meh

      Meh - 2005-11-10

      ahh.. didnt notice that 1.4 in my config.. I Upgraded to 1.5 & removed 1.4.. missed that entry when editing config...

      Thanks, trying again

       
    • Meh

      Meh - 2005-11-10

      pfftt .. ignore my rambling...

       
    • jmcastro

      jmcastro - 2005-11-10

      SAY ME IF WORK.  MY INGLES VERY IS LIMITED...  SORRY WHICH I WRITE OF INGLES IS THANKS TO GOOGLE

       
    • Meh

      Meh - 2005-11-10

      eh?  :)

      anyhow.. nope still no worky...still same error....can I install pljava on its own..? & uncheck the pljava in kompiere?

      /bin/sh ../../config/install-sh -c  pg_autovacuum /usr/local/kompiere/e-database/8.0.3/bin
      make[1]: Entering directory `/usr/local/kompiere/install/pljava/pljava-1.1.0/build/classes/pljava'
      javac -source 1.4 -target 1.4 -d . <java sources>
      make[1]: javac: Command not found
      make[1]: *** [.timestamp] Error 127
      make[1]: Leaving directory `/usr/local/kompiere/install/pljava/pljava-1.1.0/build/classes/pljava'
      make: *** [pljava_all] Error 2
      ERROR!

      this is /etc/profile
      export PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/derek/bin:/u01/app/pgsql/bin:/bin::/usr/local/bin/jdk1.5.0_5/:/usr/local/bin/jdk1.5.0_5/bin/:/usr/local/bin/jdk1.5.0_5/lib/:/usr/local/bin/jdk1.5.0_5/jre/bin/:/usr/local/bin/jdk1.5.0_5/jre/lib /:/usr/local/bin/jdk1.5.0_5/jre/lib/i386/client/

       
      • Victor Perez Juarez

        Hi derek!

        I see that problem is you should set JAVA_HOME=/usr/local/bin/jdk1.5.0_5

        please see that your system complaice with requirement

        www.e-evolution.com/kompiere/release.html

        cheers
        Victor Prez
        www.e-evolution.com

         
    • Meh

      Meh - 2005-11-10

      ah.. getting somewhere now...

      got passed javac error...now getting this..

      rm -f libpljava.so && \
      ln -s libpljava.so.1.1 libpljava.so
      make[1]: Leaving directory `/usr/local/kompiere/install/pljava/pljava-1.1.0/build/objs'
      cp: `/usr/local/kompiere/e-database/8.0.3/lib/pgxs': specified destination directory does not exist
      Try `cp --help' for more information.
      initdb: cannot be run as root
      Please log in (using, e.g., "su") as the (unprivileged) user that will
      own the server process.
      ERROR!

      I was logged in as normal user & su in term..going to try as root in xterm

       
    • Meh

      Meh - 2005-11-10

      aarrrggghh!!!!!  follow the install instructions.. god I need to read properly...

       
    • Meh

      Meh - 2005-11-11

      Hi,

      Yeh I noticed that java_home variable & changed it...& it worked.. sortof...I had not read install instructions properly, so install failed... but then I had a system problem... for some reason I couldnt create users...So, Today is a new day.. new system& clean install of OS.

      I will be following the install instructions on website, to the letter  :) 

      Thanks for all your help so far :)

       

Log in to post a comment.