The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Listing directories and sub directories jinxor UNIX for Advanced & Expert Users 3 03-11-2008 10:27 AM
moving directories to new directories on multiple servers mackdaddy07 Shell Programming and Scripting 0 04-06-2007 11:30 AM
Relink a binary big123456 UNIX for Advanced & Expert Users 1 03-27-2007 05:08 PM
Compilation of gettext produces relink errors töfte AIX 0 09-05-2006 06:15 PM
du -ks on certain directories only Shambo Shell Programming and Scripting 1 09-05-2002 04:41 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-09-2008
benefactr benefactr is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 71
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 #
  #2 (permalink)  
Old 01-09-2008
gus2000 gus2000 is offline
Registered User
  
 

Join Date: Oct 2007
Posts: 157
Code:
ln -fs j2re1.4.2_15 java
  #3 (permalink)  
Old 01-14-2008
benefactr benefactr is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 71
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 (permalink)  
Old 01-14-2008
benefactr benefactr is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 71
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 (permalink)  
Old 01-14-2008
benefactr benefactr is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 71
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.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:09 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0