This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Wrapper.Createfile failed with error 1224 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Wrapper.Createfile failed with error 1224" Watch "Wrapper.Createfile failed with error 1224" New topic
Author

Wrapper.Createfile failed with error 1224

Mike Stroud
Greenhorn

Joined: Mar 27, 2012
Posts: 5
I am trying to install the java jdk on my laptop which is running Windows 7 professional. When I click on jdk-7u3-windows-i586.exe I get an error Wrapper.CreateFile failed with error 1224... and nothing happens. I've got java 6 loaded at the moment, but I want the full jdk. I don't want to delete java 6 and then be stuck with nothing! What does this error mean and how do I fix it? I've tried booting in safe mode and running as administrator but nothing helps. Google didn't help either except to take me to sites that want to sell me software.
Any ideas? Thanks!
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38107
    
  22
Welcome to the Ranch

No idea, I am afraid. We have an FAQ about installing, but it doesn’t cover that error. My first suggestion would be to download the JDK again anew. Googling for error 1224 produced this, however. Does that help at all?

Anybody else?
Mike Stroud
Greenhorn

Joined: Mar 27, 2012
Posts: 5
Many thanks for your reply. I tried the link you suggested and it's one of the places trying to sell me software. You download it, run it and when you click "fix" it asks for registration. So, put in a user id, password and email and click "next". Then it wants your credit card. No thanks... Rather underhanded.
Anyone else hear of this error?
Thanks.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10175
    
    8

This one looks similar, but different error code. Might help.
http://www.tomshardware.com/forum/24032-63-java-install-windows


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Mike Stroud
Greenhorn

Joined: Mar 27, 2012
Posts: 5
Thanks Maneesh. That doesn't really apply to me because I'm not trying to install the 64bit. I tried the install via the command prompt, but nothing happens. I've tried a registry cleaner and run a virus scan. I'm about to give up on java.
Maybe I should go back to COBOL
Cheers, Mike
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10175
    
    8

Mike Stroud wrote:
Maybe I should go back to COBOL

Or maybe you should abandon Windoze and shift to Ubuntu!
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38107
    
  22
Mike Stroud wrote: . . . I'm not trying to install the 64bit. . . .
Can you actually install a 32-bit version of Java™ on a 64-bit version of Windows®? I don’t know. Try the 64-bit version and see what happens.
Mike Stroud wrote:Maybe I should go back to COBOL
Cheers, Mike
There’s money to be made if you can maintain old COBOL code
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10175
    
    8

Campbell Ritchie wrote:Can you actually install a 32-bit version of Java™ on a 64-bit version of Windows®? I don’t know. Try the 64-bit version and see what happens.

I thought it was the other way round which is not possible, install 64bit version on 32bit OS.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38107
    
  22
I did say I don’t know.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074
    
  16

Yes, you can install a 32-bit version of Java on 64-bit Windows (or 64-bit Ubuntu). In fact, on my computer at home which is running 64-bit Windows 7, I have both the 32-bit and 64-bit version of Java 7 installed (in different directories, ofcourse).

Most web browsers on 64-bit Windows are still 32-bit programs; they can only use the 32-bit version of Java. So if you want to be able to run Java applets in your 32-bit browser on 64-bit Windows, you need to have a 32-bit version of Java installed.

The other way around is indeed not possible: you cannot run 64-bit software on a 32-bit operating system.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Mike Stroud
Greenhorn

Joined: Mar 27, 2012
Posts: 5
I've got it... but I have no idea how/why.
I had 1 user account under Windows 7, so I created another (also an administrator) and logged into the new account. I then tried the java 7 install and it worked like a charm! I then deleted the new account and all seems well.
I *think* that the 1224 message may have been a red herring as I noticed that it only popped up when I clicked on the install file twice (or more) in succession. If I just clicked it once then nothing happened at all. There were no errors in the windows event viewer and nothing of interest in the tempdir.
So, installing up java only took me 3 days. I wonder how long it will take me to actually write a program?
Write this one off to experience...
Thanks to all!

Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38107
    
  22
So that doesn’t sound like the cause of the problem.

[Edit]I meant the 64 bit/32 bit question.[/edit]
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38107
    
  22
Mike Stroud wrote:I've got it... . . .. I wonder how long it will take me to actually write a program? . . .
Well done You should manage a HelloWorld program in about 5 minutes
I presume you have set your PATH, too?
Mike Stroud
Greenhorn

Joined: Mar 27, 2012
Posts: 5
I've done some forensic analysis on this (going back to my days in software testing). I had an account called "New Account". I renamed it "Mike" some time ago. I then tried (and failed) to install Java 7 on the renamed account. I then created a new account (co-incidentally also called "New Account") and Java installed there just fine.
I wonder if, deep down in the bowels of my system, something is still pointing to "New Account", instead of "Mike"? And Java, when it encountered this, tried to send a message to an account that no longer existed as it was renamed?
Something to consider, anyway. Perhaps one day someone, somewhere will show up here with the same problem. If I had the time (and inclination) I'd test various scenarios to see what happens.
Anyway, thanks to all of you for trying to help me!
Cheers, Mike.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Wrapper.Createfile failed with error 1224
 
Similar Threads
how to import an API not in jdk ?
JSP deployment Error
WEB-INF./web.xml exposed
tomcat can't run in windows 2000 professional
SSL issue