lincolnr wrote:
On Mon, Apr 28, 2008 at 04:47:21PM +0100, andy wrote:
Andrew Sackville-West wrote:
On Fri, Apr 25, 2008 at 06:13:29PM +0100, andy wrote:
Hi all

At work today I downloaded and ran the emsim.jar program and on an XP machine it ran perfectly. What I don't understand is how, when Java was created to be platform independent, does it crash and burn on Debian where I have (AFAIK) all of the relevant program libraries, but on XP it does what it is supposed to do.

How do I go about checking out what libraries this Java program needs and which of those my Debian installation can satisfy?

TIA

Andy the frustrated

Hi Andy,
It looks like the GNU gcj java support does not do SWING?  You have a couple of 
options:  investigate SWING support for gcj ( I do not know if it is supported 
or not ) , or install the sun java package via apt.  Make sure if you install 
the sun java you remember update-alternatives to select the sun java javac jar 
etcetera :)

I have the sun java for my J2ME playtime project and it works fine.

Linc


Hi Linc

Thanks for coming back to me on this. I ran apt-cache search sun and this was the output:

sun-java5-bin - Sun Java(TM) Runtime Environment (JRE) 5.0 (architecture dependent files)
sun-java5-demo - Sun Java(TM) Development Kit (JDK) 5.0 demos and examples
sun-java5-doc - Sun JDK(TM) Documention -- integration installer
sun-java5-fonts - Lucida TrueType fonts (from the Sun JRE)
sun-java5-jdk - Sun Java(TM) Development Kit (JDK) 5.0
sun-java5-jre - Sun Java(TM) Runtime Environment (JRE) 5.0 (architecture independent files)
sun-java5-plugin - The Java(TM) Plug-in, Java SE 5.0
sun-java5-source - Sun Java(TM) Development Kit (JDK) 5.0 source files
sun-java6-bin - Sun Java(TM) Runtime Environment (JRE) 6 (architecture dependent files)
sun-java6-demo - Sun Java(TM) Development Kit (JDK) 6 demos and examples
sun-java6-doc - Sun JDK(TM) Documention -- integration installer
sun-java6-fonts - Lucida TrueType fonts (from the Sun JRE)
sun-java6-jdk - Sun Java(TM) Development Kit (JDK) 6
sun-java6-jre - Sun Java(TM) Runtime Environment (JRE) 6 (architecture independent files)
sun-java6-plugin - The Java(TM) Plug-in, Java SE 6
sun-java6-source - Sun Java(TM) Development Kit (JDK) 6 source files

I recognise that there are two groups java5 and java6. My inclination is to go for java6, but are there specific packages required that you have in mind wrt your recommendation?

Cheers

Andy

--

"If they can get you asking the wrong questions, they don't have to worry about the 
answers." - Thomas Pynchon, "Gravity's Rainbow"

Reply via email to