Jump to content

Build Theme!
  •  
  • Infected?

WE'RE SURE THAT YOU'LL LOVE US!

Hey there! :wub: Looks like you're enjoying the discussion, but you're not signed up for an account. When you create an account, we remember exactly what you've read, so you always come right back where you left off. You also get notifications, here and via email, whenever new posts are made. You can like posts to share the love. :D Join 93098 other members! Anybody can ask, anybody can answer. Consistently helpful members may be invited to become staff. Here's how it works. Virus cleanup? Start here -> Malware Removal Forum.

Try What the Tech -- It's free!


Photo

Java Setup Problem


  • Please log in to reply
186 replies to this topic

#46 LDTate

LDTate

    Grand Poobah

  • Root Admin
  • 57,211 posts

Posted 07 September 2010 - 03:14 PM

LDT,

Thank you for the kindness of linking to the OP's successful use of Appleoddity's fine solution.
Much Appreciated.

Doug

:thumbup:

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 paypal.gif for the help you received.
 

Proud graduate of TC/WTT Classroom

 

    Advertisements

Register to Remove


#47 Punkrawks

Punkrawks

    New Member

  • New Member
  • Pip
  • 1 posts

Posted 16 September 2010 - 12:06 PM

While OP's solution is noble and works in a large majority of cases, I decided to expand upon it. I work for a large corporation and our support techs were running into a problem where Java would not update automatically - you would receive an error when clicking the auto-update icon on the toolbar. So we would go to Add/Remove programs - tediously remove all old versions, go to Java's website and download the latest version. All in all - this would be about a 15 minute process per machine. When you work with hundreds of users - 15 minutes per machine is a waste of time and money. So I developed my own process to combat Java install errors.

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 appleoddity

appleoddity

    SuperMember

  • Tech Team
  • 3,071 posts
  • Interests:Eating, Movies, Family, Church, Music, Volleyball, Softball, Poker, Computers, Electronics, Reading.

Posted 16 September 2010 - 01:41 PM

Hi Punkrawks. Welcome to the forum. We appreciate your contribution here.

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.

For safety reasons, the following listing is not the complete script and will not function as listed.
cd\
@echo
@echo
cd\
reg /?

@pause

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.
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 Wm./

Wm./

    New Member

  • New Member
  • Pip
  • 1 posts

Posted 26 October 2010 - 03:12 AM

The original bat file worked (W7 & Java 6;22) Rock & roll!

#50 ThotWorks

ThotWorks

    New Member

  • New Member
  • Pip
  • 1 posts

Posted 11 November 2010 - 02:34 PM

Thank you for taking the time to post the batch file that removes the spurious registry entries remaining when the std Windows installer is used to remove Java. If each of us contributes to the collective good as you have done we'll see a better world - even if we can't individually thank each and every anonymous scupltor...

#51 paws

paws

    Tech Team

  • Administrator
  • 6,088 posts

Posted 13 November 2010 - 02:07 AM

Thank you ThotWorks and welcome to the WTT forums, I think that appleoddity (who designed the fix) might agree with you 100% :thumbup: Regards paws
The help you receive here is free. If you wish to show your appreciation, then you may donate to help keep us online. http://www.whatthetech.com/donate

#52 jimkarl

jimkarl

    New Member

  • New Member
  • Pip
  • 1 posts

Posted 23 December 2010 - 06:49 PM

Had to register to reply to this thread and say THANK YOU!! Your fix worked perfectly. I will pay it forward!

#53 paws

paws

    Tech Team

  • Administrator
  • 6,088 posts

Posted 24 December 2010 - 02:00 AM

appleoddity (who designed the fix) will be pleased to hear that he has been able to help you with this problem. Thanks for registering and posting in...and of course a big welcome to the WTT forums. Regards paws
The help you receive here is free. If you wish to show your appreciation, then you may donate to help keep us online. http://www.whatthetech.com/donate

#54 thugflynn

thugflynn

    New Member

  • Authentic Member
  • Pip
  • 5 posts

Posted 29 December 2010 - 02:29 PM

Dude i really need your help i got tried to do the utility thing then that didnt work :/ after i tried java RA tool to remove all java stuff then after it finished i tried to install java and the error message kept coming and now i keep getting this message of a certificate which is also started after i started to use JAVA RA IF There is anything else you want to know please ask. please help this can help me from not getting reboot :pullhair:
what's up with those stereotypes....

#55 thugflynn

thugflynn

    New Member

  • Authentic Member
  • Pip
  • 5 posts

Posted 29 December 2010 - 02:33 PM

ahh yea and i tried you java fix thing and it gets an error saying: too many command-line parameters
what's up with those stereotypes....

    Advertisements

Register to Remove


#56 thugflynn

thugflynn

    New Member

  • Authentic Member
  • Pip
  • 5 posts

Posted 29 December 2010 - 02:37 PM

noo dude ignore my 2 last postssssssssssssssss it worked i tried again and it workds tahnks soooooooooooooooooooooooooooooooooooooooooooooo much mn love ya!
what's up with those stereotypes....

#57 paws

paws

    Tech Team

  • Administrator
  • 6,088 posts

Posted 29 December 2010 - 05:31 PM

Thats good to hear, well done.. :thumbup: appleoddity (who designed the fix,) will be pleased to hear it has helped you. Regards paws
The help you receive here is free. If you wish to show your appreciation, then you may donate to help keep us online. http://www.whatthetech.com/donate

#58 the_zedmeister

the_zedmeister

    New Member

  • New Member
  • Pip
  • 1 posts

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 paws

paws

    Tech Team

  • Administrator
  • 6,088 posts

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
The help you receive here is free. If you wish to show your appreciation, then you may donate to help keep us online. http://www.whatthetech.com/donate

#60 thugflynn

thugflynn

    New Member

  • Authentic Member
  • Pip
  • 5 posts

Posted 22 January 2011 - 12:09 PM

dude screwed up java again now the fix don't work please help :'(
what's up with those stereotypes....

Related Topics



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users