LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 07-09-2013, 03:21 PM   #1
ccc
Member
 
Registered: Oct 2002
Posts: 76

Rep: Reputation: 0
Which java for Wheezy?


hi

Which java should be installed for Wheezy?
I have the following java installed:
Code:
# java -version
java version "1.7.0_03"
OpenJDK Runtime Environment (IcedTea7 2.1.7) (7u3-2.1.7-1)
OpenJDK Client VM (build 22.0-b10, mixed mode, sharing)
but some applets are not working, for example:

http://www.chess.com/play/computer
 
Old 07-09-2013, 03:25 PM   #2
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,588

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
You arent asking your question correctly. You need to identify which Java version the applications you want to run require. Also just having java installed does not mean you have the plugin installed in teh browser.
 
Old 07-09-2013, 05:18 PM   #3
propofol
Member
 
Registered: Nov 2007
Location: Seattle
Distribution: Debian Wheezy & Jessie; Ubuntu
Posts: 279

Rep: Reputation: 54
You could use java-package to get the latest & greatest: http://verahill.blogspot.com/2012/04...in-debian.html

In summary:
1. sudo apt-get install java-package
2. Download the java files from http://java.com/en/download/manual.jsp?locale=en --> jre-7u25-linux-x64.tar.gz
3. make-jpkg jre-7u25-linux-x64.bin
4. sudo dpkg -i oracle-j2re1.7_1.7.0+update21_amd64.deb
5a. sudo update-alternatives --config java
5b. sudo update-alternatives --config javaws
6. Verification
java -version
7. Chrome:
sudo updatedb
locate libnpjp2.so
locate libjavaplugin.so
Then use this info to link javaplugin to the new libnpjp2.so:
sudo ln -sf /usr/lib/jvm/jre-7-oracle-x64/lib/amd64/libnpjp2.so /etc/alternatives/mozilla-javaplugin.so
sudo ln -sf /usr/lib/jvm/jre-7-oracle-x64/lib/amd64/libnpjp2.so /etc/alternatives/chromium-javaplugin.so

Regards,
Stefan

Last edited by propofol; 07-10-2013 at 06:34 PM.
 
Old 07-09-2013, 05:38 PM   #4
ccc
Member
 
Registered: Oct 2002
Posts: 76

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Kustom42 View Post
You arent asking your question correctly. You need to identify which Java version the applications you want to run require. Also just having java installed does not mean you have the plugin installed in teh browser.
I have this plugin installed:
Code:
# dpkg -l | grep icedtea
ii  icedtea-7-plugin:i386                1.3.2-1                            i386         web browser plugin based on OpenJDK and IcedTea to execute Java applets
ii  icedtea-netx:i386                    1.3.2-1                            i386         NetX - implementation of the Java Network Launching Protocol (JNLP)
ii  icedtea-netx-common                  1.3.2-1                            all          NetX - implementation of the Java Network Launching Protocol (JNLP)
 
  


Reply

Tags
applet, java, openjdk, wheezy


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
install java on Wheezy cccc Debian 18 05-30-2013 10:19 AM
[SOLVED] is Wheezy out? newbiesforever Debian 3 10-29-2012 11:45 PM
debian wheezy and java chiendarret Linux - Software 2 05-16-2012 03:01 AM
[SOLVED] Java and Vuze installation on KDE Debian Wheezy sid infoslaw Linux - Newbie 11 12-28-2011 08:24 AM
[SOLVED] Java Woes: A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available ... chytraeus Slackware 10 11-27-2010 10:04 AM


All times are GMT -5. The time now is 09:16 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration