aspose file tools*
The moose likes JSP and the fly likes Unable to find a javac compiler Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Unable to find a javac compiler" Watch "Unable to find a javac compiler" New topic
Author

Unable to find a javac compiler

Pablo M�ller
Ranch Hand

Joined: Dec 12, 2006
Posts: 63
Hi,
I have an application running on Tomcat 5.5.16 which I deploy using tomcat deployer (5.5.16). This works great. This application then calls tomcat deployer to deploy other application to the same server (I build the configuration file at runtime). But then I get this error:

I've been searching the web for this and tried everything:
- tools.jar is in TOMCAT_HOME/common/lib
- my JAVA_HOME points to the SDK not just the JRE
- I specified the path to tools.jar in the build.xml
- I put tools.jar in the lib directory of tomcat deployer.
I don't know what's going on.. It works when I call the ant task form eclipse but not when I call it fromthe application. Any ideas?
Thaks a lot.
Pablo.


2B || !2B
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to find a javac compiler