Thanks shayping! That has worked now. So it’s not just JDK we need, both JDK and JRE are needed. I did not install JavaDB or the Code Samples, just JDK and JRE.
Can you explain how to do this?
Richard:
Here is a copy of keystore instructions. Hope this helps.
Procedure
Generating an RSA keypair and self-signed
certificate can be performed from the command line in one shot. With this keypair,
an RSA-Signed Certificate can be created to sign applets.
Generate an RSA keypair:
- Create two directories:
- C:\mykeytools
- C:\mykeytools\keys
- Goto directory C:\mykeytools
- Type:
keytool -genkey -alias myalias -keyalg RSA -validity 365
-keystore keys/my.keystore
- Enter
keystore password: **** mysecret
What is your first and last name?
[Unknown]: www.mobilefish.com
What is the name of your organizational unit?
[Unknown]:Research
and Development
What is the name of your organization?
[Unknown]: Mobilefish.com
What is the name of your City or Locality?
[Unknown]: Zaandam
What is the name of your State or Province?
[Unknown]: Noord-Holland
What is the two-letter country code for this unit?
[Unknown]: NL
Is CN=www.mobilefish.com, OU=Research and Development,
O=Mobilefish.com, L=Zaandam, ST=Noord-Holland, C=NL correct?
[no]: y
Enter key password for <myalias>
(RETURN if same as keystore password):
- File C:\mykeytools\keys\my.keystore is created.
- To view the fingerprints of certificates in the keystore,
type:
keytool -list -keystore keys/my.keystore
You should see and do the following:
Enter keystore password: mysecret
Keystore type: jks
**Keystore provider: SUN
Your keystore contains 1 entry
myalias, 18-mei-2005, keyEntry,
Certificate fingerprint (MD5): D5:14:AB:F5:68:4B:1F:C9:80:8C:3E:95:D7:4D:E1:0E**
Thank you, I was able to build and install on my phone.
I have this problem also and it is extremely frustrating that there is no simple solution. I have a clean build of Windows 7 Ultimate 32-bit straight from MSDN. I have installed Corona SDK. I have thus far tried JDK 1.6 Update 38 and 45, uninstalled and re-installed a number of times (I’ve lost count actually how many times now). I’ve tried JDK first then Corono SDK and Corono SDK first then JDK.
Nothing I try gets past the invalid keystore/password problem. I tried using the debug keystore and generating my own. I’ve never had so much frustration with a development kit.
I’ve tried all of the things that others have reported and tried here, but no luck. The folks that have got it working did so by luck of re-installing bits. Would be nice to have a known fix that works each time.
Any help/suggestions appreciated.
I had the same problem when I installed JDK – without JRE.
But after I installed JDK with JRE, than Corona, it worked.
Thanks shayping! That has worked now. So it’s not just JDK we need, both JDK and JRE are needed. I did not install JavaDB or the Code Samples, just JDK and JRE.