Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Did you save the correct yum files? And are you installing through yum or are you just downloading the rpms and installing them manually? I recommend the first approach as it will automatically fetch any dependencies (providing, of course, that you are using the proper config files as already suggested). If you are installing manually, you have to download the dependencies yourself and install those first - but they may have their own dependencies so you'd need to get those too, etc. - that can go on for a while until you have all that is needed and it can get pretty annoying. So if you can, use the yum approach, then you'll have none of that.
Note that you should also read the remarks on setting up your jdk the proper way. An unmodified jdk straight from Sun is no good. Getting this right is vital if you are to install any of the other packages without any issues.
Just select the generic item as well as the one for rhel4. Do not forget to replace "mirror" with the address of an actual mirror and to replace "version" with the version of jpackage you would like to use (1.6, 1.7 or 5.0). The most convenient is to click on the MIRROR link and to follow through to the appropriate directory on the mirror, then copy the address to your yum config file.
If you need software from more than one version, you'll need to make extra entries: same mirror but different version.
Hopefully the info at jpackage helped you. If you're still having problems, can you post the command you ran to set JAVA_HOME and what is the output of echo $JAVA_HOME ?
based on the instructions from the ANT manual page i.e
{Only the bin and lib directories are required to run Ant. To install Ant, choose a directory and copy the distribution files there. This directory will be known as ANT_HOME.}
we had extracted the ant file to the path /usr/local
Then the path is /usr/local/apache-ant-1.7.0
Then following the commands found in the manual i.e
after doing all these,if we run ant command from the path
/usr/local/apache-ant-1.7.0/bin
we got the error,
[root@localhost bin]# ant
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Launcher
[root@localhost bin]# ant -v
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Launcher
Are you sure that jdk5 is compatible with ant7? I vaguely recall getting a similar error message some time ago when I was trying to run tomcat on jdk5.
By the way, what was wrong with the jpackage approach? Why mess with manual installs and paths when the system can do it?
Is ant 1.6.5 still installed? I imagine there could be a conflict between 1.6.5. and 1.7. Or maye I should say that your system may be mixed-up by using part of the one and part of the other. I think you should be able to determine whether there is by setting your ant_home and your path in /etc/profile or your bash_profile rather than from the command line. Always make sure that the new ant is added to the beginning of the path, something that does not happen if you use the command line. Thus, if 1.6.5 is in, say, /usr/local, your system would never get to use 1.7 since it finds 1.6.5 before it gets to the other one.
while updating the system using the Up2date we got the following error,
Problem registering system:
Error Class Code: 70
Error Class Info:
All available subscriptions for the requested channel have been exhausted.
Please contact a Red Hat Network Sales associate.
Explanation:
An error has occurred while processing your request. If this problem
persists please enter a bug report at bugzilla.redhat.com.
If you choose to submit the bug report, please be sure to include
details of what you were trying to do when this error occurred and
details on how to reproduce this problem.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.