Unable to search within .java files on windows xp
windows Search can't seem to find things in my .java files (like grep) on my Windows XP machine.
Here's what I do: In the windows explorer, I select a folder which has some .java files beneath it, and I select Search off the folder's popup menu. That brings up a dialog that lets me name to file to search for, and also a word or phrase in the file. I enter filename of "*.java" and it finds all the *.java files OK, but if I also enter a value in the "word or phrase in the file" field and do a search, then it always says "0 files found" (I enter a word that I know is in some of the java files). Search finds words OK in .html or .txt files, but not in .java files. Weird.
Is there some setting in the windows registry that affects how searches are done in .java files?
Follow the instructions in this article. I've runinto
the same thing, and the solution works.
http://support.microsoft.com/default.aspx?scid=kb;EN-US
Q309173Thank you. It now works for me too.
PC�Great! Glad at least someone (ok, 2) stopped by to say thanks. OP, hello? Geez, you even put up the 10 dukies as if this is important to you.
Similar Messages
-
How to run .java file in windows ?
How to run .java file in windows without installing any program? Thx!
First, U must make sure that there is JDK on your computer
Then, set the envionment variables which the os can find your compiler and interpreter: javac java
after those, you must complie your .java file to .class file, then you can excute it by java, for example " java helloworld" -
How to search within excel file?
Hi
I have following requirement:
A document library will have an excel file with around 10,000 rows. It will have one column as a primary key column. Column name is: Request ID
A SharePoint site will have a page with text box and button. Users will enter Request ID in text box and click on button. Page division will display all the data from excel file associated with that Request ID
I have tried using Infopath for this but Infopath fails running when item count increases. Here it is not possible. Uploading the data to SP list is also not possible because of many reasons like list item threshold or reporting methods(excel file will be
uploaded on daily basis by some different team).
How can I perform this search task in SharePoint? Is there a way by which we can search within excel file. May be something like - using excel services in CEWP or using filter web part and excel web access web part together on one page.
Thanks in advance for any help.
Regards
PratimaI got solution for this.
Create an excel file with as much as vlookup values. In excel it is possible to refer any file in vlookup. Lookup with Request ID and retrieve all the required values. Let the name of this file be: SearchBook.xlsx. Upload it to SP site.
Create an InfoPath form to have a front end. Connect this form to excel file SearchBook.xlsx using SOAP web service.
Create two more data connections to set cell value and read cell value. Using these data connection set value of cell with the entered Request ID and read corresponding lookup values. Display it to the Infopath form.
This solution perfectly works. And it is very very very less time consuming. For me it returns the result in 1-2 seconds for around 5k records in excel file. -
How to create java files into windows applications i,e. exe files
I been trying to convert my java files to exe files, but i have been reading a lot of webpages speaking of writing a code in c++ source code,
any easier way to do it.Add your java compiler to the windows path.
Hie thee to a run terminal! Enter
javac filename.java
then enter
java filename
And your program will work.I believe the OP is rather about creating a windows executable out of his application (jar).
@OP If there is an easier way to do this, i must have missed it. Haven't searched thoroughly though. Gave it up as it looked complicated enough. -
REP-0118 Unable to create a temporary file in "Windows 7 "
We are using Report Builder Version 6.0.8.24.0 and Windows7 32 bit operating system, here
While Running a Report through form i am getting this below
error.
REP-0118 Unable to create a temporary file*
But while running the same report in a windows 98 or windowsXp PC
i dont get this error.
What might be the problem.
pls advice the solution....
thanks in Advance...
Stalin...try this..
REP-118: Unable to create a temporary file.
Case 1: The environment variable that determines in what directory to create temporary files is set to an invalid directory.
Case 2: There is not enough free space on the disk to create the temporary file.
Case 3: A temporary file that cannot be modified already exist
In regedit under branch hkey_local_machine/software/oracle/<oracle home>
I have changed the variable REPORTS_TMP. I changed the value for this to c:\reports_tmp
or you can use something like this where you want Oracle reports to create temp files. Hope this helps -
Incremental search in java files
Hi,
i m supposed to write an application for Incremental Search in the Java Files.
it is such that, u type a word, then go on hitting any spl key as F3..it should take u to the every next occurance of the word in the current file and highlight it....
any one who has done b4, doing or knows abt this ......
plzzzz hlp me..
thanx in adv
SKHi,
Just giving you an idea to solve this, but implementation of this depends on your hardwork.
We can use Threads concept here. Use a integer variable, which is a global and is used later.
Now TWO java threads are activated.
One of the thread will constantly pool the Standard Input device for desired key value. Once it gets the desired key press value it will increment the integer variable.
The Second thread will serve as the searching thread. This will contantly check the value of the integer variable and the search string variable. If the integer value is more than 0, then this thread will run a methos which will point to the next occurance of the search word. After this it will decrement the value of the integer variable.
You may need to use Synchronization concept also in this when it comes to integer variable.
Hope this idea helps.
Do let me know once u implement the solution.
Cheers. -
Unable to compile Pro C file in windows
Hi
I have installed oracle 11g rel1 in windows XP. But the problem is i am unable to compile Pro C file to produce executable. It is able to convert pro c file to .c file. But not able to produce any executable. My installation did not installed pro c GUI either. nor any demo file of pro c is available under precomp/ folder. Has this installation gone wrong or how can i produce executable?
Thanks
Sasy dont u try this...i m not sure if its a right way to do things, but seems like it can work
$ORACLE_HOME/bin/proc test.pc
cc -I${ORACLE_HOME}/precomp/public -c test.c
do : find /cisa -name "*clntsh*" -print
say u get sumthing lyk this
$ORACLE_HOME/lib32/libclntsh.so.10.1
// instead of this:
cc -o test test.c -L $ORACLE_HOME/lib -lclntsh
write:
cc -o test test.c -L $ORACLE_HOME/lib $ORACLE_HOME/lib32/libclntsh.so.10.1
so u r directly refering to the library while linking -
Error when run java file on windows 7 64bit
unexpected failure: Error:Only x32 JVM supported
java.io.IOException: Error:Only x32 JVM supported
at com.adobe.air.ipa.IPAOutputStream.addInitialContent(IPAOutputStream.j
ava:142)
at com.adobe.air.ipa.IPAOutputStream.addFile(IPAOutputStream.java:96)
at com.adobe.air.ADTPackager.createPackage(ADTPackager.java:47)
at com.adobe.air.ADT.run(ADT.java:176)
at com.adobe.air.ADT.main(ADT.java:141)
can anyone help with the error please ?Hi thanks your replies I have uninstalled jre-6u20-windows-x64 again and I open the 32 bit version of IE8 and went to the java.com ran the installation checker and is recommended re-U-windows-I-gift-rv I have already downloaded this app and installed. B ut I still tried to install it and the installation process say its already installed. I ran the test applet and everything works fine.
When I run the java file from cmd
java -jar fai-packager.jar -package -target ipa-test -storetype pkcs12 -keystore c:/project/iphone_dev.p12 iLife.ipa c:/project/iLife-app.xml -C c:/project/ iLife.swf -C C:/project/icons . -C C:/project Default.png
I get this error message
'java' is not recognized as an internal or external command,
operable program or batch file.
The only way I can get the java to run is by installing the jre-6u20-windows-x64 update -
Unable to compile the Java Files generated by JAXB
Hi,
I have generated the Java Files for a DTD and .xjs file using JAXB. But when i tyr to compile the .java files generated i am getting errors.
My DTD file is addctq.dtd
<?xml version="1.0" encoding="UTF-8"?>
<!ELEMENT AddCtq (Ctq*)>
<!ELEMENT Ctq (PartNumber ,PartDescription,CtqDescription,CtqType,ProductLine,Supplier,Ppctq,Ctp,Ctc,CtqCode1,CtqCode2,CtqCode3,Commodity,SubCommodity,UnitOfMeasure,Client,SamplingFrequency,Remarks,VariableData)>
<!ELEMENT VariableData (SubGroupSize, Specification,Nominal,Usl,Ual,Lal,Lsl,Zal,RangeVal?,RangeAlarmVal?)>
<!ELEMENT PartNumber (#PCDATA)>
<!ATTLIST PartNumber new CDATA #REQUIRED >
<!ELEMENT PartDescription (#PCDATA)>
<!ELEMENT CtqDescription (#PCDATA)>
<!ELEMENT CtqType (#PCDATA)>
<!ELEMENT ProductLine (#PCDATA)>
<!ELEMENT Supplier (#PCDATA)>
<!ELEMENT Ppctq (#PCDATA)>
<!ELEMENT Ctp (#PCDATA)>
<!ELEMENT Ctc (#PCDATA)>
<!ELEMENT CtqCode1 (#PCDATA)>
<!ELEMENT CtqCode2 (#PCDATA)>
<!ELEMENT CtqCode3 (#PCDATA)>
<!ELEMENT Commodity (#PCDATA)>
<!ELEMENT SubCommodity (#PCDATA)>
<!ELEMENT UnitOfMeasure (#PCDATA)>
<!ELEMENT Client (#PCDATA)>
<!ELEMENT SamplingFrequency (#PCDATA)>
<!ELEMENT Remarks (#PCDATA)>
<!ELEMENT SubGroupSize (#PCDATA)>
<!ELEMENT Specification (#PCDATA)>
<!ELEMENT Nominal (#PCDATA)>
<!ELEMENT Usl (#PCDATA)>
<!ELEMENT Ual (#PCDATA)>
<!ELEMENT Lal (#PCDATA)>
<!ELEMENT Lsl (#PCDATA)>
<!ELEMENT Zal (#PCDATA)>
<!ELEMENT RangeVal (#PCDATA)>
<!ELEMENT RangeAlarmVal (#PCDATA)>
and the .xjs file i created is addctq.xjs
<?xml version="1.0" encoding="UTF-8" ?>
<xml-java-binding-schema version="1.0-ea">
<options package="com.geindustrial.sqms"/>
<element name="AddCtq" type="class" root="true">
<content>
<element-ref name="Ctq"/>
</content>
</element>
<element name="Ctq" type="class">
<content>
<element-ref name="PartNumber"/>
<element-ref name="PartDescription"/>
<element-ref name="CtqDescription"/>
<element-ref name="CtqType"/>
<element-ref name="ProductLine"/>
<element-ref name="Supplier"/>
<element-ref name="Ppctq"/>
<element-ref name="Ctp"/>
<element-ref name="Ctc"/>
<element-ref name="CtqCode1"/>
<element-ref name="CtqCode2"/>
<element-ref name="CtqCode3"/>
<element-ref name="Commodity"/>
<element-ref name="SubCommodity"/>
<element-ref name="UnitOfMeasure"/>
<element-ref name="Client"/>
<element-ref name="SamplingFrequency"/>
<element-ref name="Remarks"/>
<element-ref name="VariableData"/>
</content>
</element>
<element name="VariableData" type="class">
<content>
<element-ref name="SubGroupSize"/>
<element-ref name="Specification"/>
<element-ref name="Nominal"/>
<element-ref name="Usl"/>
<element-ref name="Ual"/>
<element-ref name="Lal"/>
<element-ref name="Lsl"/>
<element-ref name="Zal"/>
</content>
</element>
<element name="PartNumber" type="value">
<attribute name="new"/>
</element>
<element name="PartDescription" type="value">
</element>
<element name="CtqDescription" type="value">
</element>
<element name="CtqType" type="value">
</element>
<element name="ProductLine" type="value">
</element>
<element name="Supplier" type="value">
</element>
<element name="Ppctq" type="value">
</element>
<element name="Ctp" type="value">
</element>
<element name="Ctc" type="value">
</element>
<element name="CtqCode1" type="value">
</element>
<element name="CtqCode2" type="value">
</element>
<element name="CtqCode3" type="value">
</element>
<element name="Commodity" type="value">
</element>
<element name="SubCommodity" type="value">
</element>
<element name="UnitOfMeasure" type="value">
</element>
<element name="Client" type="value">
</element>
<element name="SamplingFrequency" type="value">
</element>
<element name="Remarks" type="value">
</element>
<element name="SubGroupSize" type="value" convert="int">
</element>
<element name="Specification" type="value">
</element>
<element name="Nominal" type="value" convert="float">
</element>
<element name="Usl" type="value" convert="float">
</element>
<element name="Ual" type="value" convert="float">
</element>
<element name="Lal" type="value" convert="float">
</element>
<element name="Lsl" type="value" convert="float">
</element>
<element name="Zal" type="value" convert="float">
</element>
<element name="RangeVal" type="value" convert="float">
</element>
<element name="RangeAlarmVal" type="value" convert="float">
</element>
</xml-java-binding-schema>
When i ran the xjc , it generated 3 .java files
AddCtq.java , Ctq.java and VariableData.java
But i am unable to compile any of the above files...
The Error i am getting is
VariableData.java:710: Undefined variable or class name: AddCtq
return AddCtq.newDispatcher();
^
1 error
If i try to compile AddCtq.java , the Error i am getting is
AddCtq.java:4: Class com.geindustrial.sqms.Ctq not found in import.
import com.geindustrial.sqms.Ctq;
^
AddCtq.java:169: Class com.geindustrial.sqms.Ctq not found.
if (!(ob instanceof Ctq)) {
^
AddCtq.java:170: Class com.geindustrial.sqms.Ctq not found.
throw new InvalidContentObjectException(ob, (Ctq.class));
^
3 errors
And when i try to compile Ctq.java , i am getting the following Error:
Ctq.java:4: Class com.geindustrial.sqms.VariableData not found in import.
import com.geindustrial.sqms.VariableData;
^
1 error
How to solve this problem..Pls advise...
Thanks
SateeshI suspect you are trying to compile the files one by one. You may also be trying to compile them disregarding the package structure.
From your post, I gather these files are in the package: com.geindustrial.sqms
Therefore, if they are not so already, put them under a directory structure:
com/geindustrial/sqms
and then compile with:
javac com/geindustrial/sqms/AddCtq.java com/geindustrial/sqms/Ctq.java com/geindustrial/sqms/VariableData.java
(The above is all on one line.)
HTH,
Manuel Amago. -
How to compile .java files in windows server
Hi All,
I want to compile my CO.java file in server directly how can i do that my server is windows server
If it is Linux i can login through putty and go to java top and then file location then i use to do javac filename.java then i use to get filename.class but now same thing i did in windows server which is not working please sugget how to do its bit urgent.Why do you want to compile it on the server and not in jdeveloper? You should be able to issue the javac command from the prompt. Your unix account must have permissions to that command though.
For more info on the javac command:
http://download.oracle.com/javase/1.4.2/docs/tooldocs/windows/javac.html
Kristofer Cruz -
Unable to create a catalog file for Windows 10 Enterprise (9926) using latest ADK
Has anyone successfully created a catalog file for Windows 10 Ent. Preview build 9926? Ii get persistent failures attempting to do so. Log output is below and any hint would be greatly appreciated.
7:20 AM : This application requires version 6.3.9600.16384 of the Windows ADK.
Install this version to correct the problem
7:33 AM :
7:33 AM : Windows SIM was unable to generate a catalog. For troubleshooting assistance, see the topic: 'Windows System Image Manager Technical Reference' in the Windows ADK User's Guide.
7:33 AM :
7:33 AM : System.ComponentModel.Win32Exception (0x80004005): Unknown error (0xc1420117)
Server stack trace:
at Microsoft.ComponentStudio.ComponentPlatformInterface.WimImageInfo.PostCreateCatalog()
at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageInfo.CreateCatalog()
at Microsoft.ComponentStudio.ComponentPlatformInterface.CatalogCreatorImpl.CreateCatalog(OfflineImageInfo offlineImageInfo)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.ComponentStudio.ComponentPlatformInterface.ICatalogCreator.CreateCatalog(OfflineImageInfo offlineImageInfo)
at Microsoft.ComponentStudio.CatalogGenerator.CreateCat(ProgressDialog pd, Object o)Hello,
The Windows Desktop Perfmon and Diagnostic tools forum is to discuss performance monitor (perfmon), resource monitor (resmon), and task manager, focusing on HOW-TO, Errors/Problems, and usage scenarios.
As the question is off topic here, I am moving it to the
Where is the Forum... forum.
Karl
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
My Blog: Unlock PowerShell
My Book:
Windows PowerShell 2.0 Bible
My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}}) -
Unable to unzip oralce 11g files in windows(32 bit) xp sp2
Database Installation
i tried to unzip oracle 11g version 2 using 7zip and winzip 15.5..i tried with winrar too...
WHEN I RIGHT CLICK AND TRY EXTRACT HERE OPTION with all the softwares i am getting errors as "UNEXPECTED END OF ARCHIVE","UNABLE TO OPEN THE FILE"..
IF I OPEN THE FILE IN ARCHIVE AND CLICK EXTRACT i get error as "THE ARCHIVE IS IN UNKNOWN FORMAT OR DAMAGED.."
i downloaded 11g version 1 and 2 from oracle site itself..but i faced the same problem with both..
i couldnt extract both the files where as i am able to extract any other files on my computer...
why am i facing problem with only these files????865053 wrote:
Database Installation
i tried to unzip oracle 11g version 2 using 7zip and winzip 15.5..i tried with winrar too...
WHEN I RIGHT CLICK AND TRY EXTRACT HERE OPTION with all the softwares i am getting errors as "UNEXPECTED END OF ARCHIVE","UNABLE TO OPEN THE FILE"..
IF I OPEN THE FILE IN ARCHIVE AND CLICK EXTRACT i get error as "THE ARCHIVE IS IN UNKNOWN FORMAT OR DAMAGED.."
i downloaded 11g version 1 and 2 from oracle site itself..but i faced the same problem with both..
i couldnt extract both the files where as i am able to extract any other files on my computer...
why am i facing problem with only these files????Oracle Database 11g Release 2 (11.2.0.1.0) for Microsoft Windows (32-bit)
win32_11gR2_database_1of2.zip (1,625,721,289 bytes)
win32_11gR2_database_2of2.zip (631,934,821 bytes)
Directions
1. All files are in the .zip format. There is an unzip utility here if you need one.
2. Download and unzip both files to the same directory.
3. Installation guides and general Oracle Database 11g documentation are here.
4. Review the certification matrix for this product here.
refer the linK:-http://www.oracle.com/technetwork/database/enterprise-edition/downloads/112010-win32soft-098987.html
as mentioned earlier, check size of the download zip file with above mentioned bytes. else try to download again.
while downloading, do not pause the download in the middle and continue it will corrupt the oracle software.
if you use any download manager dont pause/stop.
Good Luck. -
Lion - unable to read old leopard files on windows server
Hi,
We had a mac which was on Leopard and saved files to the server
The file system we use is a Windows 2008 File Server, this has worked fine with leopard for years
However I understand that Leopard splits the files into resource forks - and that Lion has dropped support for these files.
That particular mac is now on Lion as we upgraded and encountering LOTS of issues
I unable to open or edit lots of the files as i believe chunks of the files are missing.
E.g an .eps file showed as 740KB on leopard - Viewing from a windows PC it was 730kb for the .eps and 10kb for the ._ resource fork.
Now that we are on the LION upgrade, we only see the .eps file and it is only 730kb. Information missing is things such as preview (quark), Font data, type of file, version number
Is there anyways to fix this? we have hundreds! of images, files etc created with leopard and now upgraded to lion they all have become useless!
Rejoining the resource forks and files together so that they are usable on lion
ThanksYou installed the Developer Tools and ran the command line utility fixupresourceforks?
I would think that would work. Can maybe try this as well:
Check to see if the file is already created and if not create it using the first line using touch. If file is already there just run the other two lines following the touch command line:
sudo touch /etc/nsmb.conf
sudo echo "[default]" > /etc/nsmb.conf
sudo echo "streams=no" >> /etc/nsmb.conf
If you have slow browsing and issues create or renaming folders add:
sudo echo "notify_off=yes" >> /etc/nsmb.conf
Then re-connect to server shares or reboot and connect to shares again. -
Unable to view camera RAW files on Windows 7 and CS4 - Have tried updates
All working OK until 8 days ago, then bridge just disappeared completely. Looked like it had opened but would disappear when I clicked on the icon. Re-installed, Bride now visable but unable to view .CR2 files in camrea RAW or in Photoshop, comes up as "unable to open". Have tried to install the 5.7 camera raw update, extract files, click on application, then photoshop opens and advises "invalid file type". Not sure what to do now and have a large number of weddin files slowly building up .... PLEASE HELP!!
When something works one day, but not the next, then something has changed. The task is to find out what that is.
Have you installed new hardware?
Have you installed new software?
Have you had any major updates installed?
Those are but a few things to ponder.
You might want to create a new System Restore Point (on a PC) for today, and then boot to Safe Mode, choosing System Restore, and choose a point, from at least 8 days before. Reboot, when prompted, and test. At the least, you have only lost a few minutes, as you can Restore to today's System Restore Point. The Mac has something called Time Machine, and I would think that it could do similar, but just do not know, as I am a PC-only guy.
Good luck,
Hunt -
There is a clash with Windows 7 and Firefox that prevents one opening files and folders.
Hi Dollie,
I am wondering whether you want to upload multiple documents into SharePoint library once.
If yes, you can try to use Drag and drop feature in SharePoint 2013 to upload multiple documents into SharePoint library.
More information about Drag and drop feature, you can refer to:
http://www.sharepointanalysthq.com/2012/12/drag-and-drop-in-sharepoint-2013/
Thanks,
Wendy
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected]
Maybe you are looking for
-
hi i am very much know for the data loading but am new towards reporting issues after loading for bi finance can any body tell me what would be the procedure to further on next step and more over i am phasing one problem in sapbi finance support i.e
-
I have recently purchased a wireless router from netgear (model # wpn824) and I am unable to connect to it wirelessly. I can connect if I'm plugged directly into the router, but not using air port. Actually, I'm not able to open up my web browser (I
-
Windows 8 add features not found
To install Windows media center I need a product key and to add the feature. Finally I've got the key but the search for "add feature" only brings up "Turn windows features on or off". Is there another step that I'm missing?
-
Android Studio SDK Manager Won't Start
I download the newest version of Android Studio from Google. You know there's something wrong to install it from AUR in China. But when I click the SDK Manager button in Android Studio, the Manager does not start. And then I go to the "android-studio
-
Can any one please help/advise on nsolution if any. My HP Officejet J6410 All-in-One has stopped working. None of the keys on the panel are lit including the power on/off button however there is power to the printer as the UV light is illuminated whe