Skip to main content

Issues with JRE 1.5.0.06

17 replies [Last post]
robchris13
Offline
Joined: 2005-05-30
Points: 0

HELP!!

I recently updated my JRE to 1.5.0.06 and since installation, I cannot execute any JAVA Applets - I cannot even verify the installation.

When I attempt to verify the install, I get a "General Exception" dialog box - sometimes readable, sometimes not. Same goes for the JAVA Console...sometimes its readable, sometimes its not.

When the applet loads, all i see is the java logo. Closing the "General Exception" dialog gives me the little red X and a message in the status bar that says "Applet notinited".

I have uninstalled and reinstalled a few times to no avail! Any clues - classpath?, etc, anything will help right now!
Rob!

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
ndcosta
Offline
Joined: 2004-05-21
Points: 0

Hi robchris13

Thanks for the extra information - Does the applet at http://www.java.com/en/download/help/testvm.xml work for you? apparently the site was down for some updates :( (like you rightly pointed out) - it's working now.

Btw, thanks for providing the right download link - java archive - for olsonje

olsonje - will be really interested if you are facing problems due to Update 6. do keep us posted with the results.

robchris13
Offline
Joined: 2005-05-30
Points: 0

The applet still is not working - I have reverted all the way back to 1.5.0. It works fine with 1.4.2_10. I am at my wits end (which wasn't a long trip). I may follow [b]olsonje[/b]'s lead and reinstall Windows...unless the God's at SUN can think of anything...CLASSPATH, etc..

Thanks...
R!
Christmas Eve Update -
All local applets run [b]FINE[/b]...problem is [b]ONLY[/b] with applets on WWW sites. Looks like the day after Christmas [AKA Boxing Day] will be spent backing up my stuff and reloading XP from scratch :-( - unless Santa brings me a resolution :-) (It pays to believe!)

Message was edited by: robchris13

chewmanfoo
Offline
Joined: 2005-09-28
Points: 0

I'm having a similar issue - I'm trying to load 1.5.0_06 on a corporate PC with very strict Java requirements - the PC has to use Java apps (applets and JNLP) that requite 1.3.1_01, 1.4.7, and 1.5.0_05. I loaded Java SDK 1.5.0_06 and it broke everything1 I did not select the checkbox for "use this as the default JVM for IE", but it still launches as the default JVM in IE.

Help!

robchris13
Offline
Joined: 2005-05-30
Points: 0

2006 Update...
Still nothing! Receiving the same errors in the console - snipped/pasetd below.

When I UNINSTALL 1.5.0.06 and reinstall 1.4.2.10, it will work fine. Does anyone at SUN have even the remotest clue as to what is happening??

Java Plug-in 1.5.0_06
Using JRE version 1.5.0_06 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\Rob
network: Loading user-defined proxy configuration ...
network: Done.
network: Loading proxy configuration from Internet Explorer ...
network: Done.
network: Loading direct proxy configuration ...
network: Done.
network: Proxy Configuration: No proxy

basic: Cache is enabled
basic: Location: C:\Documents and Settings\Rob\Application Data\Sun\Java\Deployment\cache\javapi\v1.0
basic: Maximum size: unlimited
basic: Compression level: 0

----------------------------------------------------
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 and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to
----------------------------------------------------

basic: Registered modality listener
liveconnect: Invoking JS method: document
liveconnect: Invoking JS method: URL
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@17e6a96, refcount=1
basic: Added progress listener: sun.plugin.util.GrayBoxPainter@3bb2b8
basic: Loading applet ...
basic: Initializing applet ...
basic: Starting applet ...
network: Connecting http://www.java.com/applet/testvm.class with proxy=DIRECT
network: Connecting http://www.java.com/applet/testvm/class.class with proxy=DIRECT
load: class testvm.class not found.
java.lang.ClassNotFoundException: testvm.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
basic: Exception: java.lang.ClassNotFoundException: testvm.class
Exception in thread "Thread-4" java.lang.NullPointerException
at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
at sun.plugin.AppletViewer.showAppletException(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
at sun.plugin.AppletViewer.showAppletStatus(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
basic: Exception: java.lang.NullPointerException
Exception in thread "thread applet-testvm.class" java.lang.NullPointerException
at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
at sun.plugin.AppletViewer.showAppletException(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
basic: Stopping applet ...
basic: Removed progress listener: sun.plugin.util.GrayBoxPainter@3bb2b8
basic: Finding information ...
basic: Releasing classloader: sun.plugin.ClassLoaderInfo@17e6a96, refcount=0
basic: Caching classloader: sun.plugin.ClassLoaderInfo@17e6a96
basic: Current classloader cache size: 1
basic: Done ...
basic: Joining applet thread ...
basic: Joined applet thread ...
basic: Unregistered modality listener
basic: Destroying applet ...
basic: Disposing applet ...
basic: Quiting applet ...
basic: Registered modality listener
liveconnect: Invoking JS method: document
liveconnect: Invoking JS method: URL
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@17e6a96, refcount=1
basic: Added progress listener: sun.plugin.util.GrayBoxPainter@16df84b
basic: Loading applet ...
basic: Initializing applet ...
basic: Starting applet ...
network: Connecting http://www.java.com/applet/testvm.class with proxy=DIRECT
network: Connecting http://www.java.com/applet/testvm/class.class with proxy=DIRECT
load: class testvm.class not found.
java.lang.ClassNotFoundException: testvm.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
basic: Exception: java.lang.ClassNotFoundException: testvm.class
Exception in thread "Thread-8" java.lang.NullPointerException
at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
at sun.plugin.AppletViewer.showAppletException(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
at sun.plugin.AppletViewer.showAppletStatus(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
basic: Exception: java.lang.NullPointerException
basic: Stopping applet ...
basic: Removed progress listener: sun.plugin.util.GrayBoxPainter@16df84b
basic: Finding information ...
basic: Releasing classloader: sun.plugin.ClassLoaderInfo@17e6a96, refcount=0
basic: Caching classloader: sun.plugin.ClassLoaderInfo@17e6a96
basic: Current classloader cache size: 1
basic: Done ...
basic: Joining applet thread ...
basic: Destroying applet ...
basic: Disposing applet ...
basic: Quiting applet ...
basic: Joined applet thread ...
basic: Unregistered modality listener

johannabartley
Offline
Joined: 2008-02-01
Points: 0

I wonder, can it be possible that Java is infected with some kind of virus and it spreads when we download the updates? My java is acting so weird! Even my java applets on my phone give errors.
---
[url=http://www.earlymiser.com/artificial-christmas-trees.php]Christmas Trees[/url]

tonyt2
Offline
Joined: 2006-03-22
Points: 0

I've had the same problem. Can use applets locally, but not online. Registry setting was fine. The problem turns out to be IPv6, even though it's not enabled on the network connection I'm using.

To fix:
Open Java Control Panel
Go to Java tab
Java Applet Runtime Settings -> View ...
Type '-Djava.net.preferIPv4Stack=true' (without quotes) into Java Runtime Parameters.
Press OK and OK on control panel.
Close browser
Open browser and it should work - well did for me anyway.

Still haven't worked out where IPv6 came from though.

Good luck,
Tony

ch122065
Offline
Joined: 2006-01-27
Points: 0

This seems to be an issue with downloading the applet class:

"network: Connecting http://www.java.com/applet/testvm.class with
proxy=DIRECT
network: Connecting http://www.java.com/applet/testvm/class.class with
proxy=DIRECT
load: class testvm.class not found."

Plugin just opens a HttpURLConnection to download the applet. Can robchris13 or someone else on the forum who is experiencing the same problem try running the following simple test with 1.5.0_u6 with and without '-Djava.net.preferIPv4Stack=true' and post the outcome.

import java.net.*;

// Note: If you are behind a firewall you may need to set a proxy.

public class TestHTTP
{
public static void main(String[] args) {
try {
URL url = new URL("http://www.java.com/applet/testvm.class");
HttpURLConnection uc = (HttpURLConnection)url.openConnection();
System.out.println("Response code = " + uc.getResponseCode());
} catch (Exception e) {
e.printStackTrace();
}
}
}

olsonje
Offline
Joined: 2005-08-10
Points: 0

I actually need to find 1.5 update 5 ASAP. Both of my work machines upgraded to Update6 and I've been having issues that I am not sure is related from Update6 or something else.

Does anyone know where I can snag Update5 from?

For those people who might be interested, some of the issues I have that creeped up have been instability in applications that are now hanging thus being unresponsive for random periods of time, taking an extremely long time to do anything, and if it comes to loading data from files to be displayable, such as with jEdit, the files come in as complete gibberish.... Like the byte order used is no longer correct, or something.

I'm not going to say its Update6 until I can get my hands on Update5, but what limited time I've had to find Update5 has proven to yeild no results.

Sorry for this, but I need to find the link badly as this is killing me. Also, I tried that link that was posted by Nelson and got a error 500 as well.

Can anyone from Sun direct me to a link for that download? I really need to figure out what is causing this.

Edit:
I actually disabled 1.5 update6 in the java panel, but I think I need to be safe and get 1.5 update5 after cleaning out all other things and see how the system responds with it alone. Can't help but wonder if its something else, this is just weird... Then again it is windows, maybe its time for my 2 year format/reinstall. :/

Message was edited by: olsonje

robchris13
Offline
Joined: 2005-05-30
Points: 0

Try this link instead - it seems to work without the WWW...
[b]http://java.com/en/download/help/testvm.xml[/b]

olsonje
Offline
Joined: 2005-08-10
Points: 0

Yea that works, just gotta say that dancing Duke with the nasty flashing black background... Get an artist to fix it please! :P

You wouldn't happen to know where to get Update5 would you? I want to just remove all JRE's/JDK's and see if that fixes this weird stuff... I'm more and more leaning to something wacked by nightly updates from our support group, or something just went wrong somewhere.

robchris13
Offline
Joined: 2005-05-30
Points: 0

I just did a little [b]GOOGLING[/b] and found this link:

[b]https://jsecom15b.sun.com/ECom/EComActionServlet;jsessionid=7DD65AF6A7DFE968FF8137D9FD699821[/b]

Hope it woprks for you...if it does - Merry Christmas...

olsonje
Offline
Joined: 2005-08-10
Points: 0

Comes up to a page that says click this link to view downloadable products. No joy. :\

robchris13
Offline
Joined: 2005-05-30
Points: 0

[b]DOH!!![/b]

Did a little more searching and found this lurking in the archives:
[b]http://java.sun.com/products/archive/j2se/5.0_05/index.html[/b]

If this works for ya - please let me know - and I will try it at home...

The really strange thing is that I have [b]1.5.0_06[/b]running on my desktop at home and its fine :-). On the laptop it is "less than fine :-(". I am also running it on my desktops at work and it is fine as well :-)

Go Figure...

alexlamsl
Offline
Joined: 2004-09-02
Points: 0

would you like to include a more detailed description of your problem, e.g. the full form of that "General Exception"?

robchris13
Offline
Joined: 2005-05-30
Points: 0

I would gladly provide more info regarding the "General Exception" error, however, that is all that is showing in the dialog box.

I have reverted to the 1.4.2_10 JRE and all seems to be right and well with the world now. I guess I just will not be reinstalling the 1.5.0.06 JRE until all of the "issues" are worked out...

Thanks for the assist...

ndcosta
Offline
Joined: 2004-05-21
Points: 0

Hi robchris13, this is strange behavior and we really are interested in finding how this happened.

I have tested this with 1.5.0_06 but have not been able to reproduce this problem. If possible please provide me some more information -
1) System configuration
2) What was your previous version of Java?
3) With 1.5.0_06 do provide the output of http://www.java.com/en/download/help/testvm.xml
4) You mentioned "sometimes its readable, sometimes its not." - Please provide us more information about this.

Thanks,
Nelson

robchris13
Offline
Joined: 2005-05-30
Points: 0

> Hi robchris13, this is strange behavior and we really
> are interested in finding how this happened.
>
> I have tested this with 1.5.0_06 but have not been
> able to reproduce this problem. If possible please
> provide me some more information -
> 1) System configuration
> 2) What was your previous version of Java?
> 3) With 1.5.0_06 do provide the output of
> http://www.java.com/en/download/help/testvm.xml
> 4) You mentioned "sometimes its readable, sometimes
> its not." - Please provide us more information about
> this.
>
> Thanks,
> Nelson

Hi Nelson -

Not exactly sure what in the name of Satan I did, but I must have really toasted things...I am getting real close to restoring my laptop to the factory configuration...however, here are the answers to your questions:
System configuration:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Rob>set
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\Rob\Application Data
CLASSPATH=C:\Program Files\Java\j2re1.4.2_10\lib\ext\QTJava.zip;C:\Program Files\Java\jdk1.5.0_06\bi
n
CLIENTNAME=Console
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=JETTA04
ComSpec=C:\WINDOWS\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\Rob
INCLUDE=C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\include\
LIB=C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Lib\
LOGONSERVER=\\JETTA04
NetSamplePath=C:\PROGRA~1\MICROS~1.NET\SDK\v1.1\
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Path=C:\Perl\bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Borland\BCC55\Bin;C:\Pr
ogram Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Micro Focus\Net Express with .NET\P
ackages;C:\Sun\AppServer\bin
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 13 Stepping 6, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0d06
ProgramFiles=C:\Program Files
PROMPT=$P$G
QTJAVA=C:\Program Files\Java\j2re1.4.2_10\lib\ext\QTJava.zip
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=c:\temp
TMP=c:\temp
USERDOMAIN=JETTA04
USERNAME=Rob
USERPROFILE=C:\Documents and Settings\Rob
windir=C:\WINDOWS
__COMPAT_LAYER=EnableNXShowUI
Previous version (and the version I just restored to):
j2re1.4.2_10
When I attempt to access the URL: http://www.java.com/en/download/help/testvm.xml
I am getting a HTTP 500 - Internal server error - This is probably something else that I toasted...

Any help you can offer would be greatly appreciated...