Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Unable to reinstall Java

  1. #1
    Junior Member
    Join Date
    Sep 2013
    Thanked 0 Times in 0 Posts

    Default Unable to reinstall Java

    I uninstalled java (latest version) because I wanted to reinstall it outside the programs folder. I downloaded the installer and ran it...but it gave me an error message about some java files not having been removed correctly. I searched my C drive for things with java in the title, deleted a few, ran it again, same message. I used a restore point from before I uninstalled it, but now java doesn't work on my computer. I'm stuck with no java because I can't reinstall it. I can't download the unstaller from java's website because it requires that I have a functioning version of java. Any ideas about how I can fix this?

  2. #2
    Super Moderator
    Join Date
    Jun 2013
    So. Maryland, USA
    My Mood
    Thanked 698 Times in 680 Posts

    Default Re: Unable to reinstall Java

    I have no experience with the Java SDK on a Windows system, so I may be completely wrong, and there's no guarantee this will solve your problem or even help in any way. Take my suggestion at your own risk (but nothing I've suggested seems dangerous or irreversible):

    Based on my Linux experience, it seems you should be able to unzip the Java SDK distribution into a folder of your choice, preserving the file structure, and set a few environment variables to point to that folder or the /bin folder inside that folder. You could try that approach to reinstall Java to a new location, OR since you already had Java installed, you may be able to recover to the previous install by unzipping the distribution to where it was before you tried to move it.

  3. #3
    Super Moderator jps's Avatar
    Join Date
    Jul 2012
    My Mood
    Thanked 263 Times in 232 Posts

    Default Re: Unable to reinstall Java

    Quote Originally Posted by Aboogie1 View Post
    ...but it gave me an error message...
    Copy paste the full text of the error message exactly as it appears so we can see what the complaint is.

    Backup your system before you continue to work on this, just to be safe...
    See if you can determine the folder where java was installed previously and delete the whole folder and try a fresh install again, or post the error for more help.

Similar Threads

  1. Please help me! i am unable to compile and execute java files in command prompt
    By Sunanda Naik in forum What's Wrong With My Code?
    Replies: 6
    Last Post: March 24th, 2013, 08:42 AM
  2. Unable to draw a rectangle
    By n00b in forum AWT / Java Swing
    Replies: 3
    Last Post: November 1st, 2011, 07:32 AM
  3. (JNA) java.lang.UnsatisfiedLinkError: Unable to load library
    By Shockah in forum Java Native Interface
    Replies: 4
    Last Post: October 3rd, 2011, 11:29 AM
  4. Unable to view date
    By Rajiv in forum Web Frameworks
    Replies: 1
    Last Post: August 17th, 2011, 09:03 AM
  5. Unable to launch app of java application
    By sharmaneelam in forum What's Wrong With My Code?
    Replies: 1
    Last Post: May 19th, 2010, 08:42 AM