LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Java plugin for chrome/firefox?? (http://www.linuxquestions.org/questions/linux-newbie-8/java-plugin-for-chrome-firefox-924794/)

richiejr 01-20-2012 09:03 AM

Java plugin for chrome/firefox??
 
im using meego 1.2 which also has a terminal , i have google chrome installed and firefox and i have this java installed


Java(TM) SE Runtime Environment (build 1.6.0_23-b05)
Java HotSpot(TM) Client VM (build 19.0-b09, mixed mode, sharing)
bash-3.2$

but when i go to a page that requires java i get

"missing plugin" for both firefox and google ?? any solutions

jeremy 01-20-2012 10:58 AM

Do you have a link to the java plugin (libnpjp2.so) in Chrome/Firefox plugin directory?

--jeremy

richiejr 01-20-2012 12:13 PM

no can you give me a step by step or give me the command i need to do that to get plugin working for chrome or firefox

jeremy 01-20-2012 12:18 PM

Sure, cd into your Chrome/FF plugin directory and then, as root:
Code:

ln -s /full/path/to/libnpjp2.so
--jeremy

richiejr 01-20-2012 12:20 PM

ima a total noob in linuex how do i get into that directory i understand cd because it gives me cannot be found

jeremy 01-20-2012 12:34 PM

I don't have a MeeGo device in front of me to test, but try the standard location.

Code:

cd /usr/lib/mozilla/plugins
Another member who actually has a MeeGo device may be better able to help.

--jeremy

richiejr 01-20-2012 12:36 PM

bash-3.2$ cd /usr/lib/mozilla/plugins
bash-3.2$ su
Password:
[root@Richie-desktop plugins]# cd /usr/lib/mozilla/plugins
[root@Richie-desktop plugins]# ln -s /full/path/to/libnpjp2.so
[root@Richie-desktop plugins]#

it just came up new space blank ? did i do it !?

jeremy 01-20-2012 12:43 PM

Not exactly. You need to locate the full path to libnpjp2.so (you can try locate libnpjp2.so - it will likely be something along the lines of /opt/jre1.6.0_23/lib/i386/libnpjp2.so), then substitute that information for /full/path/to/libnpjp2.so. You should rm libnpjp2.so before you do this, to get rid of the erroneous link you created above.

--jeremy

richiejr 01-20-2012 01:03 PM

i have no clue how to do anything you said i need a step by step or im hopeless sorry the only thing i did was remove the link , i did that right it asked me d you want to remove i put y then enter , but i have no clue how to find direct path

i tried this
bash-3.2$ su
Password:
[root@Richie-desktop Richie]# /opt/jre1.6.0_23/lib/i386/libnpjp2.so
bash: /opt/jre1.6.0_23/lib/i386/libnpjp2.so: No such file or directory
[root@Richie-desktop Richie]#

jeremy 01-20-2012 01:34 PM

Did you try running the locate command as I posted it above? You need to take the output of that, and then use it as the full path for the ln -s command.

--jeremy

richiejr 01-20-2012 01:50 PM

i have no clue how to do that could you give me a step by step from start to finish ?

EDDY1 01-20-2012 07:52 PM

I used this one to get the newest version of java working, there are a total of 3 posts that I had to combine to get the desired results.
http://www.linuxquestions.org/questi...9/#post4563565
Some of the commands have to be altered, if you have trouble post back.
In my case google chrome was the browser that complained about missing plugin it's not missing it's outdated. Also I noticed that MeeGo is rpm based so it maybe available thru your package management system.

barnac1e 01-20-2012 08:11 PM

http://wiki.meego.com/index.php?titl...ulltext=Search

Helpful link?

---------- Post added 01-20-12 at 08:11 PM ----------

http://wiki.meego.com/index.php?titl...ulltext=Search

Helpful link?

richiejr 01-23-2012 12:26 AM

o you agree to the above license terms? [yes or no]
yes
Unpacking...
Checksumming...
Extracting...
./jdk-7-ea-bin-b125-linux-x64-13_jan_2011.bin: line 199: ./install.sfx.1991: cannot execute binary file
Failed to extract the files. Please refer to the Troubleshooting section of
the Installation Instructions on the download page for more information.
bash-3.2$


i did everything and when i do this step

./jdk-7-ea-bin-b125-linux-x64-13_jan_2011.bin

it gives me that cannot execute binary file

it might be that i didnt chmod +x correct can you tell me how?

i did

chmod +x jdk-7-ea-bin-b125-linux-x64-13_jan_2011.bin

richiejr 01-23-2012 12:49 AM

bash-3.2$ su
Password:
[root@Richie-desktop Richie]# chmod +x jdk-7-ea-bin-b125-linux-x64-13_jan_2011.bin
this is what i did after i downloaded wget http://www.java.net/download/jdk7/ar...3_jan_2011.bin









[root@Richie-desktop Richie]# chmod +x
chmod: missing operand after `+x'
Try `chmod --help' for more information.
[root@Richie-desktop Richie]# chmod +x jdk-7-ea-bin-b125-linux-x64-13.bin
chmod: cannot access `jdk-7-ea-bin-b125-linux-x64-13.bin': No such file or directory
[root@Richie-desktop Richie]# ./jdk-7-ea-bin-b125-linux-x64-13_jan_2011.bin
Pre-Release Software Evaluation Agreement

SUN MICROSYSTEMS, INC. ("SUN") IS WILLING TO LICENSE THE JAVA SE DEVELOPMENT KIT (JDK), VERSION 7, PRE-RELEASE
SOFTWARE TO LICENSEE ONLY UPON THE CONDITION THAT LICENSEE ACCEPTS ALL OF THE TERMS CONTAINED IN THIS LICENSE
AGREEMENT ("AGREEMENT"). PLEASE READ THE TERMS AND CONDITIONS OF THIS AGREEMENT CAREFULLY. BY DOWNLOADING OR
INSTALLING THIS SOFTWARE, LICENSEE ACCEPTS THE TERMS AND CONDITIONS OF THIS LICENSE AGREEMENT. INDICATE ACCEPT
ANCE BY SELECTING THE "ACCEPT" BUTTON AT THE BOTTOM OF THIS AGREEMENT. IF LICENSEE IS NOT WILLING TO BE BOUND
BY ALL THE TERMS, SELECT THE "DECLINE" BUTTON AT THE BOTTOM OF THE AGREEMENT AND THE DOWNLOAD OR INSTALL PROCE
SS WILL NOT CONTINUE.

1.0 DEFINITIONS "Licensed Software" means the Java SE Development Kit (JDK), Version 7, pre-release software i
n binary and/or source code forms, any other machine readable materials (including, but not limited to, librar
ies, source files, header files, and data files), Feedback (as defined in Section 5.0), any user manuals, prog
ramming guides and other documentation provided to Licensee by Sun under this Agreement.

2.0 LIMITED LICENSE

2.1 Source Code. Sun grants to Licensee, a non-exclusive, non-transferable, royalty-free and limited license t
o view the source code portions of the Licensed Software internally for the purposes of evaluation only.

2.2 Binary Code. Sun grants to Licensee, a non-exclusive, non-transferable, royalty-free and limited license t
o use the binary code portions of the Licensed Software internally for the purposes of evaluation only.

2.3 No licenses are granted to Licensee for any other purposes, Licensee may not sell, rent, loan or otherwise
encumber or transfer Licensed Software in whole or in part, to any third party.

3.0 LICENSE RESTRICTIONS

3.1 Licensee may not duplicate Licensed Software other than for a single copy of Licensed Software for archiva
l purposes only. Licensee agrees to reproduce any copyright and other proprietary right notices on any such co
py.

3.2 Licensed Software is "Confidential Information". Licensee may not disclose or use Confidential Informatio
n, except for the purposes specified in this Agreement. Licensee will protect the Confidential Information wit
h the same degree of care, as Licensee uses to protect its own Confidential Information.

3.3 Except as otherwise provided by law, Licensee may not modify or create derivative works of the Licensed So
ftware, or reverse engineer, disassemble or decompile binary portions of the Licensed Software, or otherwise a
ttempt to derive the source code from such portions.

3.4 No right, title, or interest in or to Licensed Software, any trademarks, service marks, or trade names of
Sun or Sun's licensors is granted under this Agreement.

3.5 Licensee shall have no right to use the Licensed Software for productive or commercial use.

4.0 NO SUPPORT Sun is under no obligation to support Licensed Software or to provide Licensee with updates or
error corrections (collectively "Software Updates"). If Sun, at its sole option, supplies Software Updates to
Licensee, the Software Updates will be considered part of Licensed Software, and subject to the terms of this
Agreement.

5.0 LICENSEE DUTIES Licensee agrees to evaluate and test the Software for use in Licensee's software environme
nt and provide feedback to Sun in a manner reasonably requested by Sun. Any and all test results, error data,
reports or other information, feedback or materials made or provided by Licensee relating to Software (collect
ively, "Feedback") are the exclusive property of Sun and Licensee hereby assigns all Feedback to Sun at no cos
t to Sun. Sun may use such Feedback in any manner and for any purpose, without limitation, liability or obliga
tion to Licensee.

6.0 TERM AND TERMINATION OF AGREEMENT

6.1 This Agreement will commence on the date on which Licensee receives Licensed Software (the "Effective Date
") and will expire ninety (90) days from the Effective Date, unless terminated earlier as provided herein.

6.2 Either party may terminate this Agreement upon ten (10) days' written notice to the other party. However,
Sun may terminate this Agreement immediately should any Licensed Software become, or in Sun's opinion be likel
y to become, the subject of a claim of infringement of a patent, trade secret or copyright.

6.3 Sun may terminate this Agreement immediately should Licensee materially breach any of its provisions or ta
ke any action in derogation of Sun's rights to the Confidential Information licensed to Licensee.

6.4 Upon termination or expiration of this Agreement, Licensee will immediately cease use of and destroy Licen
sed Software, any copies thereof.

6.5 Rights and obligations under this Agreement which by their nature should survive, will remain in effect af
ter termination or expiration hereof.

7.0 DISCLAIMER OF WARRANTY

7.1 Licensee acknowledges that Licensed Software may contain errors and is not designed, licensed, or intended
for use in the design, construction, operation or maintenance of any nuclear facility ("HighRisk Activities")
. Sun disclaims any express or implied warranty of fitness for such uses. Licensee represents and warrants to
Sun that it will not use, distribute or license the Licensed Software for High Risk Activities.

7.2 LICENSED SOFTWARE IS PROVIDED "AS IS". ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS, AND WARRANTIES,
INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, OR
NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.

8.0 LIMITATION OF LIABILITY

8.1 Licensee acknowledges that the Licensed Software may be experimental and that the Licensed Software may ha
ve defects or deficiencies, which cannot or will not be corrected by Sun. Licensee will hold Sun harmless from
any claims based on Licensee's use of the Licensed Software for any purposes other than those of internal eva
luation, and from any claims that later versions or releases of any Licensed Software furnished to Licensee ar
e incompatible with the Licensed Software provided to Licensee under this Agreement.

8.2 To the extent not prohibited by law, in no event will Sun be liable for any indirect, punitive, special, i
ncidental or consequential damage in connection with or arising out of this Agreement (including loss of busin
ess, revenue, profits, use, data or other economic advantage), however it arises, whether for breach or in tor
t, even if Sun has been previously advised of the possibility of such damage.

9.0 U.S. GOVERNMENT RESTRICTED RIGHTS If this Software is being acquired by or on behalf of the U.S. Governmen
t or by a U.S. Government prime contractor or subcontractor (at any tier), then the Government's rights in the
Software and accompanying documentation shall be only as set forth in this license; this is in accordance wit
h 48 C.F.R. 227.7202-4 (for Department of Defense (DOD) acquisitions) and with 48 C.F.R. 2.101 and 12.212 (for
non-DOD acquisitions).

10.0 GENERAL TERMS

10.1 Any action relating to or arising out of this Agreement will be governed by California law and controllin
g U.S. federal law. The U.N. Convention for the International Sale of Goods and the choice of law rules of any
jurisdiction will not apply.

10.2 Licensed Software and technical data delivered under this Agreement are subject to U.S. export control la
ws and may be subject to export or import regulations in other countries. Licensee agrees to comply strictly w
ith all such laws and regulations and acknowledges that it has the responsibility to obtain such licenses to e
xport, re-export or import as may be required after delivery to Licensee.

10.3 It is understood and agreed that, notwithstanding any other provision of this Agreement, Licensee's breac
h of this Agreement will cause Sun irreparable damage for which recovery of money damages would be inadequate,
and that Sun will therefore be entitled to seek timely injunctive relief to protect Sun's rights under this A
greement in addition to any and all remedies available at law.

10.4 Neither party may assign or otherwise transfer any of its rights or obligations under this Agreement, wit
hout the prior written consent of the other party, except that Sun may assign this Agreement to an affiliated
company.

10.5 This Agreement is the parties' entire agreement relating to its subject matter. It supersedes all prior o
r contemporaneous oral or written communications, proposals, conditions, representations and warranties and pr
evails over any conflicting or additional terms of any quote, order, acknowledgment, or other communication be
tween the parties relating to its subject matter, including any Binary Code Licenses, Supplemental Terms, or o
ther licenses contained within Licensed Software. No modification to this Agreement will be binding, unless in
writing and signed by an authorized representative of each party.

Do you agree to the above license terms? [yes or no]
yes
Unpacking...

Checksumming...

Extracting...
./jdk-7-ea-bin-b125-linux-x64-13_jan_2011.bin: line 199: ./install.sfx.2056: cannot execute binary file
Failed to extract the files. Please refer to the Troubleshooting section of
the Installation Instructions on the download page for more information.
[root@Richie-desktop Richie]#
[root@Richie-desktop Richie]#
[root@Richie-desktop Richie]#


All times are GMT -5. The time now is 01:01 AM.