![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Listing directories and sub directories | jinxor | UNIX for Advanced & Expert Users | 3 | 03-11-2008 07:27 AM |
| moving directories to new directories on multiple servers | mackdaddy07 | Shell Programming and Scripting | 0 | 04-06-2007 08:30 AM |
| Relink a binary | big123456 | UNIX for Advanced & Expert Users | 1 | 03-27-2007 02:08 PM |
| Compilation of gettext produces relink errors | töfte | AIX | 0 | 09-05-2006 03:15 PM |
| du -ks on certain directories only | Shambo | Shell Programming and Scripting | 1 | 09-05-2002 01:41 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
relink directories
Hello,
I installed a new java version on a suse linux box. I see directory java is linked to the old SunJava 1.3 version. How can I relink it to the j2re1.4.2_15 directory so it will use the new java version without me having to hardcode the directory. Thanks. Code:
lrwxrwxrwx 1 root root 12 Jul 1 2005 java -> SunJava2-1.3 lrwxrwxrwx 1 root root 12 Jul 1 2005 java2 -> SunJava2-1.3 Test:/usr/lib # ls -lrt | grep j2re1* drwxrwxr-x 8 root root 4096 Jan 8 17:08 j2re1.4.2_15 Test:/usr/lib # |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Code:
ln -fs j2re1.4.2_15 java |
|
#3
|
|||
|
|||
|
I'm typing the link command but it's not changing the current link from SunJava to the new java version.. Do I need to unlink the java directory first and then link them back up. Thanks.
|
|
#4
|
|||
|
|||
|
I guess the real question is how do I change the environment so it uses the new java version from the jr2e directory. I can't find how it sets up the java environement in Suse 8. Thanks.
|
|
#5
|
|||
|
|||
|
Probably should do this, but I got on another box so I would mess up our man test box and figured this out... I just rm java and java2... remade the links with the new java, one minor directory change and all is ok I guess.. Thanks.
|
|||
| Google The UNIX and Linux Forums |