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
mementomori
Cadet
 
Posts: 10
Joined: Wed May 28, 2003 8:09 pm
Location: lahore

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

salam,

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 letters.to give a path u do following
#PATH=$PATH:/home/java
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
#PATH=/home/java:$PATH
if you have another jdk installed in a separate directory but u want to use your /home/java ..by 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

:D
gh4z4nf4r
Naik
 
Posts: 65
Joined: Mon Oct 14, 2002 3:51 pm
WLM: gh4z4nf4r@hotmail.com
Yahoo Messenger: gh4z4nf4r@yahoo.com
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/libjavaplugin_oji.so libjavaplugin_oji.so
[root@BSDLover /usr/lib/netscape/plugins]# ls
libjavaplugin_oji.so@ raclass.zip rpnp.so*
[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.
newbie
Company Havaldaar Major
 
Posts: 156
Joined: Thu Aug 08, 2002 4:18 am
WLM: usman_fool@hotmail.com
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
http://wp.netscape.com/plugins/
kadnan
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

kadnan,
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
fawad
Site Admin
 
Posts: 918
Joined: Wed Aug 07, 2002 8:00 pm
ICQ: 17672437
Website: http://www.fawad.net
WLM: fawadhalim@hotmail.com
Yahoo Messenger: fawad2048
AOL: fawadhalim
Location: Addison, IL


Return to “%s” Installation

Who is online

Users browsing this forum: No registered users and 1 guest

cron