Java problem with some sites

B

Bob H

Hi,
I use an adsl speed test site, and after re installing my win2k system,
I find that the java applet does not load. So underneath that, it said if it
does not load install the sun java plugin.
I then found, downloaded and installed the 'jre-1_4_2_03-windows-i586-p.exe'
file and installed it., but the java applet still does not load!

What else can I do to get this going?

Thanks
 
G

George Hester

Are you using Microsoft Internet Explorer here? Have you set your java permissions correctly in Internet Explorer | Tools | Security | Custom level... Has it ever worked with your current install? One other thing you might want to check. That is your classpath. Do you have that defined as an enviornment varable? Go to Start | Run | cmd | OK | type set then hit <ENTER>. Do you see classpath in the output?
 
B

Bob H

Yes I am using Internet Explorer 6. I am not sure what settings I should use
for the java permissions, custom level.
Also, 'classpath' is not shown in the output as you described below. So that
being the case, do I have to add that in Autoexcec.bat file, like you did in
the win95 days?

Thanks

--
Bob H
Leeds UK
Are you using Microsoft Internet Explorer here? Have you set your java
permissions correctly in Internet Explorer | Tools | Security | Custom
level... Has it ever worked with your current install? One other thing you
might want to check. That is your classpath. Do you have that defined as
an enviornment varable? Go to Start | Run | cmd | OK | type set then hit
<ENTER>. Do you see classpath in the output?
 
G

George Hester

No in Windows 2000 you almost never will use autoexec.bat. That's why it is empty sitting on your root. It's really never used.

There is a section in right-click Internet Explorer icon on desktop | Properties | Security | Custom level... | Java permissions I think the section is called. You have four choices there. I always do the Custom... and set everything to enable accept the first entry in each of the two sections. Don't worry about it it's really not that important. The security of the MS JVM or Sun's should be sufficient.

The classpath is an environment variable. You add it in right-click My Computer | Properties | Advanced | Environment Variables... | New... (in both sections) | ...

here you need to find some classes (normally in zip or jar files). The logical place for these is in C:\WINNT\java\classes. If you have classes.zip there then:

Variable name: classpath
Variable value: C:\WINNT\java\classes\classes.zip;.

Variable value is a semi-colon delimited list AND always have the ;. at the end of it. You can also reference jars from your sun installation in the classpath as well.

If you don't have a classes.zip I can tell you how to get one. It is actually in the service packs which you have to extract and get it out.

I cannot imagine this much work is necessary to use Java in Windows but ....
 
B

Bob H

Ok George,
I have added the classpath as described and checked the
output to see if it is in the path/classpath, and it is.
Now then, Custom level of Java permissions:
I click on Security settings | Java Custom settings. Then there are 2 tabs:
View Permissions and Edit Permissions.
OR, if you mean the 4 permissions in the Security Settings window, there is:
Microsoft VM | Java permissions | Custom, Disable Java , High Safety, Low
Safety, Medium Safety, which is 5
I have set it to Custom, but the java applet still does not load

Oh, I copied the classes.zip file from a service pack to the \java\classes
folder as well.

Thanks
--
Bob H
Leeds UK
No in Windows 2000 you almost never will use autoexec.bat. That's why it is
empty sitting on your root. It's really never used.

There is a section in right-click Internet Explorer icon on desktop |
Properties | Security | Custom level... | Java permissions I think the
section is called. You have four choices there. I always do the Custom...
and set everything to enable accept the first entry in each of the two
sections. Don't worry about it it's really not that important. The
security of the MS JVM or Sun's should be sufficient.

The classpath is an environment variable. You add it in right-click My
Computer | Properties | Advanced | Environment Variables... | New... (in
both sections) | ...

here you need to find some classes (normally in zip or jar files). The
logical place for these is in C:\WINNT\java\classes. If you have
classes.zip there then:

Variable name: classpath
Variable value: C:\WINNT\java\classes\classes.zip;.

Variable value is a semi-colon delimited list AND always have the ;. at the
end of it. You can also reference jars from your sun installation in the
classpath as well.

If you don't have a classes.zip I can tell you how to get one. It is
actually in the service packs which you have to extract and get it out.

I cannot imagine this much work is necessary to use Java in Windows but ...
 
G

George Hester

Good now you have the classpath. The tab from Custom... is the second one Edit permissions. The first tab is just fluf. Can't do anything there.

Alright I think now it is time to show me the location that you are trying to access. I will try it with both Sun's JVM and MS's.

I should say as I read over your op. What you expereinced should not have happened. I know of no applets on the Net where MS JVM cannot be used. There are Object tags used for applets sometimes and MS JVM will have troulble with those. But normally your MS JVM should do OK.

One thing I woiuld do. Uninstall the Sun Run-time that you installed automatically when you saw the broken applet. Reboot. Then go to Sun and get the latest one where you d/l it into your machine to be run later. Then run it. Afterwords access the Control Panel applet you will see for it and make sure Microsoft Internet Explorer is enabled for the Sun JVM. Try the site again. But in the meantime send it here and I'll see if I get the same behavior.
 
B

Bob H

Hi George, ok I will do as you say:
un install the Sun Java, err, that will be the
'j2re1_4_2_03-windows-i586-p.exe' file then?
Now then, not sure what you mean about this bit:
'Then go to Sun and get the latest one where you d/l it into your machine to
be run later. Then run it'
I thought that was the latest one, which I d/loaded a few days ago???
Anyway, this is the site wher I get the 'no java applet loadded':
http://www.adslguide.org.uk/tools/speedtest.asp

As I have just recently re installed everything, I want to get my internet
speed back to what it was previously.

Thanks


--
Bob H
Leeds UK
Good now you have the classpath. The tab from Custom... is the second one
Edit permissions. The first tab is just fluf. Can't do anything there.

Alright I think now it is time to show me the location that you are trying
to access. I will try it with both Sun's JVM and MS's.

I should say as I read over your op. What you expereinced should not have
happened. I know of no applets on the Net where MS JVM cannot be used.
There are Object tags used for applets sometimes and MS JVM will have
troulble with those. But normally your MS JVM should do OK.

One thing I woiuld do. Uninstall the Sun Run-time that you installed
automatically when you saw the broken applet. Reboot. Then go to Sun and
get the latest one where you d/l it into your machine to be run later. Then
run it. Afterwords access the Control Panel applet you will see for it and
make sure Microsoft Internet Explorer is enabled for the Sun JVM. Try the
site again. But in the meantime send it here and I'll see if I get the same
behavior.
 
B

Bob H

Just an update here.
I un installed the Sun Java, then re booted, and found MSJava, then
installed that to see if it solved my problem....it didn't.

Anyway, what other updates would you say I should have, as I am currently up
to sp3. I see there is only sp4 and 2 other recommended updates to install.

Thanks

--
Bob H
Leeds UK
Good now you have the classpath. The tab from Custom... is the second one
Edit permissions. The first tab is just fluf. Can't do anything there.

Alright I think now it is time to show me the location that you are trying
to access. I will try it with both Sun's JVM and MS's.

I should say as I read over your op. What you expereinced should not have
happened. I know of no applets on the Net where MS JVM cannot be used.
There are Object tags used for applets sometimes and MS JVM will have
troulble with those. But normally your MS JVM should do OK.

One thing I woiuld do. Uninstall the Sun Run-time that you installed
automatically when you saw the broken applet. Reboot. Then go to Sun and
get the latest one where you d/l it into your machine to be run later. Then
run it. Afterwords access the Control Panel applet you will see for it and
make sure Microsoft Internet Explorer is enabled for the Sun JVM. Try the
site again. But in the meantime send it here and I'll see if I get the same
behavior.
 
G

George Hester

All msjvm's in the sevrvice packs are security updates. They will do nothng for your issue. We have to see if we can get sun's or Microsoft's JVM working. Then you'll be ready for any security fixes which are in the Service Packs. MSJVM usually cannot be updated by any means other then a service pack. So let's just hold onto our hat before we start installing MSJVM which may only be for XP so watch out. I do have one for both Windows XP and Windows 2000 but we need to get working what you got for now. I believe you have all that is necessary.
 
G

George Hester

OK I went to the site. All went well. I have to find the class and see what's going on. You know it just could be IE 6. But it should work in there as well. Let me see, I'll get back to you...
 
G

George Hester

OK. The applet loads from an <IFRAME page. So you need to make sure your security in IE is not prohibiting <IFRAME. Microsoft did come out with a security "fix" in the past year that if you had installed it could be causing this issue. But go to right-click IE icon on desktop | Properties | Security | Custom level... | here find something that says IFRAME and enable it if it isn't. If that doesn't help then enable EVERYTHING you can in this area for now and try the site again. Now I checked with Microsoft's JVM. No issue. I am going to try now with Sun's...it's OK Sun's will work fine. My version is:

Java(TM) 2 Runtime Enviornment , Standard Edition 1.4.2_02
Default Virtual Machine version 1.4.2_02-b03
Java(TM) Plug-in 1.4.2_02

You find this information off the Sun applet in the Control panel, double-click it and choose the About tab. The first entry you likely will not have. It is not necessary to be able to view applets. So don't worry about that entry. But the last two. Those you should have.

Get all your security settings to allow complete access to everythingon your machine. Then do this Start | Run | regsvr32 wshom.ocx | OK | OK. Then empty your Tempoary Internet Files. Done by right-click IE icon on desktop | Properties | Delete Files... | do NOT check for offline content | OK.

Try again.

Lastly with IE 6 there is an issue with what are termed Netscape Style plugins. IE 6 doesn't support them. This could also be your issue. Make sure your Settings... button has some room on the slider. I use 250MB. Lastly when you choose View Objects... off this section Settings... do you see Java Runtime Enviornment there?

Finally I want you to try to access the following page without Sun's JVM enabled for Internet Explorer. I assume you know how to remove the Sun JVM in the Sun applet off the Control Panel. First though do this after you have disabled Sun from Microsoft Internet Explorer. Start | Run | regsvr32 msjava.dll | OK | OK. Now try this page:

http://home.nycap.rr.com/foryorisonly/applet2xml.htm

What happens? Do you see the fruit? This REQUIRES MSJVM to work. It will not work under Sun's.

If you get the fruit try your link again. HTH.
 
B

Bob H

Hi George,
ok, this is what I did:
I clicked on the link you supplied below, and I go all the fruit up on
display. That was using MSjava
I have 'Launch programs and files in an IFRAME' set to 'Enable' It was set
to 'Prompt'
I have Enabled almost everything else as well, but still not able to get
that said page up.

Then I re installed the Sun Java, and on clicking on properties of the Java
Plugin Controil Panel and then About, I get or see this:
Java(TM) 2 Runtime Enviornment , Standard Edition 1.4.2_03
Default Virtual Machine version 1.4.2_02-b02
Java(TM) Plug-in 1.4.2_03

Still not able to see that page.

I then ran the regsrv32 cmds for both files you told me about. That was OK.
Then deleted the Temporary Internet Files

Still no go

Next, in IE properties|settings| View objects, the Java runtime environment
is there...twice, but IT WAS not there prior to me re installing the Sun
Java.
Now then, I cannot now get the fruit to display on the site you gave a link
for, all I get is a counter? in the top left corner. So that is the Sun Java
working?

A couple of things I am not sure about now.
No, I do not know how to remove the Sun JVM in the Sun applet off the
Control Panel. Also after I ran regsrv32 msjava.dll, I still could not see
the fruit, or rather they were not displayed. It seems like that the Sun
Java was not disabled!

Thanks
--
Bob H
Leeds UK
OK. The applet loads from an <IFRAME page. So you need to make sure your
security in IE is not prohibiting <IFRAME. Microsoft did come out with a
security "fix" in the past year that if you had installed it could be
causing this issue. But go to right-click IE icon on desktop | Properties |
Security | Custom level... | here find something that says IFRAME and enable
it if it isn't. If that doesn't help then enable EVERYTHING you can in this
area for now and try the site again. Now I checked with Microsoft's JVM.
No issue. I am going to try now with Sun's...it's OK Sun's will work fine.
My version is:

Java(TM) 2 Runtime Enviornment , Standard Edition 1.4.2_02
Default Virtual Machine version 1.4.2_02-b03
Java(TM) Plug-in 1.4.2_02

You find this information off the Sun applet in the Control panel,
double-click it and choose the About tab. The first entry you likely will
not have. It is not necessary to be able to view applets. So don't worry
about that entry. But the last two. Those you should have.

Get all your security settings to allow complete access to everythingon your
machine. Then do this Start | Run | regsvr32 wshom.ocx | OK | OK. Then
empty your Tempoary Internet Files. Done by right-click IE icon on desktop
| Properties | Delete Files... | do NOT check for offline content | OK.

Try again.

Lastly with IE 6 there is an issue with what are termed Netscape Style
plugins. IE 6 doesn't support them. This could also be your issue. Make
sure your Settings... button has some room on the slider. I use 250MB.
Lastly when you choose View Objects... off this section Settings... do you
see Java Runtime Enviornment there?

Finally I want you to try to access the following page without Sun's JVM
enabled for Internet Explorer. I assume you know how to remove the Sun JVM
in the Sun applet off the Control Panel. First though do this after you
have disabled Sun from Microsoft Internet Explorer. Start | Run | regsvr32
msjava.dll | OK | OK. Now try this page:

http://home.nycap.rr.com/foryorisonly/applet2xml.htm

What happens? Do you see the fruit? This REQUIRES MSJVM to work. It will
not work under Sun's.

If you get the fruit try your link again. HTH.

--
George Hester
__________________________________

-------------------------------------------snipped--------------------------
--------------------------------
 
G

George Hester

To disable the Sun JVM you go to Start | Settings | Control Panel | double-click the Sun Java Plug-in applet there | Browser | then uncheck integrate with Microsoft Internet Explorer | OK. Make sure you do all this with Microsoft Internet Explorer closed AND Windows Explorer. Also Microsoft Outlook Express if that is going.

Bob I really thought I had it for you. Do the Start | Run | regsvr32 msjava.dll | OK | OK again and then try the link I gave you. If that works your MSJVM is just fine. You have a different issue if you cannot get the applet at your link to show.

At your link:
What does it say in the Status bar there for you on lower left? Any errors? Does it ever say "done" (this with MSJVM enabled) scrap the Sun for now. Do you even load anything in the applet area?

Finally make sure all your AV is OFF. You need to stick your bare bottom out to the World until you can get this going. Once it is going then you can start covering your butt again. OK?
 
B

Bob H

OK George, I disabled the Sun Java ok. Sorry, I did'nt realize what I had to
do to disable it! ...Uncheck it!
I ran regsrv32 msjava.dll again, and the fruit displays just fine again.

Now then, in the status bar, when I get that said page up with no applet, it
says 'done'.
There are NO errors or error messages, and nothing at all loads in that area
for the java applet.

I turned off my AV program, and tried it, also still have everything
enabled, but I cannot get anything to load in that applet area. The only
difference as I can think of between being able to see it before and not
now, is that on my previous installation I only had sp2 installed, now I
have sp3. Maybe, maybe not?

Thanks

--
Bob H
Leeds UK
To disable the Sun JVM you go to Start | Settings | Control Panel |
double-click the Sun Java Plug-in applet there | Browser | then uncheck
integrate with Microsoft Internet Explorer | OK. Make sure you do all this
with Microsoft Internet Explorer closed AND Windows Explorer. Also
Microsoft Outlook Express if that is going.

Bob I really thought I had it for you. Do the Start | Run | regsvr32
msjava.dll | OK | OK again and then try the link I gave you. If that works
your MSJVM is just fine. You have a different issue if you cannot get the
applet at your link to show.

At your link:
What does it say in the Status bar there for you on lower left? Any errors?
Does it ever say "done" (this with MSJVM enabled) scrap the Sun for now. Do
you even load anything in the applet area?

Finally make sure all your AV is OFF. You need to stick your bare bottom
out to the World until you can get this going. Once it is going then you
can start covering your butt again. OK?
 
G

George Hester

I don't think so about the SP for Windows 2000 you mention. That is the one I am using. A security fix for IE 6 YES that could be the issue.

Now you can see the fruit MSJVM is just fine. I hate these Java issues. I used to run into them all the time. Back when I loaded AV software. Is one reason why I don't use the stuff anymore.

Your issue is not the MSJVM. Your issue is something else prohibiting a connection with where the applet is coming from. It's an IFRAME so it is not located at the same place as what you see for the URL in the address bar of IE.

OK. I nabbed the class and I believe I can set it up without the IFRAME at the site I gave you. Give me a few hours you'll have a try at it Christmas. OK? Merry Christmas too.

--
George Hester
__________________________________
Bob H said:
OK George, I disabled the Sun Java ok. Sorry, I did'nt realize what I had to
do to disable it! ...Uncheck it!
I ran regsrv32 msjava.dll again, and the fruit displays just fine again.

Now then, in the status bar, when I get that said page up with no applet, it
says 'done'.
There are NO errors or error messages, and nothing at all loads in that area
for the java applet.

I turned off my AV program, and tried it, also still have everything
enabled, but I cannot get anything to load in that applet area. The only
difference as I can think of between being able to see it before and not
now, is that on my previous installation I only had sp2 installed, now I
have sp3. Maybe, maybe not?

Thanks

--
Bob H
Leeds UK
To disable the Sun JVM you go to Start | Settings | Control Panel |
double-click the Sun Java Plug-in applet there | Browser | then uncheck
integrate with Microsoft Internet Explorer | OK. Make sure you do all this
with Microsoft Internet Explorer closed AND Windows Explorer. Also
Microsoft Outlook Express if that is going.

Bob I really thought I had it for you. Do the Start | Run | regsvr32
msjava.dll | OK | OK again and then try the link I gave you. If that works
your MSJVM is just fine. You have a different issue if you cannot get the
applet at your link to show.

At your link:
What does it say in the Status bar there for you on lower left? Any errors?
Does it ever say "done" (this with MSJVM enabled) scrap the Sun for now. Do
you even load anything in the applet area?

Finally make sure all your AV is OFF. You need to stick your bare bottom
out to the World until you can get this going. Once it is going then you
can start covering your butt again. OK?
 
G

George Hester

Try this site:

http://speedtest.adslguide.org.uk:8080/speedtest.html

Tell me if the applet loads. With the MSJVM current not Sun's.

--
George Hester
__________________________________
Bob H said:
OK George, I disabled the Sun Java ok. Sorry, I did'nt realize what I had to
do to disable it! ...Uncheck it!
I ran regsrv32 msjava.dll again, and the fruit displays just fine again.

Now then, in the status bar, when I get that said page up with no applet, it
says 'done'.
There are NO errors or error messages, and nothing at all loads in that area
for the java applet.

I turned off my AV program, and tried it, also still have everything
enabled, but I cannot get anything to load in that applet area. The only
difference as I can think of between being able to see it before and not
now, is that on my previous installation I only had sp2 installed, now I
have sp3. Maybe, maybe not?

Thanks

--
Bob H
Leeds UK
To disable the Sun JVM you go to Start | Settings | Control Panel |
double-click the Sun Java Plug-in applet there | Browser | then uncheck
integrate with Microsoft Internet Explorer | OK. Make sure you do all this
with Microsoft Internet Explorer closed AND Windows Explorer. Also
Microsoft Outlook Express if that is going.

Bob I really thought I had it for you. Do the Start | Run | regsvr32
msjava.dll | OK | OK again and then try the link I gave you. If that works
your MSJVM is just fine. You have a different issue if you cannot get the
applet at your link to show.

At your link:
What does it say in the Status bar there for you on lower left? Any errors?
Does it ever say "done" (this with MSJVM enabled) scrap the Sun for now. Do
you even load anything in the applet area?

Finally make sure all your AV is OFF. You need to stick your bare bottom
out to the World until you can get this going. Once it is going then you
can start covering your butt again. OK?
 
B

Bob H

Hi George, I have found the answer!

Yesterday am, I was thinking about what differences I had between then and
now, as to why I could get the applet to load and not now after a re
installation.
My connection is through a router, and initially I did not have the firewall
and security set up, so I was using a software firewall. But now, and for
some few months, I have the router's firewall and secrity set to high, and
it is that wich is stopping the java applet to load!!!

I now need to find out what port to enable for that applet.

Thanks for all your help and time

--
Bob H
Leeds UK

I don't think so about the SP for Windows 2000 you mention. That is the one
I am using. A security fix for IE 6 YES that could be the issue.

Now you can see the fruit MSJVM is just fine. I hate these Java issues. I
used to run into them all the time. Back when I loaded AV software. Is one
reason why I don't use the stuff anymore.

Your issue is not the MSJVM. Your issue is something else prohibiting a
connection with where the applet is coming from. It's an IFRAME so it is
not located at the same place as what you see for the URL in the address bar
of IE.

OK. I nabbed the class and I believe I can set it up without the IFRAME at
the site I gave you. Give me a few hours you'll have a try at it Christmas.
OK? Merry Christmas too.

--
George Hester
__________________________________
Bob H said:
OK George, I disabled the Sun Java ok. Sorry, I did'nt realize what I had to
do to disable it! ...Uncheck it!
I ran regsrv32 msjava.dll again, and the fruit displays just fine again.

Now then, in the status bar, when I get that said page up with no applet, it
says 'done'.
There are NO errors or error messages, and nothing at all loads in that area
for the java applet.

I turned off my AV program, and tried it, also still have everything
enabled, but I cannot get anything to load in that applet area. The only
difference as I can think of between being able to see it before and not
now, is that on my previous installation I only had sp2 installed, now I
have sp3. Maybe, maybe not?

Thanks

--
Bob H
Leeds UK
To disable the Sun JVM you go to Start | Settings | Control Panel |
double-click the Sun Java Plug-in applet there | Browser | then uncheck
integrate with Microsoft Internet Explorer | OK. Make sure you do all this
with Microsoft Internet Explorer closed AND Windows Explorer. Also
Microsoft Outlook Express if that is going.

Bob I really thought I had it for you. Do the Start | Run | regsvr32
msjava.dll | OK | OK again and then try the link I gave you. If that works
your MSJVM is just fine. You have a different issue if you cannot get the
applet at your link to show.

At your link:
What does it say in the Status bar there for you on lower left? Any errors?
Does it ever say "done" (this with MSJVM enabled) scrap the Sun for now. Do
you even load anything in the applet area?

Finally make sure all your AV is OFF. You need to stick your bare bottom
out to the World until you can get this going. Once it is going then you
can start covering your butt again. OK?

--
George Hester
__________________________________
Bob H said:
Hi George,
ok, this is what I did:
I clicked on the link you supplied below, and I go all the fruit up on
display. That was using MSjava
I have 'Launch programs and files in an IFRAME' set to 'Enable' It was set
to 'Prompt'
I have Enabled almost everything else as well, but still not able to get
that said page up.

Then I re installed the Sun Java, and on clicking on properties of the Java
Plugin Controil Panel and then About, I get or see this:
Java(TM) 2 Runtime Enviornment , Standard Edition 1.4.2_03
Default Virtual Machine version 1.4.2_02-b02
Java(TM) Plug-in 1.4.2_03

Still not able to see that page.

I then ran the regsrv32 cmds for both files you told me about. That was OK.
Then deleted the Temporary Internet Files

Still no go

Next, in IE properties|settings| View objects, the Java runtime environment
is there...twice, but IT WAS not there prior to me re installing the Sun
Java.
Now then, I cannot now get the fruit to display on the site you gave a link
for, all I get is a counter? in the top left corner. So that is the Sun Java
working?

A couple of things I am not sure about now.
No, I do not know how to remove the Sun JVM in the Sun applet off the
Control Panel. Also after I ran regsrv32 msjava.dll, I still could not see
the fruit, or rather they were not displayed. It seems like that the Sun
Java was not disabled!

Thanks
--
Bob H
Leeds UK
OK. The applet loads from an <IFRAME page. So you need to make sure your
security in IE is not prohibiting <IFRAME. Microsoft did come out with a
security "fix" in the past year that if you had installed it could be
causing this issue. But go to right-click IE icon on desktop |
Properties
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top