If you are on Windows, note that when you run the program, it will tell you if you have not run it with administrator privileges. This is not discussed above.
What it means is that you need to open the command prompt with admin privileges, and then run the command above.
To open the command prompt as admin, click Start>Programs>Accessories and before selecting "Command Prompt", right-click on it, and choose "Run as administrator". If you are prompted to permit that, do so, and then run the commands above to perform the update.
When I open up a command prompt and type in "java -jar cf10_mdt_updt.jar" it tells me that. "Java is not recognized as an internal or external command, operable program or batch file." What must I do to get this command to run from the command prompt? TIA. Andy
That means the java command is not in the “path” on your machine. You could fix that, but the easier thing (for this one-time need) would be just to point to the Java command as it’s installed within CF.
So you could do this instead:
C:\ColdFusion10\jre\bin\java -jar cf10_mdt_updt.jar
This tells your OS to find the Java command as installed within CF (the path offered assumes you’re on Windows, of course. *nix users will need to change it accordingly.)
This is also presuming (as your command below is) that you are already in the directory where the jar file exists. If not, use the CD command to get to that directory. For more info, use HELP CD.
Hope that’s helpful.
Message was edited by: Charlie Arehart, changed dash used for -jar to not use an emdash (–), as was placed here by a WYSIWYG typing autocorrection.
This is all well and good, but my server does not have access to the internet to get the updates. Other than setting up another server connected to the internet, what options do I have to get updates?
Donald, these comments above (which you're replying to) are responding to a different question than you're asking.
The good news is that your concern has been addressed, on the "preceding" page of the CF docs (where you have commented here.)
See a comment I'd offered, foreseeing your very concern on the page which initially discusses downloading the updates (this page here is subsequent to that). There I offer both a URL you can use to download the updates from any machine using any browser, and a link to still more information on this and other matters about the updater:
Hope that helps others who may find only this page, for some reason (perhaps in a google search for some text that does not find the preceding page in the docs).
When I run the hf I get the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: ûjar
Caused by: java.lang.ClassNotFoundException: ûjar
at java.security.AccessController.doPrivileged(Native Method)
Could not find the main class: ΓÇôjar. Program will exit.
OK, I have the solution, but I want to explain also how I got to it, in case that may help some readers.
If you look at the error message you reported, note that it says:
“Exception in thread "main" java.lang.NoClassDefFoundError: ûjar”
The fact that it was complaining about ‘exception in thread “main”’ was the clue that told me you are not running with the -jar option.
But in that you are saying you DID use it, I see on closer inspection of that error message that it’s saying it’s not finding “ûjar”. Ah.
So now I would suspect that you have copied the command from some web page, where the dash before jar was converted somehow into an em-dash (–), which often happens with wysiwyg editors trying to “help”. That em-dash would be a problem, as Java doesn’t recognize it like a dash.
So try your command again, with that corrected, and let us know if this helps. (And if you can note where you got the command line from , we might be able to see that it gets edited. If it was my first reply in the forum thread here, I have just modified it and a later one I did.)