Either put your new java path before the inherited $PATH
Or, better, look where the $PATH comes from (/etc/profile ? /etc/environment ? /etc/default/login ? ... ?) and change it there.
As others said, it can make sense to just backout the old /usr/java14/jre/bin:/usr/java14/bin: and ensure that /usr/bin/java is a link to the desired version.
This User Gave Thanks to MadeInGermany For This Post:
Either put your new java path before the inherited $PATH
Or, better, look where the $PATH comes from (/etc/profile ? /etc/environment ? /etc/default/login ? ... ?) and change it there.
As others said, it can make sense to just backout the old /usr/java14/jre/bin:/usr/java14/bin: and ensure that /usr/bin/java is a link to the desired version.
Location: on the road for work; home is private time
Posts: 456
Thanks Given: 10
Thanked 108 Times in 100 Posts
Did you check your .profile, and/or .kshrc?
If you switch to bash - did you check, iirc, .bashrc
I tend to remove ~/.profile so that my PATH should only be coming from /etc/environment.
And, do consider uninstalling java1.4 (I recently uninstalled Java6*).
p.s. - if you create a new user - what do they see on login (would be caused by .profile in that case! which come, iirc, from /etc/security/.profile (it gets copied by mkuser).
Hi Forum
Im a new to fedora and was wondering ,Can anybody direct me to a site that shows me how to install Java EE 6 SDK Update 1 (with JDK 6 Update 23) for fedora 14. NOT openjdk i need oracles java to develop a web app using tomcat 7.0
Any help would be much appreciated and thank you in advance (1 Reply)
Hi all,
I recently changed the name of my hostname from 'abc123' to 'abc456' (as an example).
I then added a user in my mysql database with the new host and removed references to the old users and hostname.
The strange thing is though, a process using the database still uses the old... (1 Reply)
I have created a server monitor program in Java that connects to servers via SSH and constantly refreshes the new server load every 3 mins. The problem is that even though it is a Java app running shell commands to get the load info, the commands still appear in 'history'.
The question is.. is... (1 Reply)
Hello.
I was trying to installe oracle 10g on solaris t0 x86 and got few exception? Could you please suggest, what might be going wrong?
$ ls -l
total 32
drwxr-xr-x 9 oracle dba 512 Nov 21 03:50 doc
drwxr-xr-x 5 oracle dba 512 Nov 21 03:50 install
drwxr-xr-x 2... (5 Replies)
Forgive the sheer volume of verbiage:
Sco Openserver 6 - how to install Java 1.42_14b:
The documentation says:
"Make a subdirectory and unwind the tar file into that subdirectory.
mkdir JAVA142
cd JAVA142; tar -xf ../OSR6_Java2_142.VOLS.tar
Run the Software Manager with the command: ... (6 Replies)