Java error -"The java virtual machine cannot be loaded -class not reg.

D

Darden

OK, Here's what's going on.....
I am trying to load an application and drivers for an HP
printer. When I loaded it I got the error "Unable to
start the application --The java virtual machine can not
be loaded -Class not registered." Now the drivers load
and I have functionality but the supporting application
called the Director will not open properly and some of
the windows of it's sub-fuctions in the director GUI will
not open and some that do open are not complete/proper.
I beleive java scripting issues is at the root of the
problem, which is self explainatory by the aboved
mentioned error!
Now, I understand that Microsoft has lost their battle
with java(Sun) and that the service-pack1a is now
actually removing the the microsoft java VM version from
XP. Also, with new versions of XP the service pack1a may
be coming with the SP1a embedded in XP. I state this
because I seem to be haveing the java issue only with
very new systems. Previous versions of XP seemed to have
the Microsoft VM (java) and I have never encountered any
java issues with older systems with XP that originally
only had SP1.
**Now I have downloaded and installed the java (sun)
version from java.com and the error I mentioned above
still occurs.
Installing the java from Sun is given by Microsoft as a
fix or a workarourd. However, it seems to only work about
50% of the time. It appears, it is unable to register
itself properly or as completely in some cases as
compared to Microsoft VM java.

**I would appreciate any feedback on this issue and
possible fixes????? Example: can I roll back SP1a to SP1
OR is there still a way to install the Microsoft VM java
version into XP seperately OR is there a way to change
the registered class in the Environment variables in
XP????
Thanks Darden
(e-mail address removed)
 
W

Willit

One of the recent updates has caused these Jave errors.
They started showing up a couple months ago on my systems
too. I have spent a little time trying to figure out what
one of the updates it is, still don't know. If you re-
install java vm over the old install it seems to correct
it for a while then it returns in a couple weeks,
reinstall it and it will go away again, strange.
 
F

Frank

In a word, HP drivers are a nightmare. I will never
again buy _any HP product_. Not only that, one can
buy a BJ printer for the price of their ink cartridges.

: OK, Here's what's going on.....
: I am trying to load an application and drivers for an HP
: printer. When I loaded it I got the error "Unable to
: start the application --The java virtual machine can not
: be loaded -Class not registered." Now the drivers load
: and I have functionality but the supporting application
: called the Director will not open properly and some of
: the windows of it's sub-fuctions in the director GUI will
: not open and some that do open are not complete/proper.
: I beleive java scripting issues is at the root of the
: problem, which is self explainatory by the aboved
: mentioned error!
: Now, I understand that Microsoft has lost their battle
: with java(Sun) and that the service-pack1a is now
: actually removing the the microsoft java VM version from
: XP. Also, with new versions of XP the service pack1a may
: be coming with the SP1a embedded in XP. I state this
: because I seem to be haveing the java issue only with
: very new systems. Previous versions of XP seemed to have
: the Microsoft VM (java) and I have never encountered any
: java issues with older systems with XP that originally
: only had SP1.
: **Now I have downloaded and installed the java (sun)
: version from java.com and the error I mentioned above
: still occurs.
: Installing the java from Sun is given by Microsoft as a
: fix or a workarourd. However, it seems to only work about
: 50% of the time. It appears, it is unable to register
: itself properly or as completely in some cases as
: compared to Microsoft VM java.
:
: **I would appreciate any feedback on this issue and
: possible fixes????? Example: can I roll back SP1a to SP1
: OR is there still a way to install the Microsoft VM java
: version into XP seperately OR is there a way to change
: the registered class in the Environment variables in
: XP????
: Thanks Darden
: (e-mail address removed)
:
:
 
J

Jim Byrd

Hi Darden - You can test whether Java is working on your machine at the
following
sites:

http://www.pocoso.de/pocoso052.html
http://www.clan.lib.ri.us/clan/javatest.html
http://www.fitwise.com/testjava.asp (both 1.0 and 1.1 and what's
installed)
http://coglab.wadsworth.com/support/browsercheck.html
http://www.ces.clemson.edu/webct/browser_detect.html

and you can test Javascript here:
http://www.dancespots.net/browsertest.htm

and check whether you have the MS VM installed and which version here:
http://www.visualware.com/personal/support/index.html#java

There is good information concerning all aspects of the Java situation here:
http://www.javatester.org/installing.html

Be aware, however, that after Sept. 30, 2004, MS will apparently no longer
be distributing Java or providing any support for Java including
security fixes. (It's unclear as to how 6/26/03 court decision will
affect this) See here:

http://www.microsoft.com/windowsxp/pro/evaluation/news/jre.asp, and
http://www.microsoft.com/mscorp/java/ ,and more recently here:
http://www.reuters.com/newsArticle....RBAELCFEY?type=technologyNews&storyID=3572282
so you
might want to start thinking about the future.

You can get the Sun Java J2SE RunTimes or SDK here:
http://java.sun.com/downloads/index.html (all versions - select using
the dropdown)

Sun also offers an automatic download and install of the 1.4 Java
plug-in here: http://java.sun.com/getjava/download.html



For the MS Java VM, you may need to install v.3809 prior to upgrading
to v. 3810 if you didn't previous have MS Java v. 3805 or 3809
installed.

If your OS is Win2000 SP2, SP3 but NOT SP4 then you can download and
install the MS Java VM v. 3809 from here:
http://download.windowsupdate.com/m..._510A502BA8F9B6F19230BB2BCCE87D5474AC9DCD.exe
or here:
http://www.biologylab.awlonline.com...icrosoft.Q810030_W2K_SP4_5849/Q810030_W2K.exe

For Win2000 SP4, you'll need to re-install v.3805, from here:
http://www.nhyrvana.com/files/pop.cgi?file=win2kmsjavx86.zip It will
download as Pop.zip. Just unzip it and then execute the resultant
msjavx86. This is the only version that I know of that will re-install
under SP4.

For all other OS's:

Download and install the MS Java VM v. 3809 from one of the links here:
http://www.nhyrvana.com/files/pop.cgi?file=3809.exe (it will be named
pop.exe), or here:
http://www.biologylab.awlonline.com...XP/com_microsoft.javavm_3809_5853/msjavwu.exe,
or here:
http://secinfo.huji.ac.il/patches/Win-xp/msjavwu.exe


Then upgrade to v. 3810:

For all OS's except Win2k, obtain v. 3810 here:
http://fileforum.betanews.com/detail.php3?fid=1050022631

For all versions of Win2k - SP2, SP3 or SP4 - obtain v. 3810 here:
http://download.microsoft.com/downl...-9b18-423356321682/Q816093_W2K_SP4_X86_EN.exe

Both Java VM's can co-exist on your machine quite nicely. Just select
which one you want to use in Tools|Internet Options|Advanced and restart
all IE browsers. Here, courtesy of Michel Gallant, MVP Security, is a
tiny utility which allows you to toggle and view status of your current
Java VM vendor associated with IE:
http://pages.istar.ca/~neutron/SelectIEJVM

A note from Mitch Gallant:

"One note about the JVM Selector utility:
If/when you install a new version of Sun J2SE, you need to manually
select to have Sun JVM as default JVM for IE (in install), or after
install
via the JavaPlugin control panel. This generates the necessary win32
registry
entries, which must be present for the utility to know about JavaPlugin.
After that, the utility should work properly."



--
Please respond in the same thread.
Regards, Jim Byrd, MS-MVP



In
 

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