Hi there, I have the very same problem. I'm trying to setup J2EE on my SUSE 7.2 Pro with KDE2.2.1. I can setup any other paths like JAVA_HOME, J2EE_HOME but can't setup PATH. I do the following: JAVA_HOME=/usr/lib/j2sdk1.4 J2EE_HOME=/usr/lib/j2ee1.3 PATH=$J2EE_HOME/bin:$PATH export JAVA_HOME J2EE_HOME PATH I have tried everything but it doesn't work. :((( Also in /usr/lib there are two links that came with SUSE installation. One is "java"-> /usr/lib/j2sdk1.1.8 and "jre"-> /usr/lib/j2re1.3. When I , as root, delete those and create new once: ln -s /usr/lib/j2sdk1.4 java ln -s /usr/lib/j2re1.4 jre they will stay as long as I, as user, am logged in. As soon as I restart computer they change back to previous locations! It is very anoying every time to setup those settings so if anyone has a clue what's going on, please help! Regards, Slobodan On October 1, 2001 02:36 pm, you wrote:
Hi all!
How can i edit the path in which bash searches for commands for a specific user? I tried specifying this in the user's .profile file but it didn't work.
---- Greg, Computer Frontiers International
,,, /'^'\ ( o o ) oOOO--(_)--OOOo----------------------
"Just because you're not paranoid, it doesn't mean they are *not* after you!"
Slobodan Halavania writes:
Hi there,
I have the very same problem. I'm trying to setup J2EE on my SUSE 7.2 Pro with KDE2.2.1. I can setup any other paths like JAVA_HOME, J2EE_HOME but can't setup PATH. I do the following: JAVA_HOME=/usr/lib/j2sdk1.4 J2EE_HOME=/usr/lib/j2ee1.3 PATH=$J2EE_HOME/bin:$PATH export JAVA_HOME J2EE_HOME PATH
I have tried everything but it doesn't work. :((( Also in /usr/lib there are two links that came with SUSE installation. One is "java"-> /usr/lib/j2sdk1.1.8 and "jre"-> /usr/lib/j2re1.3. When I , as root, delete those and create new once: ln -s /usr/lib/j2sdk1.4 java ln -s /usr/lib/j2re1.4 jre they will stay as long as I, as user, am logged in. As soon as I restart computer they change back to previous locations! It is very anoying every time to setup those settings so if anyone has a clue
Put the vars in .bashrc or whatever shell you use. I think that .profile only gets run once, and since in X all shells are inherited from that original shell you logged in from the .profile will not be read again until you log all the way out.
what's going on, please help!
Regards, Slobodan
On October 1, 2001 02:36 pm, you wrote:
Hi all!
How can i edit the path in which bash searches for commands for a specific user? I tried specifying this in the user's .profile file but it didn't work.
---- Greg, Computer Frontiers International
,,, /'^'\ ( o o ) oOOO--(_)--OOOo----------------------
"Just because you're not paranoid, it doesn't mean they are *not* after you!"
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
-- Jesse Marlin Intec Telecom Systems Software Engineer Main 404-705-2800 Ph 404-705-2912 Fax 404-705-2805 Email jesse.marlin@intec-telecom-systems.com
You need to change to NO the option in yast administration config menu the option of creating the link automaticly search for java and you should find it then you should do the link by yourself. I use the .bashrc to set the path or if you prefer you may put it in /etc/init.d/boot.local to set it to all users. I hope it could help you. On Monday, 1 de October de 2001 16:59, Slobodan Halavania wrote: # Hi there, # # I have the very same problem. I'm trying to setup J2EE on my SUSE 7.2 Pro # with KDE2.2.1. I can setup any other paths like JAVA_HOME, J2EE_HOME but # can't setup PATH. # I do the following: # JAVA_HOME=/usr/lib/j2sdk1.4 # J2EE_HOME=/usr/lib/j2ee1.3 # PATH=$J2EE_HOME/bin:$PATH # export JAVA_HOME J2EE_HOME PATH # # I have tried everything but it doesn't work. :((( # Also in /usr/lib there are two links that came with SUSE installation. # One is "java"-> /usr/lib/j2sdk1.1.8 and "jre"-> /usr/lib/j2re1.3. # When I , as root, delete those and create new once: # ln -s /usr/lib/j2sdk1.4 java # ln -s /usr/lib/j2re1.4 jre # they will stay as long as I, as user, am logged in. # As soon as I restart computer they change back to previous locations! # It is very anoying every time to setup those settings so if anyone has a clue # what's going on, please help! # # Regards, # Slobodan # # On October 1, 2001 02:36 pm, you wrote: # > Hi all! # > # > How can i edit the path in which bash searches for commands for a specific # > user? I tried specifying this in the user's .profile file but it didn't # > work. # > # > ---- # > Greg, # > Computer Frontiers International # > # > ,,, # > /'^'\ # > ( o o ) # > oOOO--(_)--OOOo---------------------- # > # > "Just because you're not paranoid, it doesn't mean they are *not* after # > you!" #
participants (3)
-
Elton Machado
-
Jesse Marlin
-
Slobodan Halavania