aspose file tools*
The moose likes Beginning Java and the fly likes Clean install of the java runtime Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Clean install of the java runtime" Watch "Clean install of the java runtime" New topic
Author

Clean install of the java runtime

Don Schwirtlich
Greenhorn

Joined: Jan 06, 2011
Posts: 26
I am pretty new to Java, reading everything i can get. I have the java sdk installed on my Windows 7/64 machine. but i have something wrong - I cant run java applets. I am doing the Sams "Teach yourself java in 24 hours" book and am doing the example in the hour 17 where i write an applet, then a html page and run the html, but the applet doesnt come up.

I read that I need to clear out my previous Java (java(update) 6 update 22 , and i get the message "Error 1723. There is a problem with the Windows Installer Package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor."

My question is who is the support personnel they are talking about - the bottom line is how do I get the java runtime fixed ?

Thanks in advance.
mike ryan
Ranch Hand

Joined: Aug 08, 2010
Posts: 210

Hi Don,

I had this same problem not too long ago, I deleted the Java folder instead of using the uninstaller.

Take a look at this thread, maybe it will help...

look here
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39791
    
  28
. . . and welcome to the Ranch
Don Schwirtlich
Greenhorn

Joined: Jan 06, 2011
Posts: 26
mike ryan wrote:Hi Don,

I had this same problem not too long ago, I deleted the Java folder instead of using the uninstaller.

Take a look at this thread, maybe it will help...

look here


Mike, I deleted the /java folders and the /jre folders when the first didnt help. Still getting the error. Is this the kind of problem that java users have to deal with -
I sure dont want to deal with this kind of support issue - if I cant make it work, what are the users going to do to get by this.

I am running win 7/64 btw. Anymore ideas and the link sent me to a site that for 29.99 promised to solve all the worlds problems - looked a lot like a
virus I had a few years back.
mike ryan
Ranch Hand

Joined: Aug 08, 2010
Posts: 210

hi don,

click this link here --->this one

don't click anything, wait untill you get the pop-up to download,it comes automatically.Then you can use that program to get rid of the java programs in the control panel.

If you look in the control panel where you can install uninstall software, you will see the folders you deleted are still showing in there, those need to go(using the tool you downloaded).After
that you can do a fresh install and everything should work.

hope this helps
Mike
Don Schwirtlich
Greenhorn

Joined: Jan 06, 2011
Posts: 26
mike ryan wrote:hi don,

click this link here --->this one

don't click anything, wait untill you get the pop-up to download,it comes automatically.Then you can use that program to get rid of the java programs in the control panel.

If you look in the control panel where you can install uninstall software, you will see the folders you deleted are still showing in there, those need to go(using the tool you downloaded).After
that you can do a fresh install and everything should work.

hope this helps
Mike


Mike, I downloaded that program (msicuu2.exe) - run it - it came back and ask me to run it in administrator mode, I did. I ran to completion. I went back to the control panel, the "java(tm) 6 Update22 ", entries are still there, I tried to uninstall them, got the same error that I did before. What do you think I am doing wrong? And thanks very much for your time and help - this will be good to get fixed so I can continue with my training.

mike ryan
Ranch Hand

Joined: Aug 08, 2010
Posts: 210

Hi,

The only thing i can think of is that there are still old folders with data in them, I would suggest doing a search and finding all the "java(tm) 6 Update22" folders and delete them,you may have to open the different folders and delete each file in it to have it fully deleted, or just change the name of it if you can't get rid of it properly.Then run the program again and see if they go then.

Mike
Don Schwirtlich
Greenhorn

Joined: Jan 06, 2011
Posts: 26
mike ryan wrote:Hi,

The only thing i can think of is that there are still old folders with data in them, I would suggest doing a search and finding all the "java(tm) 6 Update22" folders and delete them,you may have to open the different folders and delete each file in it to have it fully deleted, or just change the name of it if you can't get rid of it properly.Then run the program again and see if they go then.

Mike


Thanks so much Mike, I will go do that and report back. Unfortuantely I have to be away for the next 12 hours or so - I pray to God that soon I am back making a living in what I love, which is software. I wrote desktop windows software and supported many thousands of users for years - but I got sidetracked onto what I thought was my homerun project - big mistake. My prayer is that Java along with my other experience is my road back. And a site like this and help like yours and others here is crucial.
mike ryan
Ranch Hand

Joined: Aug 08, 2010
Posts: 210

I wish you luck ,and hope you get that problem solved and get back on the road to success
just don't ask me any Java programming questions just yet I am just learning myself;)
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14338
    
  22

Don Schwirtlich wrote:Mike, I downloaded that program (msicuu2.exe) - run it - it came back and ask me to run it in administrator mode, I did. I ran to completion.

Not that I don't trust Mike, but I would NEVER download and run an unknown executable that someone on the Internet that you don't know says you should download and run - especially not in administrator mode! It could contain a virus and screw up your entire computer.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
mike ryan
Ranch Hand

Joined: Aug 08, 2010
Posts: 210

Not that I don't trust Mike, but I would NEVER download and run an unknown executable that someone on the Internet that you don't know says you should download and run - especially not in administrator mode! It could contain a virus and screw up your entire computer.


Jesper has a good point and really nothing is 100% reliable so it is of course at your own risk, However i used the tool and it worked fine for me;) So maybe at least create a backup point to go back to if something goes wrong.

I had this problem myself ,the problem was, i deleted the folder(marked it and deleted it),it left a ghost on the control panel/programs software that pointed to nowhere.Windows unfortunately doesn't just do what you want and allow you to delete that "Ghost".I looked all over the net for an answer as to how to fix this and that was the only thing i found that worked.

So Never delete software like this, always go over the control panel unless the particular software is not in there !!!
Don Schwirtlich
Greenhorn

Joined: Jan 06, 2011
Posts: 26
Still havent found the problem. How does this kind of thing happen ? Is this something that can happen to our clients / customers?
mike ryan
Ranch Hand

Joined: Aug 08, 2010
Posts: 210

do you still see it as being there in the control panel? I don't have any other ideas at the moment?

the 1723 error is the same as i had,that program helped me so i have no idea now. Maybe a system restore to before you deleted the last version?
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14338
    
  22

If it can happen to you, it can happen to your clients. But this is not a common error though, it should not normally happen.

Here's what Oracle itself has to say about it: Error 1723. There is a problem with this Windows installer package. Unfortunately even they seem to not know at this time what the exact cause of this error is. If I'd guess, I'd think that the installer package you are trying to use is corrupt, or you are not using the right version that matches your Windows version. Try downloading it again from http://java.sun.com/javase

Note: 64-bit Windows can run both 32-bit and 64-bit Java. If you want Java to work in your web browser, which is most likely a 32-bit program, then download and install the 32-bit version of Java - the 64-bit version does not include a plug-in for 32-bit web browsers.

When you search on Google for "java error 1723" you will find some more information. A warning: I found this page: Java Fixer but the tool download page suspiciously looks like one of those fake registry cleaner or system check tools. I would avoid this tool!
Don Schwirtlich
Greenhorn

Joined: Jan 06, 2011
Posts: 26
Jesper de Jong wrote:If it can happen to you, it can happen to your clients. But this is not a common error though, it should not normally happen.

Here's what Oracle itself has to say about it: Error 1723. There is a problem with this Windows installer package. Unfortunately even they seem to not know at this time what the exact cause of this error is. If I'd guess, I'd think that the installer package you are trying to use is corrupt, or you are not using the right version that matches your Windows version. Try downloading it again from http://java.sun.com/javase



Thats my fear - in the past I have had as many as 600,000 users and this is of desktop software. I cant imagine having to support a product when this kind of problem can occur and not being able to solve it in this length of time. So why am I working so hard to use Java?
mike ryan
Ranch Hand

Joined: Aug 08, 2010
Posts: 210

Hi Don,

Well it does suck i know the feeling, but i actually think it is fairly rare..if that helps at all and i am also not certain if it is a Windows problem or a Java problem but either way it should be fixed.

I sent you a PM by the way in case you didn't see it;)
Don Schwirtlich
Greenhorn

Joined: Jan 06, 2011
Posts: 26
mike ryan wrote:Hi Don,

Well it does suck i know the feeling, but i actually think it is fairly rare..if that helps at all and i am also not certain if it is a Windows problem or a Java problem but either way it should be fixed.

I sent you a PM by the way in case you didn't see it;)


Yes, thank you very much. I spent many years developing and making a good living using Clarion - the language at one time was written by programmers who made their living building products that were very strong. A number of large companies used it - one of the major reasons for using it was a great user group that could step in and help like you are doing for me. However, at about the time, they decided that the language needed to go OOP, things havent been the same. I dont blame the decline on oop, I need OOP for my major development effort, but I need OOP in a platform / language that a) works, b) is debuggable, consistently, and c) doesnt take till hell freezes over to get something done. I remember clients asking me - ' don, we would like to use clarion here, but there are so many more vb programmers out there '. My response then and still is - "There needs to be more - it takes 5 times longer to get things done in vb." My hope was that Java might be the tool for me.
Ankit Tripathi
Ranch Hand

Joined: Oct 17, 2009
Posts: 199
First you have to know whether this problem is caused due to windows installer or java.
Try to install any program which uses windows installer if it is installed correctly then you have to have correct Java version designed for your platform system installed.
if it is not so->
- Go to Control Panel and click on Administrative Tools, then double click on Computer Management.
- Expand the Services & Applications menu item.
- Double-click Services.
- Double-click Windows Installer and stop the service.
- Launch regedit from run.
- Open HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSIServer.
- Select the MSIServer subkey.
- Delete this key value.
- Go to microsoft.com and re download the latest version of Windows Installer accoding to your operating system.

if program is installed successfully then you have to uninstall java and reinstall it according to platform you are using.To uninstall any older versions of Java, you can make use of JavaRA – a simple software that removes old, unnecessary and redundant versions of the Java Runtime Environment (JRE).
Here is a link-
javaRA
thinking it might help you or google for it!
then download the new version from java.sun.com.
Don Schwirtlich
Greenhorn

Joined: Jan 06, 2011
Posts: 26
Ankit Tripathi wrote:First you have to know whether this problem is caused due to windows installer or java.
Try to install any program which uses windows installer if it is installed correctly then you have to have correct Java version designed for your platform system installed.
if it is not so->
- Go to Control Panel and click on Administrative Tools, then double click on Computer Management.
- Expand the Services & Applications menu item.
- Double-click Services.
- Double-click Windows Installer and stop the service.
- Launch regedit from run.
- Open HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSIServer.
- Select the MSIServer subkey.
- Delete this key value.
- Go to microsoft.com and re download the latest version of Windows Installer accoding to your operating system.

if program is installed successfully then you have to uninstall java and reinstall it according to platform you are using.To uninstall any older versions of Java, you can make use of JavaRA – a simple software that removes old, unnecessary and redundant versions of the Java Runtime Environment (JRE).
Here is a link-
javaRA
thinking it might help you or google for it!
then download the new version from java.sun.com.


Ankit, I have installed and uninstalled several products recently and that worked fine. I have run javaRA as well - and still have the problem.

Should I r&r the Windows Installer anyway - just in case?
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14338
    
  22

If you want to try to find out what might be the problem when you get error 1723, then you could try to look at the installation log files as Oracles Error 1723 page suggests.

It's a shot in the dark, but one thing you could try is to temporarily disable UAC when you install Java.
Don Schwirtlich
Greenhorn

Joined: Jan 06, 2011
Posts: 26
Jesper de Jong wrote:If you want to try to find out what might be the problem when you get error 1723, then you could try to look at the installation log files as Oracles Error 1723 page suggests.

It's a shot in the dark, but one thing you could try is to temporarily disable UAC when you install Java.



I disabled UAC and then tried to install Java - and no go. Still trying...
Don Schwirtlich
Greenhorn

Joined: Jan 06, 2011
Posts: 26
Jesper de Jong wrote:If you want to try to find out what might be the problem when you get error 1723, then you could try to look at the installation log files as Oracles Error 1723 page suggests.

.


Did a system wide search for the files it wants me to find (java_install.log file, MSI****.log file) - no joy. Any other ideas guys ? Thanks for the help so far - been in this business along time and the only thing i dont know how to do is quit working on a problem - so keep sending me suggestions.
Don Schwirtlich
Greenhorn

Joined: Jan 06, 2011
Posts: 26
Ankit Tripathi wrote:First you have to know whether this problem is caused due to windows installer or java.
Try to install any program which uses windows installer if it is installed correctly then you have to have correct Java version designed for your platform system installed.
if it is not so->
- Go to Control Panel and click on Administrative Tools, then double click on Computer Management.
- Expand the Services & Applications menu item.
- Double-click Services.
- Double-click Windows Installer and stop the service.
- Launch regedit from run.
- Open HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSIServer.
- Select the MSIServer subkey.
- Delete this key value.
- Go to microsoft.com and re download the latest version of Windows Installer accoding to your operating system.

if program is installed successfully then you have to uninstall java and reinstall it according to platform you are using.To uninstall any older versions of Java, you can make use of JavaRA – a simple software that removes old, unnecessary and redundant versions of the Java Runtime Environment (JRE).
Here is a link-
javaRA
thinking it might help you or google for it!
then download the new version from java.sun.com.


Jankit, I just noticed that my version of the window installer 5.0 - I read somewhere that 4.5 was the most current, could I possibly have a bleeding edge beta product?
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14338
    
  22

Where exactly did you download your Java from?

The official download page is here: http://www.oracle.com/technetwork/java/javase/downloads/index.html

The most current release version at this moment is Java SE 6 update 23.

Note that there are also early access releases of Java 7, but that is not officially released yet (it will be released at the end of July 2011). Don't use Java 7 yet unless you just want to try out the newest features.
Don Schwirtlich
Greenhorn

Joined: Jan 06, 2011
Posts: 26
Jesper de Jong wrote:Where exactly did you download your Java from?

The official download page is here: http://www.oracle.com/technetwork/java/javase/downloads/index.html

The most current release version at this moment is Java SE 6 update 23.

Note that there are also early access releases of Java 7, but that is not officially released yet (it will be released at the end of July 2011). Don't use Java 7 yet unless you just want to try out the newest features.


I am sorry - I didnt write very clearly, I meant the Windows Installer, not Java.
Don Schwirtlich
Greenhorn

Joined: Jan 06, 2011
Posts: 26
>> Rob Spoor
Bartender

Joined: Oct 27, 2005
Posts: 12603


I like...
posted Today 12:58:42 PM 0
I told you to UseOneThreadPerQuestion before. So please stick to your old thread.
<<

No you didnt. I have never heard from you before. If you want to make comments like this, be truthful.

I cleaned up and summarized what had occurred - and posted that information. Until today, everyone who had posted worked hard to share the experience that they had in
solving the problem on their computer and I greatly appreciate their comments, but I am still trying to remedy the problem on my system.

Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19760
    
  20

And we are really trying to help you, but that still doesn't mean you need to create multiple threads.

As for the threads:
http://www.coderanch.com/t/523508/java/java/Java-install-upgrade
http://www.coderanch.com/t/524727/java/java/Error-Installing-or-Removing-Java


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Don Schwirtlich
Greenhorn

Joined: Jan 06, 2011
Posts: 26
I have tried the product - Revo Install Pro - and it doesnt solve the 1723 error problem either. What is the risks involved with downloading and installing the latest Windows Installer ? Thanks in advance
mike ryan
Ranch Hand

Joined: Aug 08, 2010
Posts: 210

Hi Don,

This doesn't answer your last question but i just found this link and thought it might help a little further , but maybe not , but it is worth a try.

look here
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14338
    
  22

mike ryan wrote:look here

From that page:
Java is a web-based graphics platform used to deliver multimedia to a computer.

That sounds like a description from 1997... or from someone who really doesn't know what Java is.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39791
    
  28
Jesper de Jong wrote: . . . That sounds like a description from 1997... or from someone who really doesn't know what Java is.
Yes, but the reinstallation instructions might still work.
mike ryan
Ranch Hand

Joined: Aug 08, 2010
Posts: 210

Well i don't think this is really a Java issue, as this error comes from quite a few different program installations.Sounds like the windows installer has a problem.

I actually thought

Visit the Java website and download the offline installation file for the Java software. If you install the file offline rather than through the Java website, you can circumvent the Windows Installer Java problems you are experiencing.

Read more: How to Solve Windows Installer Java Problems | eHow.com http://www.ehow.com/how_5028764_solve-windows-installer-java-problems.html#ixzz1CFEp7HZz


This part may be worth a try, or reinstalling the windows installer or searching the registry for any keys left by an older version or all three ;)

What i did to fix this problem was delete any and all Java folders from my hard drive, then searched the registry for all keys from Java or sun.

then used the tool i posted in this post --->here

then it finally worked!! but was a real pain.....

Mike
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39791
    
  28
Thank you for that potentially useful link.

Otherwise, one could try reinstalling Windows as a repair installation.
Don Schwirtlich
Greenhorn

Joined: Jan 06, 2011
Posts: 26
Thank you all so much, I think I may have it. Last night, I printed out all the responses and just walked through them retrying everything. I havent tried my java routines yet, the html ones with the java applets that alerted me to this problem, because logging on to my kids high school website became my test. There are tons of applets embedded in that site and I havent been able to get on it without lots of errors before - and now I can. But the final thing that I believe made the difference was re-running the Msicuu2.exe utiliity and probably when I ran it before, I was not in admin mode, and this time it pulled up and showed a browse box of installations and I was able to select the java routines - and remove them. Then I went to the kids high school site - and finally joy. So now, I am going to go back to my Java in 24 hours book, - oh and rewrite my path statement in autoexec. bat

path = c:\java\jdk1.6.0_21\bin;

to the new correct position, hopefully I wont need help with that , and then rock and roll time.

Again thanks to everyone - and I pray to God, you dont have to deal with this problem ever.
mike ryan
Ranch Hand

Joined: Aug 08, 2010
Posts: 210

Hey Don this is great news;) now you can start pulling your hair out learning Java

I think once i learn Java well i will create a program that fixes this problem with a few clicks, that would be a great thing!!!
and needed as well...if i will ever be good enough to do it? that is another question hehe!!
Don Schwirtlich
Greenhorn

Joined: Jan 06, 2011
Posts: 26
mike ryan wrote:Hey Don this is great news;) now you can start pulling your hair out learning Java

I think once i learn Java well i will create a program that fixes this problem with a few clicks, that would be a great thing!!!
and needed as well...if i will ever be good enough to do it? that is another question hehe!!


MIke, with your attitude toward helping, my money would be on you. I am going to try to document what I did and the order I did it in here so maybe I and possibly others can learn from this. One of the things I did different was I did not download and install the 64 bit jdk/jr - I installed the 32 bit. But then, it may have just been the phase of the moon, but I will report it anyway.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Clean install of the java runtime