Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Win XP not recognizing Sun's Java VM

Status
Not open for further replies.

bromberg

Programmer
Oct 14, 2002
24
0
0
US
I have Win-XP/Home edition and just successfully un-installed Microsoft's Java VM via the Control Panel. My intent was to replace MS's VM with Sun's (1.4.01) VM that I downloaded and installed. An applet that successfully ran with MS's VM now does not run. I'm sure my Sun VM install was successful but for whatever reason (and this is my question) XP cannot locate the new Sun VM.
I did update my path (via the Control Panel) to point to my bin directory (set path=C:\j2sdk1.4.1_01\bin) and when I do the path command in a DOS window it confirms this is my path.

So how can I get Win XP (Service Pack 1 NOT installed) to recognize my new Sun VM? Or if I must, how may I restore the Win XP VM I uninstalled? (As I understand it, MS will no longer provide a download of it's VM due to the recent judgement that Sun won).

Thanks much,
Danny
 
If you go to Internet Explorer, under Tool -> advanced, there should be an option to enable the Sun Java Plugin. If not, you can do the same thing by starting the Java Plug In from control panel, and then making it the default plug in for Internet Explorer.

 
Egobbitz:

The option you suggested is already checked on my IE panel as you described. In fact, I have no problem compiling and executing a java program from a DOS window (ie, XP does find my bin directory where javac.exe & java.exe reside, which tells me that my PATH statement is just fine). I guess what's baffling me is when I click on an html file that contains java in it I get an error message stating I don't have a Java VM installed. For example, I downloaded this tiny applet at:
which produces the " NO VM' error message on my home XP PC but works ok at my NT work PC. Also, before I uninstalled the MS Java VM from my XP this applet worked fine as well. Something in that uninstall seems to be confusing XP now.

Thanks,
Danny
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top