[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Installing java plugin in Mozilla?

Terry Shannon dijo: 

|  Well, I did get the right version of java-package installed so I
|  could create a .deb for the IBM java release.  However, now when I
|  run a check to test java -version, I get an error saying it cannot
|  find the jvm.
|  When I created j2re1.4 or j2sdk1.4 the command worked.  I don't know
|  if the 1.5 version requires  the installation under the /opt as
|  documented on the web sit.  The Debian packages I created are being
|  installed under /usr/lib.
|  Perhaps I can set up a link to /opt?  I'm new to linux/unix and find
|  the documentation confusing.  I see that Wolfgang also has it
|  installed in /usr/lib so maybe I just need to set up $PATH correctly
|  and use the ln command Wolfgang provided.
|  Terry

I have a link:

$ ls -l /usr/bin/java
lrwxrwxrwx  1 root root 30 2005-12-24 23:26 /usr/bin/java 
-> /opt/ibm-java2-ppc-50/bin/java

So I suppose you must create a link to the java binary:

# ln -s /opt/ibm-java2-ppc-50/***or_your_right_path***/bin/java /usr/bin/java

Reply to: