Solved

How to clean jvm installation

Posted on 2004-09-27
30
1,374 Views
Last Modified: 2008-02-20
Hi,
I recently had some problems with visualization of java applets in IE6.0. A few months ago I could visualize those applets without any problem. Now I just see a red cross on a grey field. A friend told me that this could happen if you mess up with JVMs and, for some reason, you installed another JVM other than MSJVM. So I downloaded the SUN JVM for MS windows, installed it and... no improvements at all.

Is there a way to clean the IE installation so that I can install the MSJVM (as I had done before?)

Thanks
0
Comment
Question by:s_federici
  • 18
  • 9
30 Comments
 
LVL 27

Expert Comment

by:Asta Cu
Comment Utility
Red X image displayed where the applet should be, applets won't run
http://java.com/en/download/help/redximage.jsp
0
 
LVL 27

Expert Comment

by:Asta Cu
Comment Utility
MSJVM Transition FAQ
http://www.microsoft.com/mscorp/java/faq.asp

If this doesn't resolve the issue for you, you can test vm here.
http://java.com/en/download/help/testvm.jsp

Configuration check list
If your applet is not displaying properly, please check these additional configurations.
Enable the JRE through your Web browser
Enable the JRE through the "Java™ Plug-in Control Panel"
Clearing your Web Browser Cache
If you are unable to perform any of the steps above due to an error, please reinstall the JRE.
Download and installation instructions and more at the above link.
---
Internet Explorer users can disable or enable running Java programs by adjusting their Security settings in Internet Options, which is available on the Tools menu.
---

If problem persists, which OS and version and IE?

0
 
LVL 27

Expert Comment

by:Asta Cu
Comment Utility
Also, after clearing cahe; check your downloaded program files folder which can also be accessed from IE - tools - internet optios - temporary internet files - settings - view objects.  If anything there is listed as damaged or unknown, delete it, close IE reopen and try the links again.  Be sure you've checked the control panel and checked the Java settings as noted in link above.  If problems still persists, post some problem site/sample links.
0
 

Author Comment

by:s_federici
Comment Utility
Tried everything you suggested, but nothing worked. The fact is that I can visualize the testjvm applet with no problems. But I have a problem with the applets of  particular site. Do you have an email I can use to send you the link? (I wouldn't like to make it public as userid and password are required to access; but I really need to make it work for my laptop).

If nothing will work, do you think that I could make it work by reinstalling IE?

0
 
LVL 27

Expert Comment

by:Asta Cu
Comment Utility
The test jvm link here didn't help at all?
http://www.dynalink.co.nz/files/pdfs/rtw026_qg.pdf

Sorry to say that the Guidelines for this site discourage any external question activities; the information need remain within the question at this site.

Repairing IE may help, until we figure out the cause of your problem...

Repair Internet Explorer 6
A number of XP users have reported situations with Internet Explorer 6 becoming corrupted and reporting a number of different errors. While there is certainly no guarantee, the two procedures listed below have restored functionality to IE6 for many users experiencing problems.

Note: Both methods listed require that the Microsoft Windows XP CD-ROM be available.
http://www.theeldergeek.com/repair_ie6.htm

How to Reinstall or Repair Internet Explorer and Outlook Express in Windows XP
http://support.microsoft.com/default.aspx?scid=kb;EN-US;318378

I still don't know what your Operating System and version is.  I've assumed it's XP, but if not, please do advise.

Did you go through the process of trying the settings in the Java icon in Control Panel?  

Are you running ZoneAlarm, or some other 3rd party software or blocker that might need to be configured and/or updated?

I would uninstall the old Java VM and then reinstall the new version; that has fixed other IE users with appelet problems, as I've found on Sun and MS in my research here.

Also found this of interest at the Sun Java VM site.... Developer notes:
Will Java Plug-in overwrite my installed Microsoft VM?

No. Although Java Plug-in will take over the <applet> support in Internet Explorer, Java Plug-in does not overwrite any Microsoft VM binaries. In addition, Java Plug-in only overrides the Microsoft VM when <applet> is used, so other applications which rely on the Microsoft VM explicitly will continue to work.
0
 
LVL 27

Expert Comment

by:Asta Cu
Comment Utility
This information, I thought, was key here.... I'll only show a little, and encourage you to go the link and again try the step by step process.

---
SYMPTOM(S)
An applet does not load, and the "Java™ Plug-in Control Panel" shows the following error:

java.net.UnknownHostException: www.xxxxx.com
at java.net.PlainSocketImpl.connect(Unknown Source)

Or, you see an image that looks like a small white box with a Red X in it

Or, the browser cannot display the program, and shows the error message
"Loading Java Applet Failed..."


The JRE could not obtain proxy information from any of the following browser-platform combinations:

Internet Explorer on Windows
Netscape on Windows
Netscape on Solaris or Linux
 
SOLUTION
Start the "Java Plug-in Control Panel" by following these instructions.

Click the Start menu
Select Settings
Select Control Panel
Double click the "Java Plug-in" icon
Click the "Proxies" Tab


 
Make sure that the "Use Browser Settings" checkbox is checked. If it is not, then check it and hit the "Apply" button to save your changes. Doing this will cause the JRE to use the Web browser's proxy settings for all Internet connections.
Close all browser windows. Restart the browser and try to load the applet.


If the applet still does not load, and you see the same connection error, try to configure the "Java Plug-in Control Panel" "Proxies" Tab using your web browser's proxy settings.
The web browser proxy settings are set as either manual or automatic. Please choose from the instructions below to configure your proxy settings for the JRE.

Manual Proxy Configuration
Both Internet Explorer and Netscape support manual proxy configuration. Here is how you can configure them manually.
More here:
http://java.com/en/download/help/redximage.jsp
0
 

Author Comment

by:s_federici
Comment Utility
Yes, I had already tried all the suggestions at the http://java.com/en/download/help/redximage.jsp address.
I went through the java plug-in setting in the control panel, but everything seems already as it should be.

Sorry if I forgot to tell you my OS and IE version: windows 2000, IE6. And I'm not running any Firewall or other 3rd party software (at least that I'm aware of).

The site manager told me that the site applets only runs smoothly if you have MS JVM. I verified that in my system folder I got the msjvm.dll file of the correct version. And I also checked in the "Add/Remove Programs" in the control panel that Windows will use  the MS JVM. But, as I told you, nothing worked. I'll go through your http://www.dynalink.co.nz/files/pdfs/rtw026_qg.pdf link. In the meantime, if you have a spare one, please send me you email address, so that you can check by yourself what the problem can be.

I'll talk to you soon.

0
 

Author Comment

by:s_federici
Comment Utility
Sorry for asking, but did you paste the right link? I only found the setup guide for a wireless router.... :-?
0
 
LVL 27

Expert Comment

by:Asta Cu
Comment Utility
Sorry, at work and overloaded with backlog.
Try this.
Diagnostic Tool for the Microsoft VM 1.0a
The Diagnostic Tool for the Microsoft VM can be used to scan one or more computers to detect the presence of MSJVM and MSJVM-related software.
http://www.microsoft.com/downloads/details.aspx?FamilyID=4e38f4f9-ce7e-4271-8836-a7d7293a992f&DisplayLang=en
0
 

Author Comment

by:s_federici
Comment Utility
I tried the diagnostic tool, by supplying the home page of my "no-java-applet" site (http://www.easylearning.it). I couldn't give the exact link of the "no-java-applet" page as it pops up in a new window and it is not easy to me to understand what the page URL is. So, no errors are reported, but I guess that the applet page has not been caught.

I think I'll try to reinstall IE. Even if I'm worried that the new installation would get old setting from the old one (indeed, I could see java applets even after having replaced IE5 with IE6, even if IE6 has not a packaged jvm )
0
 
LVL 27

Expert Comment

by:Asta Cu
Comment Utility
Ran that link by a validator; found some problems here:
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.easylearning.it%2F
0
 

Author Comment

by:s_federici
Comment Utility
I saw the validator. But the fact is that EVERY OTHER pc I tried can see that damn applet without any single problem.

Only my computer cannot.

Well, as I suspected, reinstalling IE didn't give any benefit.

A last note. As for your previous comments I forgot to tell you that I skipped the "proxy" adjustment suggested at the "red cross problem" page as my proxy setting are "automatically detect settings" (I simply share an internet connection supplied by an XP pc. And, again, everything worked fine on May).

Final note: the only big thing I did since May has been to install Netscape, Firefox and Opera last week. Maybe this influenced in some way the jvm. What do you think?
0
 
LVL 27

Expert Comment

by:Asta Cu
Comment Utility
Surely could have.  Many experts here have been very pleased with Firefox.  IE in its upgrade mode since IE 5.5 SP2 upward no longer supported the old Netscape style plugins, and plugins had to be reinstalled after these types of upgrades to IE.  Did you uncheck the item in IE to "not check to see if it's the Browser default"?  That would be under IE - tools - internet options - programs towards the bottom.
0
 
LVL 27

Expert Comment

by:Asta Cu
Comment Utility
Do all other versions of the browsers you installed display all these appelets fine?
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 27

Expert Comment

by:Asta Cu
Comment Utility
Must get back to work; will check back when I can.
0
 
LVL 27

Expert Comment

by:Asta Cu
Comment Utility
As you'll see here, many have your same problems in both IE 6 and Firefox, but not in Mozilla...
http://www.annoyances.org/exec/forum/win98/t1092881458
0
 
LVL 27

Expert Comment

by:Asta Cu
Comment Utility
In IE Security - custom, which Java items are enabled?
0
 
LVL 27

Expert Comment

by:Asta Cu
Comment Utility
Also found in forum
Try re-registering this .DLL. Log off the net and close all windows first. Go to
Start/Run and type:
regsvr32 Jscript.dll Press enter. Note: you should see a brief message that
the DLL has been successfully registered.
0
 
LVL 27

Expert Comment

by:Asta Cu
Comment Utility
http://www.bodo.com/javame.htm
just one more test.... go to ..... Look below this line to see if you are Java Applet Enabled

0
 

Author Comment

by:s_federici
Comment Utility
Let's summarize:
1- http://www.bodo.com/javame.htm: Yup: I'm... enabled :-(
2- regsvr32 Jscript.dll: done: no apparent benefit
3- In IE Security - custom, which Java items are enabled? I enabled everything: no benefit
4- http://www.annoyances.org/exec/forum/win98/t1092881458: downloaded mozilla 1.7.3. Mozilla and Netscape have a weird behaviour: they keep asking for a password in an infinite loop (instead, in IE on those PC where the sites works -basically: EVERY OTHER PC OTHER THAN MINE- you can insert the password and see the forum applet). As for Opera, it  keeps looping even before: what a BAD, BAD site!

That's all. I start being a little frustrated: if I cannot even uninstall IE and its components, how can I solve this problem?
0
 

Author Comment

by:s_federici
Comment Utility
A Last note. I don't know why I didn't do it before: here you are the applet code and the output of the java console:

APPLET:
<APPLET NAME="outline" CODE="lotus.notes.apps.outlineapplet.OutlineApplet.class" CODEBASE="/domjava" ARCHIVE="outline.cab" ALT="Profilo" WIDTH="100%" HEIGHT="175" MAYSCRIPT>
<PARAM NAME="cabbase" VALUE="outline.cab">
<PARAM NAME="Database" VALUE="0070_IALSa.nsf">
<PARAM NAME="BrowserVendor" VALUE="Microsoft 4">
<PARAM NAME="OutlineName" VALUE="DiscOutline">
<PARAM NAME="OutlineId" VALUE="1">
<PARAM NAME="cache_id" VALUE="C1256F1D003A6737">
<PARAM NAME="Layout" VALUE="STD">
<PARAM NAME="hOffsetEntries" VALUE="0,0,19">
<PARAM NAME="vOffsetEntries" VALUE="0,5,5">
<PARAM NAME="heightEntries" VALUE="0,0,0">
<PARAM NAME="hLabelOffsets" VALUE="0,29,38">
<PARAM NAME="vLabelOffsets" VALUE="0,0,0">
<PARAM NAME="alignEntries" VALUE="0,3,3">
<PARAM NAME="hImageOffsets" VALUE="0,0,10">
<PARAM NAME="vImageOffsets" VALUE="0,0,0">
<PARAM NAME="alignImages" VALUE="0,3,3">
<PARAM NAME="bgColorCtl" VALUE="FFFFFF">
<PARAM NAME="fontTitle" VALUE="Helvetica,R,10,000000,000000,000000">
<PARAM NAME="bgColorsTitle" VALUE="tr,tr,tr">
<PARAM NAME="fontRoot" VALUE="Helvetica,R,9,000000,000000,0000FF">
<PARAM NAME="bgColorsRoot" VALUE="FFFFFF,7FA5CA,C7E3FF">
<PARAM NAME="fontSub" VALUE="Helvetica,R,9,000000,000000,0000FF">
<PARAM NAME="bgColorsSub" VALUE="82823F,424282,622152">
<PARAM NAME="LinkTargetFrame" VALUE="NotesView">
<PARAM NAME="ExpandOption" VALUE="3">
<PARAM NAME="IconPath" VALUE="/icons">
</APPLET>

Java console output:

load: class lotus.notes.apps.outlineapplet.OutlineApplet.class not found.

java.lang.ClassNotFoundException: lotus.notes.apps.outlineapplet.OutlineApplet.class

      at sun.applet.AppletClassLoader.findClass(Unknown Source)

      at java.lang.ClassLoader.loadClass(Unknown Source)

      at sun.applet.AppletClassLoader.loadClass(Unknown Source)

      at java.lang.ClassLoader.loadClass(Unknown Source)

      at sun.applet.AppletClassLoader.loadCode(Unknown Source)

      at sun.applet.AppletPanel.createApplet(Unknown Source)

      at sun.plugin.AppletViewer.createApplet(Unknown Source)

      at sun.applet.AppletPanel.runLoader(Unknown Source)

      at sun.applet.AppletPanel.run(Unknown Source)

      at java.lang.Thread.run(Unknown Source)

Caused by: java.io.IOException: open HTTP connection failed.

      at sun.applet.AppletClassLoader.getBytes(Unknown Source)

      at sun.applet.AppletClassLoader.access$100(Unknown Source)

      at sun.applet.AppletClassLoader$1.run(Unknown Source)

      at java.security.AccessController.doPrivileged(Native Method)

      ... 10 more

load: class lotus.notes.apps.actionbar.ActionBar.class not found.

java.lang.ClassNotFoundException: lotus.notes.apps.actionbar.ActionBar.class

      at sun.applet.AppletClassLoader.findClass(Unknown Source)

      at java.lang.ClassLoader.loadClass(Unknown Source)

      at sun.applet.AppletClassLoader.loadClass(Unknown Source)

      at java.lang.ClassLoader.loadClass(Unknown Source)

      at sun.applet.AppletClassLoader.loadCode(Unknown Source)

      at sun.applet.AppletPanel.createApplet(Unknown Source)

      at sun.plugin.AppletViewer.createApplet(Unknown Source)

      at sun.applet.AppletPanel.runLoader(Unknown Source)

      at sun.applet.AppletPanel.run(Unknown Source)

      at java.lang.Thread.run(Unknown Source)

Caused by: java.io.IOException: open HTTP connection failed.

      at sun.applet.AppletClassLoader.getBytes(Unknown Source)

      at sun.applet.AppletClassLoader.access$100(Unknown Source)

      at sun.applet.AppletClassLoader$1.run(Unknown Source)

      at java.security.AccessController.doPrivileged(Native Method)

      ... 10 more

load: class lotus.notes.apps.viewapplet.ViewApplet.class not found.

java.lang.ClassNotFoundException: lotus.notes.apps.viewapplet.ViewApplet.class

      at sun.applet.AppletClassLoader.findClass(Unknown Source)

      at java.lang.ClassLoader.loadClass(Unknown Source)

      at sun.applet.AppletClassLoader.loadClass(Unknown Source)

      at java.lang.ClassLoader.loadClass(Unknown Source)

      at sun.applet.AppletClassLoader.loadCode(Unknown Source)

      at sun.applet.AppletPanel.createApplet(Unknown Source)

      at sun.plugin.AppletViewer.createApplet(Unknown Source)

      at sun.applet.AppletPanel.runLoader(Unknown Source)

      at sun.applet.AppletPanel.run(Unknown Source)

      at java.lang.Thread.run(Unknown Source)

Caused by: java.io.IOException: open HTTP connection failed.

      at sun.applet.AppletClassLoader.getBytes(Unknown Source)

      at sun.applet.AppletClassLoader.access$100(Unknown Source)

      at sun.applet.AppletClassLoader$1.run(Unknown Source)

      at java.security.AccessController.doPrivileged(Native Method)

      ... 10 more

From them I can only understand that some classes cannot be downloaded. But, Why???????
0
 
LVL 27

Expert Comment

by:Asta Cu
Comment Utility
No time this morning, sorry.  Re. Netscape/Mozilla.... this behavior can occur when profiles are shared.
Do not share a profile between Netscape and Mozilla browsers
Netscape 7.0 - 7.2 Release Notes - http://wp.netscape.com/eng/mozilla/ns7/relnotes/7.html#profiles

7.10. Can I share a profile with my copy of Netscape 7, or with an earlier version of Mozilla?
Do not share a profile with Netscape 6 or 7. Sharing profiles between different versions of Mozilla can lead to profile corruption
Note even if you uninstall a previous copy of Mozilla or Netscape, the old profile will still be there until you remove its folder. Be sure to create a fresh profile when you install a new version of Mozilla.
http://www.mozilla.org/start/1.0/faq/profile.html#netscape

As a rule of thumb, I always choose to carefully read release notes and cautions prior to installing software; which in this case may have played a downside role, if you didn't.  Hopefully this information will be a guide to resolve those issues.

This article describes how to remove an ActiveX control from your computer, error messages that may occur when you attempt to remove an ActiveX control, and the use of multiple ActiveX control (Occache) folders in Internet Explorer 4.0 and later.
http://support.microsoft.com/default.aspx?kbid=154850

0
 
LVL 27

Expert Comment

by:Asta Cu
Comment Utility
Since I was the only participator here, and it appears my help didn't get the results, would propose a REFUND and PAQ so that Asker can post again in a topic area that better fits the needs and draws current attention.  The reason I'd request a PAQ versus deletion, is so that other Experts don't waste their time posting the things I already have that apparently didn't help.

Thanks so much, Venabili for your ongoing excellence in supporting this site and all of us.

":0) Asta
0
 

Author Comment

by:s_federici
Comment Utility
Yes, all the suggestions from astaec didn't solve the problem. In fact, I had only one choice until this moment: using the SUN jvm to display all java applets saw around BUT the java applets of the www.easylearning.it site (an e-learning site based on Lotus Learning Space). Apprently this site can only work with the MS jvm. But i couldn't find how to install it.

I think that a PAQ is the best solution. Thanks anyway to astaec for all the time spent in sending me suggestions.
0
 
LVL 27

Expert Comment

by:Asta Cu
Comment Utility
0
 
LVL 27

Expert Comment

by:Asta Cu
Comment Utility
Thanks, Venabili; but Asker did say that he needed Microsoft's VM, and I provided those link for the Asker which "should" have resolved the issue above.... that was only 3 days ago, and no response.  I'm quite sure this information, given Asker's last response should have resolved this.
Asta
0
 

Author Comment

by:s_federici
Comment Utility
Sorry for not asnwering. I had bad luck: my hd (the one on which I had problems with the jvm) crashed and is now at the repair center. I will be happy to try astaec's suggestions as soon as my hd is back. Sorry for that.
0
 

Accepted Solution

by:
modulo earned 0 total points
Comment Utility
PAQed, with points refunded (500)

modulo
Community Support Moderator
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Internet is a big network which is formed by connecting multiple small networks.It is a platform for all the users which are connected to it.Internet act as platform in different fields. Such as: Internet  as a collaboration platform. Internet  as…
Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now