Operating System - Linux
1748067 Members
5563 Online
108758 Solutions
New Discussion юеВ

Unable to find the package from the jar file

 
ambika_1
Frequent Advisor

Unable to find the package from the jar file

Hi,
I am using HPUX 11.11 machine.
We have include xjavadoc.jar file in /opt/java1.4/lib and export this path in CLASSPATH varible, but we are getting this error after executing ant dist command.

[javac] /home/sreevani/xdoclet/modules/build/all-src/xdoclet/DocletTask.java:19: package xjavadoc.ant does not exist
[javac] import xjavadoc.ant.XJavadocTask;
[javac] ^
[javac] /home/sreevani/xdoclet/modules/build/all-src/xdoclet/DocletTask.java:40: cannot resolve symbol
[javac] symbol : class XJavadocTask
[javac] location: class xdoclet.DocletTask
[javac] public class DocletTask extends XJavadocTask implements DynamicConfigurator


So how to resolve this error.
3 REPLIES 3
Muthukumar_5
Honored Contributor

Re: Unable to find the package from the jar file

Can you try this:

find / -name "xjavadoc.ant"

Try to export that PATH as,

# export PATH=$PATH:/

Try it again.

--
Muthu
Easy to suggest when don't know about the problem!
ambika_1
Frequent Advisor

Re: Unable to find the package from the jar file

There is no such file in the system. Its in that xjavadoc.jar file.
Muthukumar_5
Honored Contributor

Re: Unable to find the package from the jar file

Hm. Include the path of /opt/java1.4/lib in PATH variable and Try it.

--
Muthu
Easy to suggest when don't know about the problem!