Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Java and HTML question

Thread Tools
 
Search this Thread
 
Old Jul 16, 2002 | 10:33 AM
  #1  
ozzy's Avatar
ozzy
Thread Starter
Scooby Regular
 
Joined: Nov 1999
Posts: 10,504
Likes: 1
From: Scotland, UK
Question

Hi,

One of the lads in the office is learning Java and HTML. He's developed a small app, which works OK on his laptop and home PC but we can't get to work here in the office.

When you launch the HTML page, it just says "Loading Java applet...." and sits there for ever and never loads.

I tried the same on my XP machine (IE 6) and I noticed on the status bar there was a message "load: class OfficeApplet.class not found"

All the necessary files are in the one directory (C:\Temp for testing) and he doesn't have any commands with the path hardcoded.

Is this something obvious or is there a way of debugging whats going on?

Thanks,

Stefan
Reply
Old Jul 16, 2002 | 11:20 AM
  #2  
GaryK's Avatar
GaryK
Scooby Regular
 
Joined: Sep 1999
Posts: 4,037
Likes: 0
From: Bedfordshire
Post

ozzy,

the Java VM is not installed as part of XP. Do you have this installed? Other than that you could try installing the JDK which contains 'appletviewer.exe' which will let you run applets.

Cheers

Gary
Reply
Old Jul 16, 2002 | 11:22 AM
  #3  
super_si's Avatar
super_si
Scooby Regular
 
Joined: Feb 2002
Posts: 7,951
Likes: 0
From: Lurkin Somewhere
Post

same problem as me! ive donea javascript menu, think im gonna have to re-think like trotty said to me, whos gonna use it if they have to download
Reply
Old Jul 16, 2002 | 12:28 PM
  #4  
GaryK's Avatar
GaryK
Scooby Regular
 
Joined: Sep 1999
Posts: 4,037
Likes: 0
From: Bedfordshire
Post

si,

you wont need the VM for Javascript, its handled by one of the script parsers which comes with IE, the script should work just fine.

Gary
Reply
Old Jul 16, 2002 | 12:35 PM
  #5  
super_si's Avatar
super_si
Scooby Regular
 
Joined: Feb 2002
Posts: 7,951
Likes: 0
From: Lurkin Somewhere
Post

it doesnt though! ive sent it to 2 people they said that it didnt run!
Reply
Old Jul 16, 2002 | 12:40 PM
  #6  
GaryK's Avatar
GaryK
Scooby Regular
 
Joined: Sep 1999
Posts: 4,037
Likes: 0
From: Bedfordshire
Post

si,

let me see the code and what sort of error do you get?

Does it run and error or not run at all?

Gary
Reply
Old Jul 16, 2002 | 12:47 PM
  #7  
ozzy's Avatar
ozzy
Thread Starter
Scooby Regular
 
Joined: Nov 1999
Posts: 10,504
Likes: 1
From: Scotland, UK
Post

Gary,

jvm is installed on my workstation. When you run the HTML file, it checks for and then downloads the Java Plug-in 1.1.

Is that the same function as the JVM??

Stefan
Reply
Old Jul 16, 2002 | 01:02 PM
  #8  
super_si's Avatar
super_si
Scooby Regular
 
Joined: Feb 2002
Posts: 7,951
Likes: 0
From: Lurkin Somewhere
Post

Just emailed it mate!

Si
Reply
Old Jul 16, 2002 | 01:10 PM
  #9  
GaryK's Avatar
GaryK
Scooby Regular
 
Joined: Sep 1999
Posts: 4,037
Likes: 0
From: Bedfordshire
Post

oz,

too be honest not entirely sure! Thing is you can have a Java VM which I think is about 7/8 meg, the JDK which is about 25meg and also JRE (java Runtime enviornment), I think the plug-in sits on top of the VM but cant be sure!

Gary
Reply
Old Jul 16, 2002 | 01:17 PM
  #10  
ozzy's Avatar
ozzy
Thread Starter
Scooby Regular
 
Joined: Nov 1999
Posts: 10,504
Likes: 1
From: Scotland, UK
Post

No worries Gary, thanks for your help.

I think it's just something on the PC rather than any of his HTML of Java code.

I'll keep trying.

Stefan
Reply
Old Jul 16, 2002 | 01:19 PM
  #11  
GaryK's Avatar
GaryK
Scooby Regular
 
Joined: Sep 1999
Posts: 4,037
Likes: 0
From: Bedfordshire
Post

si,

err...well it works fine on mine!!! do you get an error or does the menu just not appear? I checked the paths you were using to the reference the .js files in the zip file and everything was ok.

What version of IE are you running? In internet options|advanced uncheck the option 'Disable script debugging' that way you will get an error dialog to see if the code is actually being called.

Gary
Reply
Old Jul 16, 2002 | 01:21 PM
  #12  
super_si's Avatar
super_si
Scooby Regular
 
Joined: Feb 2002
Posts: 7,951
Likes: 0
From: Lurkin Somewhere
Post

well its works for me IE5 but mate on 6 couldnt run it
Reply
Old Jul 16, 2002 | 02:34 PM
  #13  
GaryK's Avatar
GaryK
Scooby Regular
 
Joined: Sep 1999
Posts: 4,037
Likes: 0
From: Bedfordshire
Post

Si,

Well ive tried on 5 and 6 and its cool (menus look smart by the way!), it may be a security thing, If security is high it maybe disabling scripts, does he get an error message?

Gary
Reply
Old Jul 16, 2002 | 02:43 PM
  #14  
super_si's Avatar
super_si
Scooby Regular
 
Joined: Feb 2002
Posts: 7,951
Likes: 0
From: Lurkin Somewhere
Post

nar just the bottom part!
Reply
Old Jul 16, 2002 | 02:56 PM
  #15  
GaryK's Avatar
GaryK
Scooby Regular
 
Joined: Sep 1999
Posts: 4,037
Likes: 0
From: Bedfordshire
Post

hmmm

sounds like the script isn't even being called, tell him to put security down to medium or low and see what happens but there aint nowt wrong with the script.

Gary
Reply
Old Jul 16, 2002 | 03:10 PM
  #16  
super_si's Avatar
super_si
Scooby Regular
 
Joined: Feb 2002
Posts: 7,951
Likes: 0
From: Lurkin Somewhere
Post

Its real annoying no point doing the site if the main aspect doesnt work!

Si
Reply
Old Jul 16, 2002 | 04:55 PM
  #17  
GaryK's Avatar
GaryK
Scooby Regular
 
Joined: Sep 1999
Posts: 4,037
Likes: 0
From: Bedfordshire
Cool

si,

dont give up the menus are probably the slickest Ive seen! Just get it uploaded somewhere and point people to it.

Gary
Reply
Old Jul 16, 2002 | 05:16 PM
  #18  
super_si's Avatar
super_si
Scooby Regular
 
Joined: Feb 2002
Posts: 7,951
Likes: 0
From: Lurkin Somewhere
Post

yeah suppose so! so are they highly rated then!

can do something right
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
SilverM3
ScoobyNet General
8
Feb 24, 2021 01:03 PM
blockhead
Subaru Parts
19
Nov 7, 2015 11:50 PM
LSherratt
Non Scooby Related
20
Sep 28, 2015 12:04 AM
alcazar
Non Scooby Related
37
Sep 27, 2015 10:35 PM
blockhead
Subaru Parts
5
Sep 25, 2015 12:58 PM




All times are GMT +1. The time now is 10:35 AM.