Java and HTML question
#1
Scooby Regular
Thread Starter
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
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
#2
Scooby Regular
Join Date: Sep 1999
Location: Bedfordshire
Posts: 4,037
Likes: 0
Received 0 Likes
on
0 Posts
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
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
#7
Scooby Regular
Thread Starter
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
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
Trending Topics
#9
Scooby Regular
Join Date: Sep 1999
Location: Bedfordshire
Posts: 4,037
Likes: 0
Received 0 Likes
on
0 Posts
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
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
#10
Scooby Regular
Thread Starter
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
I think it's just something on the PC rather than any of his HTML of Java code.
I'll keep trying.
Stefan
#11
Scooby Regular
Join Date: Sep 1999
Location: Bedfordshire
Posts: 4,037
Likes: 0
Received 0 Likes
on
0 Posts
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
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
#13
Scooby Regular
Join Date: Sep 1999
Location: Bedfordshire
Posts: 4,037
Likes: 0
Received 0 Likes
on
0 Posts
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
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
#15
Scooby Regular
Join Date: Sep 1999
Location: Bedfordshire
Posts: 4,037
Likes: 0
Received 0 Likes
on
0 Posts
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
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
Thread
Thread Starter
Forum
Replies
Last Post
blockhead
Subaru Parts
19
07 November 2015 11:50 PM