the new jre isn't working

please help!!!I have instaled the new j2se development kit 5.0 and jre5.0, but my browser cannot open any applet and Sun Java console. The error is - " The Java Runtime Environment cannot be loaded from <\bin\server\jvm.dll>?!!!
[248 byte] By [provalia] at [2007-9-30 21:17:01]
# 1
Please do not post the same question in multiple forums. It causes wasted effort to answer the same question 3 times. Other posts referred to this one.
ChuckBing at 2007-7-7 2:49:52 > top of Java-index,Administration Tools,Sun Connection...
# 2
The best thing to do is uninstall it and then install a new copy (using a new downloaded file if you did the offline install.) The error is non-specific and indicates a severe problem.
ChuckBing at 2007-7-7 2:49:52 > top of Java-index,Administration Tools,Sun Connection...
# 3

I also have this problem. I uninstalled all Java versions and installed only the 1.5 version but it still didn't solve it.

As a workaround I discovered that if I installed a previous version of Java (use j2re1.4.2_06 at http://www.java.com) alongside the new version and using the old control panel "Java Plug-in" (not the one called just "Java") change the JRE being used to 1.5. Now your Java applets should run using 1.5. This is not ideal as you have two Java versions taking up disk space.

In over a month I haven't found a solution in this forum or others I've posted to. It appears to be a fairly common problem with the new Java.

I don't get why Sun doesn't seem to be addressing this. Do Sun staff /developers visit these forums? Is this an issue that they are aware of?

Has anyone got Java 1.5 to work on a WinXP system on any browser?

I have posted a request for help at http://forum.java.sun.com/thread.jsp?forum=32&thread=562293&tstart=0&trange=15 . I would be grateful if any solutions could be posted there too.

Thanks

Mark

mark-jones at 2007-7-7 2:49:52 > top of Java-index,Administration Tools,Sun Connection...
# 4

I also had this problem (running WinXP), and found a workaround that didn't require reinstallation of an old Java version:

In your "Documents and Settings\username\Application Data" folder you'll probably find a folder named "Sun". Delete that folder (or rename it), and then point your browser to the applet URL. When I did this, a new "Sun" folder was created, and things worked beautifully. I haven't looked into this more carefully, so I have no idea why this works, except for a qualified guess that something in that Sun folder caches the path to the jvm.dll.

Hope this helps!

Cheers,

- Torgil

Torgil at 2007-7-7 2:49:52 > top of Java-index,Administration Tools,Sun Connection...
# 5

> The best thing to do is uninstall it and then install

> a new copy (using a new downloaded file if you did the

> offline install.) The error is non-specific and

> indicates a severe problem.

I reread the original post and realized that the error is referring to the server jvm., which does not exist. This can be because either the java command option "-server" was used, or a configuration file setting.

As shipped by Sun, the JRE does not include the server jvm; the JDK does. There have been a few posts regarding this problem, there might be a configuration problem with the Java 5 installation under certain conditions, as evidenced by the resolution when configuration data was deleted by Torgil, above.

See this thread for a probable alternative solution - copying the server jvm from the JDK to the JRE.

http://forum.java.sun.com/thread.jsp?forum=54&thread=569186

ChuckBing at 2007-7-7 2:49:52 > top of Java-index,Administration Tools,Sun Connection...
# 6
I don't know that it would help, but it's probably worth checking the Internet Options under Tools. Under the Advanced tab, there should be a section concerning Java. See if the box saying to use the JRE is checked.
Legend_Keeper at 2007-7-7 2:49:52 > top of Java-index,Administration Tools,Sun Connection...
# 7
Gah... Please ignore that. Wrong topic.
Legend_Keeper at 2007-7-7 2:49:52 > top of Java-index,Administration Tools,Sun Connection...
# 8

Deleting the Sun folder worked for me as recommended by a previous poster. The folder and associated configuration files were re-created correctly and IE6 can now use the new Java but for some reason it still does not work with my main browser Mozilla Firefox.

I wish to point out how poorly I feel Sun have implemented the uninstallation and upgrading of Java. I am often finding old registry entries, files and other paraphernalia from older versions on my system which need to be manually deleted to correct configuration problems with Java.These sorts of things should not / sometimes cannot be handled by average computer users. Please do something Sun. You've been making this technology for several years now - surely it does not need to still be so messy

Thanks

Mark

mark-jones at 2007-7-7 2:49:52 > top of Java-index,Administration Tools,Sun Connection...
# 9

> I reread the original post and realized that the error

> is referring to the server jvm., which does not

> exist. This can be because either the java command

> option "-server" was used, or a configuration file

> setting.

Why is this option being used? I am just loading an applet in a webpage when this happens. Why would an applet on a web page feel the need to load the server.jvm?

>

> As shipped by Sun, the JRE does not include the server

> jvm; the JDK does. There have been a few posts

> regarding this problem, there might be a configuration

> problem with the Java 5 installation under certain

> conditions, as evidenced by the resolution when

> configuration data was deleted by Torgil, above.

Why doesn't Sun include the file in the JRE? Why is it attempting to load the file when just vbrowsing a page with an applet? I would like to know some of the technical reasons behind this problem. It may also help people to know that Sun is not distributing broken products.

Thanks!

mark-jones at 2007-7-7 2:49:52 > top of Java-index,Administration Tools,Sun Connection...
# 10

I found this problem reported as a bug, #5013503:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5013503

It has been closed as Not Reproducible, however. I recommend that anyone experiencing this problem submit a bug report to Sun reporting your problem and requesting that the bug be reopened.

ChuckBing at 2007-7-7 2:49:52 > top of Java-index,Administration Tools,Sun Connection...
# 11

Hi,

Had identical problems, deletion of the C:\Documents and Settings\<user id>\Application Data\Sun\Java directory did not solve my problem in FireFox.

Deletions of the Java related dll's in Firefox/plugins/ directory, registry (winXP) cleanup and re-installation of the jre did solve my problem though !!

Obvisouly the many re-installations of jre/sdk/browser have left dll's around that prevented a gracefully FireFox activation of Java 1.5. But now it works ... again.

Bgds.

jbarnow at 2007-7-7 2:49:52 > top of Java-index,Administration Tools,Sun Connection...
# 12

I did get it working in Firefox in the end by uninstalling Firefox 1.0PR and installing the new Firefox 1.0 although this may have been due to the fact that when I uninstalled the old version of Firefox I deleted the Firefox installation directory (but not my profile directory). This directory may have contained some wrong configuration information about Java although I did previously run a search on files within this directory and couldn't find anything related to Java.

I noticed that before doing this upgrade to Firefox my deployment.properties file in the Sun settings folder did refer to Firefox via "deployment.browser.path=C\:\\PROGRA~1\\MOZILL~1\\FIREFOX.EXE" so maybe the fault in Firefox's case lies with Mozilla? I don't know.

Anyway, I am happy it works but either Mozilla or Sun (or both) need to ensure that they can work together on this (and Sun definately need to clean up the upgrade process - Java has been around a lot longer that Mozilla Firefox).

Short answer to your problems: Uninstall and delete programs, directories, registry entries (if you know what you are doing!) relating to Firefox and Sun and reinstall both again (browser first).

Hopefully someone from Sun reads this and fixes things or points people to the right solution.

mark-jones at 2007-7-7 2:49:52 > top of Java-index,Administration Tools,Sun Connection...
# 13
The fourth replyer.Thank you very much. I tried your method and it works well. Really appreciate.Jack
Jack_Let at 2007-7-7 2:49:52 > top of Java-index,Administration Tools,Sun Connection...
# 14

I have experienced this same problem: /bin/server/jvm.dll.

I did not experience until I installed (and uninstalled JRockit 1.5). After that, I could no longer run JDK (or JRE) 1.5 plugin.

Here's how I fixed the problem:

1. I removed all JDK 1.5 versions (left JRockit 1.5 installed)

2. I installed JDK 1.5 (latest version 1.5.0_09.

3. I deleted the /Documents and Settings/[username]/Application Data/Sun folder (This was the key that made it work for me).

4. Close all open browsers

5. After that JDK 1.5 works in both FireFox 1.5 and IE 7.

6. I also made sure that in the Registry, for the JavaHome settings [HKEY_LOCAL_MACHINE/Software/JavaSoft/Java Plug-in/1.5.0_09 the value was: C:\Program Files\Java\jdk1.5.0_09\jre[Notice, the JRE under the JDK]

7. I also made sure that [HKEY_LOCAL_MACHINE/Software/JavaSoft/Java Runtime Environment/1.5 (and 1.5.0_09) the value of JavaHome was also

C:\Program Files\Java\jdk1.5.0_09\jre [the JRE under the JDK]

After all of that, the 1.5 plug-in works in all browsers.

Check out the really cool (and free) Java Applet at http://myotherdrive.com

John

jdereg at 2007-7-7 2:49:52 > top of Java-index,Administration Tools,Sun Connection...