Computer Hope

Software => Computer software => Topic started by: jamzky on December 05, 2007, 02:55:12 PM

Title: java errors
Post by: jamzky on December 05, 2007, 02:55:12 PM
Hi
I'm having problem with Java. I keep having to download it and then it works for a while but when I turn of the comp (winXP) and reboot it it wont work again and doesnt appear on the bottom tray. Usual complaint that comes up is No Java Environment when I try use it. Can Java contain errors, viruses?  :( What can a man do?

Jamzky
Title: Re: java errors
Post by: Broni on December 05, 2007, 03:13:42 PM
What does it say, when you go here:
http://www.javatester.org/version.html
Title: Re: java errors
Post by: jamzky on December 05, 2007, 03:28:43 PM
Hi Broni

I went to that site u mentioned. It does not detect Java in the pink rectangle as it should eventhough I re-installed it few hours ago. I also tried the about:plugins method and got the following:

'several java virtual machines running in the same process caused an error'  ???

Title: Re: java errors
Post by: Broni on December 05, 2007, 04:05:33 PM
What Windows version?
Did you try to uninstall all Java instances in Add\Remove, and install fresh version?
What browser(s) are you using?
How is your security status?
Title: Re: java errors
Post by: ironman99011 on December 05, 2007, 08:59:35 PM
 Having much the same problem here, have removed and added fresh copy multiple times on winXP as well. Still have same errors "java runtime environment cannot be loaded" and "several virtual machines running in the same process caused an error"
 Tester on recommended site apparently did not work for me either....

 Running McAfee security center anti virus and firewall, have been for several years, problem is recent development in my situation. Had absolutely no problems for about 18 mo or so with same machine and set up. Lost for clues what to try next...
Title: Re: java errors
Post by: Broni on December 05, 2007, 09:14:42 PM
Does it happen when you're using Internet Explorer only?
Title: Re: java errors
Post by: ironman99011 on December 05, 2007, 09:23:09 PM
yes
Title: Re: java errors
Post by: ironman99011 on December 05, 2007, 09:24:46 PM
sorry, IE is the only browser I use, not sure of version though.
Title: Re: java errors
Post by: Broni on December 05, 2007, 09:26:15 PM
Try solution posted here:
http://support4.scriptlogic.com/kb/article.aspx?id=14997
You'll need to play with listed setting, because, as posted at this forum:
http://www.tabletquestions.com/internet-explorer/134258-java-runtime-environment-does-not-work-ie7.html
Quote
Thank you very much for your guidance.

The RAM of my desktop is 1024MB. I tried various Java Runtime Parameter
settings, -768, -512, -500, -300, -256 and -128. All did not work. By setting
it to -16m as you did, now Java can load on IE7 alright

Don't forget to put -Xmx in front of that number.
Title: Re: java errors
Post by: ironman99011 on December 05, 2007, 09:36:42 PM
 Thanks a lot, will have to try it another time, will post back with results.
Title: Re: java errors
Post by: Broni on December 05, 2007, 09:43:31 PM
OK.
I'd also download, and install Firefox to see if same thing will happen there.
Title: Re: java errors
Post by: ironman99011 on December 05, 2007, 09:44:34 PM
 1 last question if you don't mind, I have .99GB of RAM, what is the value I should start with. I am not sure of the MB to GB value translations.
Title: Re: java errors
Post by: Broni on December 05, 2007, 09:46:45 PM
It's listed as .99GB=990MB, so most likely, you have 1024MB. Start with 512MB.
Title: Re: java errors
Post by: ironman99011 on December 05, 2007, 09:52:29 PM
 Thanks again, will do.....tomorrow. Have a great evening.
Title: Re: java errors
Post by: Broni on December 05, 2007, 10:03:19 PM
Bring me good news :)
Title: Re: java errors
Post by: jamzky on December 06, 2007, 04:15:36 AM

Seems to work so far. I change the numbers if I need in Java Runtime Parametres as you mentioned. At least it can help. Let's hope that's the only problem with Java. I also uninstalled an earlier version and reinstalled latest.
Ok cool

Thanks Broni!
Title: Re: java errors
Post by: Broni on December 06, 2007, 05:14:43 PM
You're welcome. I'm glad, it worked.
Just for my future reference...what number worked for you?
Title: Re: java errors
Post by: ironman99011 on December 06, 2007, 06:56:49 PM
 Broni,
   I got my pages to load by changing the settings as suggested. I had to try a number of values though, got it to work when I got down to 150M.
  Any ideas on the reason for the error? Everthing worked fine for quite a long time and this problem just popped up one day.

  Thanks very much for the direction, I am an instant fan of this site....
Title: Re: java errors
Post by: Broni on December 06, 2007, 07:11:46 PM
Quote
Any ideas on the reason for the error?
I have no clue. I don't use IE at all, so all I got came from some searches, I did.
I'll definitely remember this solution, and I'm glad, it worked.
Title: Re: java errors
Post by: jamzky on December 07, 2007, 08:42:30 AM
I exactly halfed the -Xmx number in the Java toolbar and that did the trick. I also deleted older version.. if that helped I dunno.

Jam