Re: Debugging a java programme
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
Reply to: