Trouble with Thud online: Grey rectangle and error message

Hi,

Am new to Thud and was hoping to try playing and learning online.
Unfortunately, when I try to access the online Thud game I get this message: "Error: java.lang.NoSuchMethodError : java/awt/Component: method getHeight()I not found".

I have a Dell D810 Centrino laptop, running Win XP. Screen resolution is at 1680x1050. I've downloaded the latest Java (Java Runtime Environment Version 5.0 Update 7) from Sun, as well as the latest Shockwave and Flash players, but the problem persists - when the page loads up, all I see is a grey rectangle on an otherwise white page.

Can anyone help?

Thanks!

--

Click to Give Kudos
Login or register to tag items

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Alternative Browsers

Hi all,

Looks like I've localised the problem on my end. I tried opening the online Thud game using a different browser from the one I normally use (Avant). Interestingly enough, it loaded and worked fine with both Internet Explorer and FireFox.

Hope that helps anyone else with the same problem as me. Am still at a loss to explain why it fails to work with Avant. Suggestions welcome. Will post again here if I figure it out.

Cheers,


Click to Give Kudos

Founding PatronLibrarianDruidThudmeister

my only thought might be that there could be a problem between Java and the Avant browser - can you run other web-based Java applications (such as this test applet from the java website) with avant?

Mr Scrub


Click to Give Kudos
--

"LOOKS PERFECTLY LOGICAL TO ME"


Hey Mr Scrub!

That Java applet works just fine on Avant... Odd, no?

Thanks for the suggestion tho. Smile


Click to Give Kudos

Founding PatronLibrarianDruidThudmeister

In that case it's probably beyond me - Dewi or Lee (the blokes who've put this all together) may be able to suggest something though.

Sorry I'm not any help Wink
Mr Scrub


Click to Give Kudos
--

"LOOKS PERFECTLY LOGICAL TO ME"


This is a problem caused by several issues:
1) I'm a crappy programmer! Very Happy
2) Component.getHeight() does not exist in Java 1.1
3) I am compiling against Jdk1.2, since jdk1.1 is no longer available.

So, in english: I slipped up and added in a command that wasn't available until a later version of Java, and because I'm *using* a later version of java to make the program, it didn't give me any errors.

I'll fix it in the next version of the command, and I have found a version of the obsolete 1.1 compiler on a Japanese site, so if I can get it to work, it'll avoid problems like this in the future.


Click to Give Kudos

Founding PatronLibrarianDruidThudmeister

Still, seems strange that it should work under Ff or IE, but not Avant - presumably there must be a different version of Java that's working in Avant to that working in your other browsers, Stone Giant.
(Mind you, it wouldn't surprise me greatly if Java haven't released as up-to-date versions of the JRE for less widley used browsers. Or perhaps if the avant team havent made their browser able to play with the newer version?)

Mr Scrub


Click to Give Kudos
--

"LOOKS PERFECTLY LOGICAL TO ME"


Hi,

Dewi, Mr Scrub, thanks for the help. Smile

Mr Scrub, surely that would mean that other Java applets would fail to work on Avant as well? I double checked - have only got the latest Java (had removed the others). Have the latest Java JRE as well.

I don't know if this helps at all, but as I understand it, Avant works off of IE. So is not a separate browser, really. Just makes life alot easier (usually, at least).


Click to Give Kudos

Founding PatronLibrarianDruidThudmeister

I should've stopped back when I first said it was beyond me Wink - it still is Puzzled

MrS


Click to Give Kudos
--

"LOOKS PERFECTLY LOGICAL TO ME"


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.