Hi Doug, First we have to make sure there is no typo (cut and paste the command): The command should be: java -jar SpyderFilter.jar Neither java -spyderfilter.jar (as in your post) nor jar -jar SpyderFilter.jar (which can trigger the error you mentioned) Second we have to make sure that you have installed the Java runtime environment and follow any instructions they have. Can you run the command: java Does it print out this screen dump: Usage: java [-options] class [args...] (to execute a class) or java [-options] -jar jarfile [args...] (to execute a jar file) ... The jar file is not really an executable file like .exe. It is actually a ZIP file containing some java class files whose instructions the Java run time environment (java.exe) can interpret. Give me some screen dump (mark and paste with the upperleft icon in the command prompt window) and show me where your jar file is and what you enter to get this error. Trust me... you are very close.
hi all, been watching this thread/prev journal for some time and paper trading for a couple of weeks. did anyone have KNDL on their hotlist for today/tomorrow? I have it in DU today/tomorrow with a score of 0, which, to the best of my understanding makes it a top candidate, should lower band DU be exceeded. Just wanted to mention that I observed a head and shoulders pattern with a tripple top on the 3 month chart. I know that this doesn't figure into the system, but was curious as to what you make of this. Thanks, -Ben
I just want to make sure people got my bug fix (attachment the second time) because I see less people downloading the bug fix than the first file. Let me know if there is any problem running it. You can also PM me. Doug, did you look again?
martys, When I type in java at the cmd I get the output you asked about. When I cut and paste the cmd for your .jar, I get: "Unable to access jarfile SpyderFilter.jar" The files I am using are your latest and I have them on my desktop. TIA for your help, Doug
I think everything is OK now. java.exe cannot find the file in the current directory. I think if you do a dir command at the root directory, you don't have SpyderFilter.jar there. All you have to do is either copy the jar file to the root directory or change to whichever directory containing the jar file and run the same command. Let me know if it runs. I know command line can be confusing. I might add a GUI interface to this so people can point and click but I am too lazy. P.S. I like to use '*' wildcard to change directory with more than one word e.g. cd Doc* would be the same as cd "Documents and Settings" on my computer. Of course you can always specify the absolute path in the command: java -jar c:\xxx\yyy\SpyderFilter.jar if SpyderFilter.jar is located at c:\xxx\yyy e.g. java -jar "c:\Doc*\martys\My*\SpyderFilter.jar"
Doug, does the program run? Remember to hit an extra Enter key to end the input when running the program. You should see the words "Stock Data" when you end the input and the program goes out to the web to gather the data.
That did the trick. I should have known the .jar file had to go to the dir I was commanding from. Now if I rememeber how to do it, I could set an environment variable for it. Thanks for the help and thanks again for the prog; it worked very well. Doug
Double click the zip file downloaded to your desktop, it will show two files. Highlight both files and right click on them to chose copy. I believe you can just chose the one the left but it doesn't matter. Now go to your desktop and click MY Computer look for local disk C:, highlight and double click. Chose an empty space in the box that just appeared right click and chose paste. Close Boxes. Go to "run" in the start menu, type in"cmd". In the box that appears type in "cd c:\" You should only see C:\ Type spyderfilter command "java -jar Spyderfilter.jar" program should start. Cool program thanks Marty
You are welcomed. The only other thing I would watch out for is when you get negative numbers for avgVol and float. That would mean either they change the web page format or there is a typo for the stock symbol (symbol does not exist). But if the web page format changed, you would likely get other errors as well. I will update the source code when that happens.