Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Java/Xampp/Vista not playing nicely

Cannot operate java scripts on local server


RedRat Chris

10:02 pm on Jan 9, 2009 (gmt 0)

5+ Year Member

Hi everyone. I sure need some help please. I am heavily dependent on using my local server for site development before uploading to the remote server and have been doing so happily for some time with no issues. This all went belly up two days ago and I don't know why.

I use a lot of Ajax, MooTools, etc., in my designs and can usually test these with full functionality without any problems. Suddenly, whilst the server is working fine, the local java is broken and not functioning on my machine. Viewing and using remote java with fully functionality is absolutely fine. All very odd.

So far I have tried the following:
1. Updating Java
2. Updating Xampp and componants
3. Rolling back Vista using System Restore
4. Reverting to the factory java installation that came with my machine and worked fine.

I have also checked that Java is running and my system sais it is although it acts as if it is not.


Java 6 (build 1.6.0_11-b03)
Xampp using Apache HTTPD 2.2.11 + Openssl 0.9.8i and PHP 5.2.8
Vista Home Premium Service Pack 1

I am now desperate to resolve this quickly because I am getting behind with my work so hope that someone may be able to help.

My regards,


RedRat Chris

7:10 am on Jan 10, 2009 (gmt 0)

5+ Year Member

This is resolved.


4:15 pm on Jan 10, 2009 (gmt 0)

5+ Year Member

What was the issue? Just for the record...

RedRat Chris

4:55 pm on Jan 10, 2009 (gmt 0)

5+ Year Member

Hi methode. I'm terribly sorry.....I should have left those details but was on the move so didn't have enough time earlier.

Right, well it's very odd indeed and nothing in my experience had prepared me for this little surprise. The problem was caused without my realising when I mass copied a whole host of unzipped apps (over 60MB) from my main repository over to htdocs in Xampp. Vista literally stripped out all the Java code during the process and had me running around like a headless chicken trying everything but dealing with the cause.

So I updated, reverted and generally checked everything possible, all the usual suspects without the remotest idea what had actually gone wrong. A lot of my time was spent searching the internet for info regarding the problem but I found nothing.

Anyway, having eliminated absolutely everything I could think of, I finally decided to do what I should have done first of all; that is to check to see whether the Java had been stripped out. Lo and behold it certainly had been well and truly gutted, which discovery was much to my immense relief.

To make absolutely certain nothing similar happened I went to the extent of deleting everything from the htdocs/test folder and copied over all of the original .zip files so that I could unpack them directly into that folder. It went like clockwork and I'm back up and running.

Hmmmmmmmm.......I'm now starting to worry about Vista. I would never have imagined this was possible but that's the story anyway. The funny thing is it all coincided with a Windows update approximately so I immediately jumped, incorrectly, to the conclusion that it was this that had somehow played a part so never even checked the detail. Talk about misleading one's self. lol :D


Chris :)

[edited by: RedRat_Chris at 5:02 pm (utc) on Jan. 10, 2009]


5:14 pm on Jan 10, 2009 (gmt 0)

5+ Year Member


Vista removing Java? That's more than weird. Why would have do that? I mean, what service would have do that? Defender? But is that an "always-on" service which checks files on-the-fly?

Don't get me wrong, I believe you, just find it very weird... yet interesting.

Thanks for posting it. Somebody will find it useful. At least next time somebody will search the net, it will arrive here through Google :)

RedRat Chris

5:49 pm on Jan 10, 2009 (gmt 0)

5+ Year Member

It certainly is wierd, methode. Blows my mind really. But I do run Defender continuously so this may have played a part. I just haven't had time to get to the bottom of it yet because I need to catch up lost time but I sure would like to know exactly how Vista behaved in that way. Very, very odd! :S

As you say about Google, someone may be helped by this explanation but I also hope someone will read it and shed some light on the matter. All the best. ;)


Featured Threads

Hot Threads This Week

Hot Threads This Month