Add Site or Add Page to Favorites
>

 Java on Windows 

Preview DRM-free music
Play clips of the most popular DRM-Free music in MP3 format
Legal Music .com

Get information on your favorite TV Shows at TV Series .com

Clarify the meaning of the acronyms on your web site.

Acronym Dictionary

Acronym Finder

Social Networking Web Sites

Register your own domain name at A to Z Domains.

or buy domains at Domain Names For Sale .net


Printer-friendly PDF* format:

Java on Windows

This Section

Searching Java files on Windows

In late June 2002, Microsoft announced that "its [Windows] operating systems will no longer support [the] Java programming language." One of the consequences of this "desupport" of Java by Microsoft is that, starting with Windows XP, the Search Companion in the operating system, as supplied by Microsoft, will no longer search files with certain extensions, such as Java source code files, which end with .java. For example, if you search for the word package, which appears near the beginning of almost every Java source file, the Search Companion will find it only if it is part of the file name.

To fix this "feature" requires a change to the Windows registry that is described in a Microsoft Knowledge Base article. The registry changes can be made with a file that contains the following data:

FixSearchForJavaFiles.reg

                        Windows Registry Editor Version 5.00
                        

[HKEY_CLASSES_ROOT\.java]
"PerceivedType"="text"

[HKEY_CLASSES_ROOT\.java\PersistentHandler]
@="{5e941d80-bf96-11cd-b579-08002b30bfeb}"

Any other file extensions that are being skipped can be fixed in the same way simply by replacing both instances of .java with the extension to be fixed.

Double click on the file name to run it and update the registry, or else execute it using the regedit command:

                        regedit FixSearchForJavaFiles.reg
                        

Last updated Wednesday November 22, 2006

You are currently viewing this page in HTML 4* format (* see Clicklets for more infomation). This document is also available in XHTML 1 Style Sheet*XHTML 1* XML*HTML 5 Style Sheet*HTML 5 XML*HTML 5 non-XML* XHTML 2* XHTML Mobile* WML Mobile* and printer-friendly PDF* formats. This is accomplished with Single Source Publishing, a content management system that uses templates in XSLT style sheets provided by XML Styles .com to transform the source content for various content delivery channels. There is also RDF* metadata that describes the content of this document.


Copyright © 2006 How To Guides .com. Alteration of content, including addition of any function such as hypertext links or pop-up advertising, or interference with the hypertext links or other functions of this site is expressly prohibited.

DISCLAIMER: All information, links, forms, applications and other items on this site or obtained from it are provided AS IS, WITHOUT WARRANTY OF ANY KIND EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.