LDT,
Thank you for the kindness of linking to the OP's successful use of Appleoddity's fine solution.
Much Appreciated.
Doug
Java Setup Problem
#46
Posted 07 September 2010 - 03:14 PM
The forum is run by volunteers who donate their time and expertise.
Want to help others? Join the ClassRoom and learn how.
Logs will be closed if you haven't replied within 3 days
If you would like to for the help you received.
Proud graduate of TC/WTT Classroom
Register to Remove
#47
Posted 16 September 2010 - 12:06 PM
Copy and paste the following into notepad and create a .bat file out of it (if you don't know how - while saving it, name it fixjava.bat and change the drop down menu from "*.txt" to "all files".)
(.bat File removed pending review and approval)
You are now free to install the latest version of Java - error free. This .bat file will work for all Java versions - past, present, and future.
Takes a 15 minute manual install down to a 2 minute install.
EDIT:
Hi Punkrawks,
Thank you kindly for your thoughtful contribution.
WTT Forums does not allow .bat nor .reg files without prior review of Tech Team.
I'd imagine that you understand the reasoning.
The Forum Rule applies the same to un-reviewed application and utility software.
Our Techs will review and add comment, with hope that your contribution will add to the knowledge and utility of this Topic.
Best Regards
Doug
#48
Posted 16 September 2010 - 01:41 PM
I did review your batch file and do have a few issues with it.
First, while it may be useful to resolve other errors with Java, this particular thread is for the particular error stated in the first post. And, therefore, if you can resolve the other issues I am going to split this into a new thread.
Second, your batch file has several extras in it that are not needed and I wonder why they are there. This kind of shows some limited knowledge of the batch programming language and what is actually happening here. The following lines are listed as un-needed.
Third, not an issue, but if you are going to echo Deleting Files... you should echo it BEFORE you delete the files, then echo Files Deleted AFTER the files are deleted.For safety reasons, the following listing is not the complete script and will not function as listed.
cd\
@echo
@echo
cd\
reg /?
@pause
Fourth, because you used some of my code, it is actually invalid for a Windows XP system. Windows XP does NOT support the /f switch on the REG command and my script DOES NOT work on Windows XP. This is a known issue, and I have replaced the script with an actual executable file because the batch programming language is so severely limited. The executable has not been made publicly available.
Fifth, because you used my code, it will not work on all versions of java "past, present, and future" - it is only designed to work with Java 6.
Sixth, you can't safely delete the entire Javasoft registry key as you are doing. There are many Java products. Your problem is specifically with the Java Runtime. If you delete the entire JavaSoft folder you'll mess with other programs such as the Java Development Kit, etc. You can also not safely delete the entire Java program folder as this will also destroy other Java products. You can also not assume those products are installed on the C: drive in the Program Files folder. This is a dangerous portion of your script.
In order to endorse the batch file you'll need to address these issues, and then make a more specific post suggesting WHAT errors this batch file will resolve. Again, the batch file in the initial post of this thread is for a specific error. If your batch file is to be useful to others you'll need to list what ERROR it is meant to resolve so that other people can find it with google.
Thanks for the contribution, but we do have some obligation to make sure information provider to our readers is accurate and safe and does what it is intended to do.
Edited by appleoddity, 16 September 2010 - 07:04 PM.
The help you have been given is free. If you have been happy with our help please consider donating to support this forum.
If you would like to say thanks for the help I have given you please View My Profile and Leave a Comment.
Your encouragement is welcome.
#49
Posted 26 October 2010 - 03:12 AM
#50
Posted 11 November 2010 - 02:34 PM
#51
Posted 13 November 2010 - 02:07 AM
#52
Posted 23 December 2010 - 06:49 PM
#53
Posted 24 December 2010 - 02:00 AM
#54
Posted 29 December 2010 - 02:29 PM
#55
Posted 29 December 2010 - 02:33 PM
Register to Remove
#56
Posted 29 December 2010 - 02:37 PM
#57
Posted 29 December 2010 - 05:31 PM
#58
Posted 15 January 2011 - 08:37 PM
Created a universal fix for all versions of Java 6
This problem is confirmed in Windows XP, Windows Vista, and Windows 7.
Because the registry keys that need to be removed are different for each version of Java, I have created a batch file you can download to find and remove the entries automatically.
I just joined the forum to say THANK YOU for this.
#59
Posted 16 January 2011 - 02:10 AM
Created a universal fix for all versions of Java 6
This problem is confirmed in Windows XP, Windows Vista, and Windows 7.
Because the registry keys that need to be removed are different for each version of Java, I have created a batch file you can download to find and remove the entries automatically.
I just joined the forum to say THANK YOU for this.
Glad it did the trick for you, appleoddity's fix sure has helped a lot of folks.
Incidentally, welcome to the WTT forums, take a while to have a look around, there's plenty here!
Regards
paws
#60
Posted 22 January 2011 - 12:09 PM
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users