java plugin path problem

Discussion regarding the installation and configuration of Linux distributions.

java plugin path problem

Postby mementomori » Sun Jun 22, 2003 2:10 am

salamo alikum
well i am back again with same sort of problem well i am new to linux and just exploring it with the help of u guys, u are doing great job :D ,
okayu kindly tell me how to give path u told me to give path
well i try
root@awan awan#path=$path/java and all that command u told me
i think its not the way, so please tell me how i should give that path, and how to configure symbolic link i mean i want to know command
and please refer me a book about linux
take care
allah hafiz
be kool
Posts: 10
Joined: Wed May 28, 2003 8:09 pm
Location: lahore

Postby gh4z4nf4r » Sun Jun 22, 2003 12:36 pm


PATH is one of the environment variables .be sure u use capital letters because it is defined as such.i think u typed it in small give a path u do following
here $PATH puts the old path ..values of variables are accessed by putting dollar sign its the convention. colon is used to separate different paths u give thats why we put colon after the $PATH that will expand to old path plus all the new u give...u could do following
if you have another jdk installed in a separate directory but u want to use your /home/java this way /home/java will be checked before any other directory...

symbolic links are created by ln command like follows

# ln -s /home/target /home/link

where link is a symbolic link to target
lastly do
#man ln

Posts: 65
Joined: Mon Oct 14, 2002 3:51 pm
Yahoo Messenger:
Location: Wah Cantt

Postby newbie » Mon Jun 23, 2003 12:19 am

in mine pc java is installed at "/usr/java" and netscape at "usr/lib/netscape"
but you should do it according to your needs, just giving you idea how to do it.

[root@BSDLover ~]# cd /usr/lib/netscape/plugins/
[root@BSDLover /usr/lib/netscape/plugins]# ln -s /usr/java/j2re1.4.1_03/plugin/i386/ns610/
[root@BSDLover /usr/lib/netscape/plugins]# ls*
[root@BSDLover /usr/lib/netscape/plugins]#

symbolic link = shortcut in windows

if you only want to do it for one user then make symbolic link in "~/.netscape/plugins" (~ = every user's home directory)

and remember ns6100 represents netscape version 6.1
ns600 = netscape version 6
ns400 = netscape version 4

and also set the path of your netsacape if its not in $PATH as gh4z4nf4r mentioned above.
Company Havaldaar Major
Posts: 156
Joined: Thu Aug 08, 2002 4:18 am
Location: lahore

Postby kadnan » Wed Jun 25, 2003 5:57 pm

just copy the plugin files in /usr/lib/netscape/plugins

in order to see list of plugins go to
Battalion Quarter Master Havaldaar
Posts: 208
Joined: Wed Aug 07, 2002 8:00 pm
ICQ: 12940796
Location: Karachi,Pakistan

Postby fawad » Thu Jun 26, 2003 2:06 am

IMHO newbie's suggestion is more accurate, as by default, when you install java, there is no persistant pointer to the installation location (i.e. no JAVAHOME etc.). If you copy the plugin to the plugins directory, the plugin wouldn't know where the actual java installation is located. Creating symlinks is a more foolproof method, as even though we get a link in the plugins directory, the physical location of the plugin is still within the jdk directory
Site Admin
Posts: 918
Joined: Wed Aug 07, 2002 8:00 pm
ICQ: 17672437
Yahoo Messenger: fawad2048
AOL: fawadhalim
Location: Addison, IL

Return to “%s” Installation

Who is online

Users browsing this forum: No registered users and 2 guests