Re: Openjdk vs. sun-java in Debian

2011-04-23 Thread Liam O'Toole
On 2011-04-22, Klistvud quotati...@aliceadsl.fr wrote:
 Howdie, fellow Debianites!

 I need somebody to explain to me in lay terms what's wrong with Java  
 in Debian. I'm running Squeeze and have recently bumped into two  
 Java-related issues:

 1. The site http://ndt.switch.ch/ warns me about a missing Java Runtime  
 Environment and prompts me to install it. I checked with aptitude, and  
 sure enough, openjdk-6-jre is installed.

You will need the browser plugin as well as the JRE. See the table in
http://wiki.debian.org/Java for the available options. If you can
tolerate non-free software, then I recommend sun-java6-plugin.


 2. The game  
 http://sourceforge.net/projects/bp2k6/files/Bolzplatz%202006/Bolzplatz%202006%20v1.0.3/
   
 won't work, and I'm far too ignorant of Java to find out what exactly  
 I'm missing. Is it that I'm running 64-bit and the game is 32-bit? Or  
 do I need a particular plugin? Or perhaps just a symlink to the right  
 binary somewhere? Or the proprietary Java from Sun? Or something else?

Same reason as above, I suspect.


 Also, in general, how can I know when something Java-related won't  
 work, is it the fault of the open Java I'm using or some wrong  
 configuration somewhere in my system?

Hard to say. But you can investigate each incident by switching between
Java installations using /usr/sbin/update-java-alternatives (from the
java-common package).


 Is there any simple, yet good howto on this?


I haven't found a howto which is both simple and good. A lot of
documentation is available, but most of it is complicated and a lot of
it is obsolete.

-- 
Liam O'Toole
Cork, Ireland


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/slrnir5apd.enl.liam.p.otoole@dipsy.tubbynet



Re: Openjdk vs. sun-java in Debian

2011-04-23 Thread Klistvud
Thanx for the tips, Camaleon, Sven and Liam. Your answers more or less  
confirmed my suspicions. Must dig into some recent Java documentation  
when I find the time ...


--
Cheerio,

Klistvud  
http://bufferoverflow.tiddlyspot.com
Certifiable Loonix User #481801  Please reply to the list, not to  
me.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1303597406.9401.0@compax



Openjdk vs. sun-java in Debian

2011-04-22 Thread Klistvud

Howdie, fellow Debianites!

I need somebody to explain to me in lay terms what's wrong with Java  
in Debian. I'm running Squeeze and have recently bumped into two  
Java-related issues:


1. The site http://ndt.switch.ch/ warns me about a missing Java Runtime  
Environment and prompts me to install it. I checked with aptitude, and  
sure enough, openjdk-6-jre is installed.


2. The game  
http://sourceforge.net/projects/bp2k6/files/Bolzplatz%202006/Bolzplatz%202006%20v1.0.3/  
won't work, and I'm far too ignorant of Java to find out what exactly  
I'm missing. Is it that I'm running 64-bit and the game is 32-bit? Or  
do I need a particular plugin? Or perhaps just a symlink to the right  
binary somewhere? Or the proprietary Java from Sun? Or something else?


Also, in general, how can I know when something Java-related won't  
work, is it the fault of the open Java I'm using or some wrong  
configuration somewhere in my system?


Is there any simple, yet good howto on this?

--
Cheerio,

Klistvud  
http://bufferoverflow.tiddlyspot.com
Certifiable Loonix User #481801  Please reply to the list, not to  
me.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1303497459.12161.6@compax



Re: Openjdk vs. sun-java in Debian

2011-04-22 Thread Camaleón
On Fri, 22 Apr 2011 20:37:39 +0200, Klistvud wrote:

(...)
 
 Also, in general, how can I know when something Java-related won't work,
 is it the fault of the open Java I'm using or some wrong configuration
 somewhere in my system?
 
 Is there any simple, yet good howto on this?

Hum... simple way I'd say not, because most of the web sites use a 
javascript routine to check the java version installed and they can 
search for any general string like jre or java or they can be more 
specific and look for Sun Java-whatever-version and act accordingly.

To be an online citizen with full rights you need the Sun's java plugin 
most of the times so if you usually browse sites that requires java VM 
just install the Sun's JRE and you're done.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.04.22.18.42...@gmail.com



Re: Openjdk vs. sun-java in Debian

2011-04-22 Thread Sven Hoexter
On Fri, Apr 22, 2011 at 08:37:39PM +0200, Klistvud wrote:

 1. The site http://ndt.switch.ch/ warns me about a missing Java
 Runtime Environment and prompts me to install it. I checked with
 aptitude, and sure enough, openjdk-6-jre is installed.

Works here with the openjdk from Squeeze.
The browser plugin package is called icedtea6-plugin.
In most browsers 'about:plugins' lists all installed plugins, might be worth
to check if it's listed and thus properly installed aswell.

If for any reason it's required to have the 'original' Sun JRE and plugins 
installed you've to add the non-free part of the archive to your sources list.
The browser plugin package is called sun-java6-plugin.

HTH
Sven
-- 
I don't know much, but I do know this:
With a golden heart, comes a rebel fist
 [ Streetlight Manifesto - Here's To Life ]


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110422190601.GA1732@colin