When I try to switch to an Android build in the simulator, I get a message syaing I need to install the Java 6 SDK. There is a link in the message which puts me on a page on the Oracle site. The nearest thing I can find to download is Java SE JDK. Installed this, and the simulator still complains. How do I tell the sim where the SDK is? [import]uid: 168581 topic_id: 29861 reply_id: 329861[/import]
I have seen some posts which have links to version 6 of the Java JDK, but as it is now replaced by v7, these links only lead to the release notes for 6. I can’t believe Corona cannot use v7! Have I just wasted $345? [import]uid: 168581 topic_id: 29861 reply_id: 119732[/import]
have you seen this post by @JonathanBebee (pasted below and link to its original):
Jerry, what you are stating here is not completely accurate. Let me tell you how it really works…
Yes, it’s true that Corona does not support JDK 7, but that is because Android does not support JDK 7. Android only supports the 32-bit version of JDK 6. That is where that limitation comes from.
Both JDK 6 and JDK 7 can co-exist on the same PC, including the 64-bit versions. We’ve tested this and it works. The only time builds and app signing will fail in Corona is if the JDK 7 path has been added to the “PATH” environment variable. The standard JDK installation programs do not automatically add their paths to this environment variable, so this is actually not a common issue for us and our customers. We suspect a 3rd party Java tool is adding this path to this environment variable and is the cause of this grief that you guys are facing. Regardless, we recognize that this is an issue and have written up a bug report for ourselves to address this in the future. Currently, Corona finds the path to the 32-bit version of the JDK 6 via the registry, but unfortunately, the PATH environment variable is overriding this in the final build phase.
(ie: Removing the JDK 7 path from your “PATH” environment variable will make builds work again in Corona. That’s all you have to do.)
Your comment about Oracle not providing JDK 6 on their website is completely false. Please see the link below. At the time of this forum post, you can find it under “Java SE 6 Update 34”. In fact, update 34 came out recently.
http://www.oracle.com/technetwork/java/javase/downloads/index.html
The automatic Java Update will not replace your JDK 6 installation. Both JDK 6 and 7 were designed to coexist together. Look under your “Program Files” directory and you’ll find them both. The reason is that Java apps target a specific major version. They have to because APIs do get deprecated between major versions, so this allows older Java apps to continue working on the same system. Microsoft .NET apps works in the same manner, which is why it is common to see .NET 2.0 and 3.5 on the same PC… and they both receive their own service packs.
So, I hope this clarifies things. I’m not trying to be antagonistic. I just want people to know the real facts.
LINK: http://developer.coronalabs.com/forum/2012/08/09/debugkeystore-not-valid-or-incorrect-password#comment-119671 [import]uid: 89165 topic_id: 29861 reply_id: 119733[/import]
That’s useful info, however…
I can see why Jerry (and others) will be thinking they can’t get the Java JDK 6. When you click the link in the simulator’s message, it puts you on the Oracle page with JDK 7 staring at you. If you happen to scroll down, you can see something called SE JDK 6 update 34. To those of us who don’t use Java, this can be interpretted as a patch “update 34” rather than a whole product, so we ignore it.
There is also a link somewhere in these forums (I forget where) which takes you to another page which has the JDK 6 download, but when you click it, it just shows the release notes. This reinforces the idea that it’s not available.
These ambiguities are Oracle’s fault not Corona Labs, but it’s easy to see why potential Corona devs get frustrated. I have twenty years of programming experience, and even I am getting hacked off at how difficult it is to get things set up and working.
Having solved the JDK problem, now I find that the Simulator won’t work with the version of OpenGL on my Windows 7 machine. OpenGL is part of the driver package for the graphics card, and mine is up to date. So now I have to buy a new graphics card to get the latest OpenGL support.
Incidentally, I paid $345 for a one-year subscription two days ago, and the Simulator still insists I am in Trial Mode. This is not helping my frustration levels.
I also notice that Corona want $750 for 5 hours support. Given that their product is likely to be of interest to individuals and smaller companies, this seems like a lot. If I had noticed this before I paid for the one-year subscription, I would probably not have bothered. Maybe Corona is trying to target large corps, not us indies, but I think they are giving out mixed messages with this sort of pricing. [import]uid: 168581 topic_id: 29861 reply_id: 119744[/import]
With all your issues what I would recommend you is to contact CoronaLabs via e-mail directly instead. I think that way could be more productive for you in this situation.
Cheers,
Rodrigo. [import]uid: 89165 topic_id: 29861 reply_id: 119810[/import]
I have seen some posts which have links to version 6 of the Java JDK, but as it is now replaced by v7, these links only lead to the release notes for 6. I can’t believe Corona cannot use v7! Have I just wasted $345? [import]uid: 168581 topic_id: 29861 reply_id: 119732[/import]
have you seen this post by @JonathanBebee (pasted below and link to its original):
Jerry, what you are stating here is not completely accurate. Let me tell you how it really works…
Yes, it’s true that Corona does not support JDK 7, but that is because Android does not support JDK 7. Android only supports the 32-bit version of JDK 6. That is where that limitation comes from.
Both JDK 6 and JDK 7 can co-exist on the same PC, including the 64-bit versions. We’ve tested this and it works. The only time builds and app signing will fail in Corona is if the JDK 7 path has been added to the “PATH” environment variable. The standard JDK installation programs do not automatically add their paths to this environment variable, so this is actually not a common issue for us and our customers. We suspect a 3rd party Java tool is adding this path to this environment variable and is the cause of this grief that you guys are facing. Regardless, we recognize that this is an issue and have written up a bug report for ourselves to address this in the future. Currently, Corona finds the path to the 32-bit version of the JDK 6 via the registry, but unfortunately, the PATH environment variable is overriding this in the final build phase.
(ie: Removing the JDK 7 path from your “PATH” environment variable will make builds work again in Corona. That’s all you have to do.)
Your comment about Oracle not providing JDK 6 on their website is completely false. Please see the link below. At the time of this forum post, you can find it under “Java SE 6 Update 34”. In fact, update 34 came out recently.
http://www.oracle.com/technetwork/java/javase/downloads/index.html
The automatic Java Update will not replace your JDK 6 installation. Both JDK 6 and 7 were designed to coexist together. Look under your “Program Files” directory and you’ll find them both. The reason is that Java apps target a specific major version. They have to because APIs do get deprecated between major versions, so this allows older Java apps to continue working on the same system. Microsoft .NET apps works in the same manner, which is why it is common to see .NET 2.0 and 3.5 on the same PC… and they both receive their own service packs.
So, I hope this clarifies things. I’m not trying to be antagonistic. I just want people to know the real facts.
LINK: http://developer.coronalabs.com/forum/2012/08/09/debugkeystore-not-valid-or-incorrect-password#comment-119671 [import]uid: 89165 topic_id: 29861 reply_id: 119733[/import]
That’s useful info, however…
I can see why Jerry (and others) will be thinking they can’t get the Java JDK 6. When you click the link in the simulator’s message, it puts you on the Oracle page with JDK 7 staring at you. If you happen to scroll down, you can see something called SE JDK 6 update 34. To those of us who don’t use Java, this can be interpretted as a patch “update 34” rather than a whole product, so we ignore it.
There is also a link somewhere in these forums (I forget where) which takes you to another page which has the JDK 6 download, but when you click it, it just shows the release notes. This reinforces the idea that it’s not available.
These ambiguities are Oracle’s fault not Corona Labs, but it’s easy to see why potential Corona devs get frustrated. I have twenty years of programming experience, and even I am getting hacked off at how difficult it is to get things set up and working.
Having solved the JDK problem, now I find that the Simulator won’t work with the version of OpenGL on my Windows 7 machine. OpenGL is part of the driver package for the graphics card, and mine is up to date. So now I have to buy a new graphics card to get the latest OpenGL support.
Incidentally, I paid $345 for a one-year subscription two days ago, and the Simulator still insists I am in Trial Mode. This is not helping my frustration levels.
I also notice that Corona want $750 for 5 hours support. Given that their product is likely to be of interest to individuals and smaller companies, this seems like a lot. If I had noticed this before I paid for the one-year subscription, I would probably not have bothered. Maybe Corona is trying to target large corps, not us indies, but I think they are giving out mixed messages with this sort of pricing. [import]uid: 168581 topic_id: 29861 reply_id: 119744[/import]
With all your issues what I would recommend you is to contact CoronaLabs via e-mail directly instead. I think that way could be more productive for you in this situation.
Cheers,
Rodrigo. [import]uid: 89165 topic_id: 29861 reply_id: 119810[/import]
I just had some fun with this issue (2013/02).
If the software has dependancies on Java and has an issue with the version of Java this should be documented up front with the download button and in the getting started guide.
Solutions:
-
State that the user should find a download of Java SDK version 6 (give link and state hopefully oracle have not moved it and if they have, have a look for it on their website)
-
Within Corona application, add preferences to map the path to Java. Pickup the environment variables and if not found request it or notify user on application compile that it needs to be defined. Much like working with eclipse, inteliJ, flashdevelop etc where we need to specify paths to the java sdk and flex sdk etc.
On another note, I have Google’s Android SDK running via Eclipse with JDK 7 x64 with no issues on galaxy s1, s3 and galaxy tab, maybe it’s time for a corona software update?
So far, loving the simplicity of old school programming in LUA, and coming from an AS2 & AS3 & Warcraft lua addons developer it’s simple as. I am wondering why there is no build for iPad / iPhone on the windows application however?
D [import]uid: 226399 topic_id: 29861 reply_id: 142684[/import]
I just had some fun with this issue (2013/02).
If the software has dependancies on Java and has an issue with the version of Java this should be documented up front with the download button and in the getting started guide.
Solutions:
-
State that the user should find a download of Java SDK version 6 (give link and state hopefully oracle have not moved it and if they have, have a look for it on their website)
-
Within Corona application, add preferences to map the path to Java. Pickup the environment variables and if not found request it or notify user on application compile that it needs to be defined. Much like working with eclipse, inteliJ, flashdevelop etc where we need to specify paths to the java sdk and flex sdk etc.
On another note, I have Google’s Android SDK running via Eclipse with JDK 7 x64 with no issues on galaxy s1, s3 and galaxy tab, maybe it’s time for a corona software update?
So far, loving the simplicity of old school programming in LUA, and coming from an AS2 & AS3 & Warcraft lua addons developer it’s simple as. I am wondering why there is no build for iPad / iPhone on the windows application however?
D [import]uid: 226399 topic_id: 29861 reply_id: 142684[/import]
I just had some fun with this issue (2013/02).
If the software has dependancies on Java and has an issue with the version of Java this should be documented up front with the download button and in the getting started guide.
Solutions:
-
State that the user should find a download of Java SDK version 6 (give link and state hopefully oracle have not moved it and if they have, have a look for it on their website)
-
Within Corona application, add preferences to map the path to Java. Pickup the environment variables and if not found request it or notify user on application compile that it needs to be defined. Much like working with eclipse, inteliJ, flashdevelop etc where we need to specify paths to the java sdk and flex sdk etc.
On another note, I have Google’s Android SDK running via Eclipse with JDK 7 x64 with no issues on galaxy s1, s3 and galaxy tab, maybe it’s time for a corona software update?
So far, loving the simplicity of old school programming in LUA, and coming from an AS2 & AS3 & Warcraft lua addons developer it’s simple as. I am wondering why there is no build for iPad / iPhone on the windows application however?
D [import]uid: 226399 topic_id: 29861 reply_id: 142684[/import]
I just had some fun with this issue (2013/02).
If the software has dependancies on Java and has an issue with the version of Java this should be documented up front with the download button and in the getting started guide.
Solutions:
-
State that the user should find a download of Java SDK version 6 (give link and state hopefully oracle have not moved it and if they have, have a look for it on their website)
-
Within Corona application, add preferences to map the path to Java. Pickup the environment variables and if not found request it or notify user on application compile that it needs to be defined. Much like working with eclipse, inteliJ, flashdevelop etc where we need to specify paths to the java sdk and flex sdk etc.
On another note, I have Google’s Android SDK running via Eclipse with JDK 7 x64 with no issues on galaxy s1, s3 and galaxy tab, maybe it’s time for a corona software update?
So far, loving the simplicity of old school programming in LUA, and coming from an AS2 & AS3 & Warcraft lua addons developer it’s simple as. I am wondering why there is no build for iPad / iPhone on the windows application however?
D [import]uid: 226399 topic_id: 29861 reply_id: 142684[/import]
I know I shouldnt bumb ‘dead’ threads… but I think this really needs to change.
I just spend 30 minutes mucking about, installing and uninstalling Java SDK, just because Corona is very vague on the subject. For starters it send me to the wrong download page, and then it fails to tell me I need the 32 bit version of Java SDK.
Please, developers, fix this! People shouldn’t find this kind of information on forums, it should be in Corona itself.
I know I shouldnt bumb ‘dead’ threads… but I think this really needs to change.
I just spend 30 minutes mucking about, installing and uninstalling Java SDK, just because Corona is very vague on the subject. For starters it send me to the wrong download page, and then it fails to tell me I need the 32 bit version of Java SDK.
Please, developers, fix this! People shouldn’t find this kind of information on forums, it should be in Corona itself.