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.
hi!
just wondering if anybody would know where i can download an install to put javac on my redhat 9.0 i checked rpmfind.net but dont think i could find one anywhere! thanks a lot!
hi! so i installed the javac compiler from the sun website except now i dont know how to change that whole path thing... i tried to read up on the other posts which mentioned stuff about how i should change my profile etc... but whenver i type in ~/.bash_profile from root, it tells me that "permission is denied" .. so i'm not exactly sure how to change my profile and what i should put in my profile in order to change it so that javac compiler will work! thansk a lot!
I just went to terminal switched to the superuser ("su" at command prompt) then edited ("gedit" at command) the /etc/ld.so.conf and I add the location of my JDK directory. And to edit the bash.profile file I think you have the change the permissions to it, but I'm not sure.
i'm not sure if i'm doing something wrong.... at first i tried only one export PATH but it didnt work so then i added the second above export PATH as shown.... but that didnt work either... so i'm not exactly sure whats going on... thanks a bunch again!
I'm pretty sure that the rpm doesn't install itself to there, unless it adds some kind of symlink i'm not aware of. My .bashrc file in my home directory is something like:
PATH=$PATH:/usr/java/j2sdk1.4.2_04/bin
Close the terminal then open it again and it should work.
Works fine for me at least.
hi!
ahhh i'm really sorry, but it still isnt working for me... :/ so there definately must be something i am doing wrong.... :/ i tried both alternatives above but neither worked for me.... below is the second alternative that i tried.... the other was just using PATH=/usr/local/java/bin:$PATH instead of the PATH=$PATH:/usr/java/j2sdk1.4.2_04/bin line... ahhh thanks again!!!
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.