Results 1 to 2 of 2
  1. #1
    Peter is offline Senior Member
    Join Date
    Jun 2007
    Posts
    119
    Rep Power
    0

    Default java.lang.RuntimeException+ Axis

    when I execute webservice using Axis an error appears:

    "java.lang.RuntimeException: No compiler found in your
    classpath! (you may need to add 'tools.jar')"

    I got the problem that java.home property in the Happy Axis page is pointing to the JRE, so tools.jar is missing in that directory which is actually present in JDK

    How do I change this property of Axis to point to JDK directory?

    I tried creating a new JAVA_HOME variable and restarted tomcat, but in vain.

    Please help me

  2. #2
    Ed
    Ed is offline Senior Member
    Join Date
    Jun 2007
    Posts
    110
    Rep Power
    0

    Default

    copy the file tools.jar from your jsdk\lib\ into the folder common\lib\
    from your tomcat server.

Similar Threads

  1. Replies: 2
    Last Post: 09-18-2008, 07:30 AM
  2. Axis Client accessing data on .Net webservice
    By cfacile666 in forum Web Frameworks
    Replies: 3
    Last Post: 09-02-2008, 11:35 AM
  3. webservices axis..
    By kalpana in forum Advanced Java
    Replies: 0
    Last Post: 01-30-2008, 06:06 PM
  4. Axis 1.4 xerces memory leaks
    By hlaprade in forum Advanced Java
    Replies: 0
    Last Post: 12-11-2007, 12:42 AM
  5. How to retrieve HttpSession from axis 2.0.
    By snooze-g in forum Advanced Java
    Replies: 0
    Last Post: 10-02-2007, 07:08 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •