The time now is 09/15/08 - 21:57
Log in: Username: Password:
Search forums for:
  

Fix my java

Post new topic   Reply to topic
Author Message
sinrakin
RealPoor Master of Posts
RealPoor Master of Posts


Joined: 11 Oct 2002
Posts: 7044



PostPosted: 11/20/04 - 13:17    Post subject: Fix my java Reply with quote

Java's been busted on my XP system for something like eight months now, and I'm finally fed up with it. I've tried several suggestions to fix it, and none of them work. Maybe someone here has an idea.

First of all, here's how I broke it:

I downloaded the Sun development environment, and used that for a long time. Downloaded several updates to it (which all seem to just install new versions of java, but not delete the old ones, from what I can see). Everything was fine. Then I got some stupid spyware (the one that the cwshredder.exe gets rid of). cwshredder said that the spyware was exploiting a hole in Microsoft's java VM (big surprise) and that since Microsoft's VM wasn't used anymore and Microsoft themself didn't even support it, you should just uninstall it, which I did, since I had the SUN java.

This somehow totally screwed everything. I've seen references on the web implying that if you've only ever had one vm on your system, this is OK, but if you've had multiple versions of java, the directories get organised differently and the microsoft uninstall breaks it. But none of their suggestions to fix it seem to work.

I've reinstalled the entire SUN java development package multiple times, which it happily does; it just doesn't run. I've checked entries in the registry and autoexec files and whatnot and that's not it.

What happens is that any time anything (typically a website) tries to use java, I get a popup that says:
The Java Runtime Environment cannot be loaded from </bin/hotspot/jvm.dll>. Which is fair enough, since that's not where it is anymore. When I click OK it kills every IE window I have up, which is damned annoying.

I can't figure out where in the system it's telling it to look for /bin/hotspot. Any clues?
Back to top
gotissues68
RealPoor Sensei
RealPoor Sensei


Joined: 21 Aug 2003
Posts: 1866



PostPosted: 11/20/04 - 15:09    Post subject: Reply with quote

Have you run a registry cleaner? I'm willing to bet there references *obviously* to Java within the reg entries for IE. I'll boot into windows in a few and take a peek Smile

[edit] duh sorry I saw that you checked the registry.. how 'bout the environment variables? Are they being exported wrong?


Last edited by gotissues68 on 11/20/04 - 16:06; edited 1 time in total
Back to top
gotissues68
RealPoor Sensei
RealPoor Sensei


Joined: 21 Aug 2003
Posts: 1866



PostPosted: 11/20/04 - 16:05    Post subject: Reply with quote

Sin try this for starters...

Open IE then go to tools>Java Console

It'll let you run debugging too

Java(TM) Plug-in: Version 1.4.2_05
Using JRE version 1.4.2_05 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\Drew

Proxy Configuration: No proxy





----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------
Dump system properties ...
----------------------------------------------------
acl.read = +
acl.read.default =
acl.write = +
acl.write.default =
application.home = C:\PROGRA~1\Java\J2RE14~1.2_0
awt.toolkit = sun.awt.windows.WToolkit
browser = sun.plugin
browser.vendor = Sun Microsystems, Inc.
browser.version = 1.1
deployment.javaws.jre.0.enabled = true
deployment.javaws.jre.0.location = http://java.sun.com/products/autodl/j2se
deployment.javaws.jre.0.osarch = x86
deployment.javaws.jre.0.osname = Windows
deployment.javaws.jre.0.path = C:\Program Files\Java\j2re1.4.2_05\bin\javaw.exe
deployment.javaws.jre.0.platform = 1.4
deployment.javaws.jre.0.product = 1.4.2_05
deployment.javaws.jre.0.registered = true
deployment.javaws.version = javaws-1.4.2_05
deployment.system.cacerts = C:\PROGRA~1\Java\J2RE14~1.2_0\lib\security\cacerts
deployment.system.home = C:\WINDOWS\Sun\Java\Deployment
deployment.system.jssecacerts = C:\PROGRA~1\Java\J2RE14~1.2_0\lib\security\cacerts
deployment.system.profile = C:\WINDOWS
deployment.system.security.policy = file:/C:/WINDOWS/Sun/Java/Deployment/security/java.policy
deployment.user.cachedir = C:\Documents and Settings\Drew\Application Data\Sun\Java\Deployment\cache
deployment.user.certs = C:\Documents and Settings\Drew\Application Data\Sun\Java\Deployment\security\deployment.certs
deployment.user.extdir = C:\Documents and Settings\Drew\Application Data\Sun\Java\Deployment\ext
deployment.user.home = C:\Documents and Settings\Drew\Application Data\Sun\Java\Deployment
deployment.user.jssecerts = C:\Documents and Settings\Drew\Application Data\Sun\Java\Deployment\security\deployment.jssecerts
deployment.user.logdir = C:\Documents and Settings\Drew\Application Data\Sun\Java\Deployment\log
deployment.user.profile = C:\Documents and Settings\Drew\Application Data
deployment.user.security.policy = file:/C:/Documents%20and%20Settings/Drew/Application%20Data/Sun/Java/Deployment/security/java.policy
deployment.user.tmpdir = C:\Documents and Settings\Drew\Application Data\Sun\Java\Deployment\cache\tmp
file.encoding = Cp1252
file.encoding.pkg = sun.io
file.separator = \
file.separator.applet = true
http.agent = Mozilla/4.0 (Windows XP 5.1)
http.auth.serializeRequests = true
https.protocols = SSLv3,SSLv2Hello
java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment
java.awt.printerjob = sun.awt.windows.WPrinterJob
java.class.path = C:\PROGRA~1\Java\J2RE14~1.2_0\classes
java.class.version = 48.0
java.class.version.applet = true
java.endorsed.dirs = C:\PROGRA~1\Java\J2RE14~1.2_0\lib\endorsed
java.ext.dirs = C:\PROGRA~1\Java\J2RE14~1.2_0\lib\ext
java.home = C:\PROGRA~1\Java\J2RE14~1.2_0
java.io.tmpdir = C:\DOCUME~1\Drew\LOCALS~1\Temp\
java.library.path = C:\Program Files\Internet Explorer;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Internet Explorer;;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\GTK\2.0\bin;C:\WINDOWS\system32\nls;C:\WINDOWS\system32\nls\ENGLISH
java.protocol.handler.pkgs = sun.plugin.net.protocol|sun.plugin.net.protocol
java.runtime.name = Java(TM) 2 Runtime Environment, Standard Edition
java.runtime.version = 1.4.2_05-b04
java.specification.name = Java Platform API Specification
java.specification.vendor = Sun Microsystems Inc.
java.specification.version = 1.4
java.util.prefs.PreferencesFactory = java.util.prefs.WindowsPreferencesFactory
java.vendor = Sun Microsystems Inc.
java.vendor.applet = true
java.vendor.url = http://java.sun.com/
java.vendor.url.applet = true
java.vendor.url.bug = http://java.sun.com/cgi-bin/bugreport.cgi
java.version = 1.4.2_05
java.version.applet = true
java.vm.info = mixed mode
java.vm.name = Java HotSpot(TM) Client VM
java.vm.specification.name = Java Virtual Machine Specification
java.vm.specification.vendor = Sun Microsystems Inc.
java.vm.specification.version = 1.0
java.vm.vendor = Sun Microsystems Inc.
java.vm.version = 1.4.2_05-b04
javaplugin.maxHeapSize = 96m
javaplugin.nodotversion = 142_05
javaplugin.proxy.config.type = direct
javaplugin.version = 1.4.2_05
javaplugin.vm.options = -Djava.class.path=C:\PROGRA~1\Java\J2RE14~1.2_0\classes -Xbootclasspath/a:C:\PROGRA~1\Java\J2RE14~1.2_0\lib\plugin.jar -Xmx96m -Djavaplugin.maxHeapSize=96m -Xverify:remote -Djavaplugin.version=1.4.2_05 -Djavaplugin.nodotversion=142_05 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=C:\PROGRA~1\Java\J2RE14~1.2_0 -Djava.protocol.handler.pkgs=sun.plugin.net.protocol
line.separator = \r\n
line.separator.applet = true
os.arch = x86
os.arch.applet = true
os.name = Windows XP
os.name.applet = true
os.version = 5.1
os.version.applet = true
package.restrict.access.netscape = false
package.restrict.access.sun = true
package.restrict.definition.java = true
package.restrict.definition.netscape = true
package.restrict.definition.sun = true
path.separator = ;
path.separator.applet = true
sun.arch.data.model = 32
sun.boot.class.path = C:\PROGRA~1\Java\J2RE14~1.2_0\lib\rt.jar;C:\PROGRA~1\Java\J2RE14~1.2_0\lib\i18n.jar;C:\PROGRA~1\Java\J2RE14~1.2_0\lib\sunrsasign.jar;C:\PROGRA~1\Java\J2RE14~1.2_0\lib\jsse.jar;C:\PROGRA~1\Java\J2RE14~1.2_0\lib\jce.jar;C:\PROGRA~1\Java\J2RE14~1.2_0\lib\charsets.jar;C:\PROGRA~1\Java\J2RE14~1.2_0\classes;C:\PROGRA~1\Java\J2RE14~1.2_0\lib\plugin.jar
sun.boot.library.path = C:\PROGRA~1\Java\J2RE14~1.2_0\bin
sun.cpu.endian = little
sun.cpu.isalist = pentium i486 i386
sun.io.unicode.encoding = UnicodeLittle
sun.java2d.fontpath =
sun.net.client.defaultConnectTimeout = 120000
sun.os.patch.level = Service Pack 2
trustProxy = true
user.country = US
user.dir = C:\Documents and Settings\Drew\Desktop
user.home = C:\Documents and Settings\Drew
user.language = en
user.name = Drew
user.timezone =
user.variant =
----------------------------------------------------
Done.
Back to top
Display posts from previous:   
Post new topic   Reply to topic
Page 1 of 1

Related topics: