M Markos Well-Known Member Licensed User Longtime User Feb 6, 2020 #1 Hi All, Has anyone did a quickie comparison between which of the two java sdk's is preferred for what purpose functionality or efficiency wise not license wise. It would be most helpful depending on my App capabilities I would hope.
Hi All, Has anyone did a quickie comparison between which of the two java sdk's is preferred for what purpose functionality or efficiency wise not license wise. It would be most helpful depending on my App capabilities I would hope.
M Markos Well-Known Member Licensed User Longtime User Feb 6, 2020 #2 Also in general for all B4X products which product works best with which Java SDK type functionality and feature wise. Very broad question feel free to prepare a comparison table lol. But honestly any viewpoint is most welcomed Upvote 0
Also in general for all B4X products which product works best with which Java SDK type functionality and feature wise. Very broad question feel free to prepare a comparison table lol. But honestly any viewpoint is most welcomed
Erel B4X founder Staff member Licensed User Longtime User Feb 6, 2020 #3 I recommend using OpenJDK 11 (download from: https://www.b4x.com/b4j.html). No need to create an Oracle account, it is newer, and it is compatible with B4J Packager 11 which is better than Oracle packager tool (wrapped by the old B4J Packager). There is one advantage to Java 8, which is the support for executable jars. This is especially useful for small utilities. Upvote 0
I recommend using OpenJDK 11 (download from: https://www.b4x.com/b4j.html). No need to create an Oracle account, it is newer, and it is compatible with B4J Packager 11 which is better than Oracle packager tool (wrapped by the old B4J Packager). There is one advantage to Java 8, which is the support for executable jars. This is especially useful for small utilities.
K keirS Well-Known Member Licensed User Longtime User Feb 6, 2020 #4 Java 8 can target 32bit and 64 bit O/S (there is a 32 bit version of Windows 10) Java 11 is 64 bit only. I use both Java 8 and Java 11 (both open JDK). For packaging Java 8 I use Launch 4J and BJ packager 11 for 11. With a bit of fiddling (mainly to do with layout in Java FX) it is possible to have a project that can be built in Java 8 for 32 bit and Java 11 for 64 bit. Upvote 0
Java 8 can target 32bit and 64 bit O/S (there is a 32 bit version of Windows 10) Java 11 is 64 bit only. I use both Java 8 and Java 11 (both open JDK). For packaging Java 8 I use Launch 4J and BJ packager 11 for 11. With a bit of fiddling (mainly to do with layout in Java FX) it is possible to have a project that can be built in Java 8 for 32 bit and Java 11 for 64 bit.
Erel B4X founder Staff member Licensed User Longtime User Feb 6, 2020 #5 Good point about 32 bit computers, though they are become less and less common. Note that Launch4J doesn't create a standalone package. Java will need to be installed on the user computer. Upvote 0
Good point about 32 bit computers, though they are become less and less common. Note that Launch4J doesn't create a standalone package. Java will need to be installed on the user computer.
M Markos Well-Known Member Licensed User Longtime User Feb 6, 2020 #6 Erel said: Good point about 32 bit computers, though they are become less and less common. Note that Launch4J doesn't create a standalone package. Java will need to be installed on the user computer. Click to expand... Great responses Erel & keirS ! Just 4 quick questions.. 1) The use of Java 11 applies to b4a and b4i as well? 2) Secondly is there a package for Java 8 or is that the old b4jpacker? 3) An executable Jar can run at command prompt without jave.exe prefix? But needs Java present on that system? 4) An executable Jar runs on linux and Mac as well? Upvote 0
Erel said: Good point about 32 bit computers, though they are become less and less common. Note that Launch4J doesn't create a standalone package. Java will need to be installed on the user computer. Click to expand... Great responses Erel & keirS ! Just 4 quick questions.. 1) The use of Java 11 applies to b4a and b4i as well? 2) Secondly is there a package for Java 8 or is that the old b4jpacker? 3) An executable Jar can run at command prompt without jave.exe prefix? But needs Java present on that system? 4) An executable Jar runs on linux and Mac as well?
Erel B4X founder Staff member Licensed User Longtime User Feb 6, 2020 #7 1) Yes. 2) B4J Packager (not 11) 3) It can be run by double clicking on the icon. Java 8 needs to be installed. 4) Yes, if Java 8 is installed. Upvote 0
1) Yes. 2) B4J Packager (not 11) 3) It can be run by double clicking on the icon. Java 8 needs to be installed. 4) Yes, if Java 8 is installed.
G Green1 Member Licensed User Longtime User Feb 6, 2020 #8 Hi I'm getting 403 forbidden when trying to download OpenJDK from the provided link, and having trouble configuring the installation to use JFX when downloading both separately. Can you assist with this please? Thanks Upvote 0
Hi I'm getting 403 forbidden when trying to download OpenJDK from the provided link, and having trouble configuring the installation to use JFX when downloading both separately. Can you assist with this please? Thanks
M Markos Well-Known Member Licensed User Longtime User Feb 7, 2020 #9 Green1 said: Hi I'm getting 403 forbidden when trying to download OpenJDK from the provided link, and having trouble configuring the installation to use JFX when downloading both separately. Can you assist with this please? Thanks Click to expand... It is on the b4j page but here is the link below Java11 If after you download it, unzip it to c:\java11, take care it doesnt create \java11\jdk-11.0.1\jdk-11.0.1, if it does just collapse back the contents to the 1st \jdk-11.0.1 folder. If you want to go more into the Installation you may have to open a new thread and state explicitly if it's B4J installation or other Upvote 0
Green1 said: Hi I'm getting 403 forbidden when trying to download OpenJDK from the provided link, and having trouble configuring the installation to use JFX when downloading both separately. Can you assist with this please? Thanks Click to expand... It is on the b4j page but here is the link below Java11 If after you download it, unzip it to c:\java11, take care it doesnt create \java11\jdk-11.0.1\jdk-11.0.1, if it does just collapse back the contents to the 1st \jdk-11.0.1 folder. If you want to go more into the Installation you may have to open a new thread and state explicitly if it's B4J installation or other
G Green1 Member Licensed User Longtime User Feb 7, 2020 #10 Thanks, but the link isn't working for me as I appear to be forbidden, so it is the folder config for the individual downloads to work together I need. Sorry if that wasn't clear Upvote 0
Thanks, but the link isn't working for me as I appear to be forbidden, so it is the folder config for the individual downloads to work together I need. Sorry if that wasn't clear
M Markos Well-Known Member Licensed User Longtime User Feb 7, 2020 #11 Green1 said: Thanks, but the link isn't working for me as I appear to be forbidden, so it is the folder config for the individual downloads to work together I need. Sorry if that wasn't clear Click to expand... So you cant download the java sdk? You are behind a firewall that blocks download of ZIP files? That can be either black listed or perhaps more so a buggy or tainted Browser. Try a different browser Firefox if not already. You are new to B4J? What have you downloaded so far that you could download for B4J. If all else fails I can always put the JDK on my ftp server and give you that link. Hopefully isnt your IP is blocked but maybe your computer time stamp is off which could happen. Anyway that's enough for your to respond to if helps get over that download hurdle. Upvote 0
Green1 said: Thanks, but the link isn't working for me as I appear to be forbidden, so it is the folder config for the individual downloads to work together I need. Sorry if that wasn't clear Click to expand... So you cant download the java sdk? You are behind a firewall that blocks download of ZIP files? That can be either black listed or perhaps more so a buggy or tainted Browser. Try a different browser Firefox if not already. You are new to B4J? What have you downloaded so far that you could download for B4J. If all else fails I can always put the JDK on my ftp server and give you that link. Hopefully isnt your IP is blocked but maybe your computer time stamp is off which could happen. Anyway that's enough for your to respond to if helps get over that download hurdle.
G Green1 Member Licensed User Longtime User Feb 7, 2020 #12 The link https://b4xfiles-4c17.kxcdn.com/jdk-11.0.1.zip doesn't work for me using many browsers (chrome, ie) from more than one location. I could download from openjdk and openjfx but I'm not sure how to get them working together. I could start a new thread for that if needs be Upvote 0
The link https://b4xfiles-4c17.kxcdn.com/jdk-11.0.1.zip doesn't work for me using many browsers (chrome, ie) from more than one location. I could download from openjdk and openjfx but I'm not sure how to get them working together. I could start a new thread for that if needs be
DonManfred Expert Licensed User Longtime User Feb 7, 2020 #13 Green1 said: he link https://b4xfiles-4c17.kxcdn.com/jdk-11.0.1.zip doesn't work for me using many browsers (chrome, ie) from more than one location. Click to expand... try this one Dropbox - Error - Simplify your life www.dropbox.com Upvote 0
Green1 said: he link https://b4xfiles-4c17.kxcdn.com/jdk-11.0.1.zip doesn't work for me using many browsers (chrome, ie) from more than one location. Click to expand... try this one Dropbox - Error - Simplify your life www.dropbox.com
G Green1 Member Licensed User Longtime User Feb 7, 2020 #14 Thanks Manfred . All good, much appreciated Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Feb 7, 2020 #15 The link will work from B4J page: https://www.b4x.com/b4j.html Upvote 0
G Green1 Member Licensed User Longtime User Feb 7, 2020 #16 This is Edge, but same for chrome browsers and Opera. Not sure why. Same for work and home. I guess it's just me as I haven't seen other complaints. Anyway, I'm up and running now Upvote 0
This is Edge, but same for chrome browsers and Opera. Not sure why. Same for work and home. I guess it's just me as I haven't seen other complaints. Anyway, I'm up and running now
Erel B4X founder Staff member Licensed User Longtime User Feb 7, 2020 #17 Just tried it and it works with Edge. You need to go here: https://www.b4x.com/b4j.html And then click on the download link. It will not work if you enter the link directly. Upvote 0
Just tried it and it works with Edge. You need to go here: https://www.b4x.com/b4j.html And then click on the download link. It will not work if you enter the link directly.
G Green1 Member Licensed User Longtime User Feb 7, 2020 #18 Yes, one browser is blocking the link from the B4J page completely, and I must have been copying the zip link to other browsers. Thanks Upvote 0
Yes, one browser is blocking the link from the B4J page completely, and I must have been copying the zip link to other browsers. Thanks
A amykonio Active Member Licensed User Longtime User Feb 7, 2020 #19 Erel said: Good point about 32 bit computers, though they are become less and less common. Click to expand... Hi Erel. Raspian isn't available in 64-bit. I mention that because there are many questions about raspberry in the forum. I know there are some build of Java sdk 11 in 32-bit but I'm not sure how reliable they are. I personally use JDK 8 for my pi's. Andreas. Upvote 0
Erel said: Good point about 32 bit computers, though they are become less and less common. Click to expand... Hi Erel. Raspian isn't available in 64-bit. I mention that because there are many questions about raspberry in the forum. I know there are some build of Java sdk 11 in 32-bit but I'm not sure how reliable they are. I personally use JDK 8 for my pi's. Andreas.
aminoacid Well-Known Member Licensed User Longtime User Feb 10, 2020 #20 amykonio said: Hi Erel. Raspian isn't available in 64-bit. I mention that because there are many questions about raspberry in the forum. I know there are some build of Java sdk 11 in 32-bit but I'm not sure how reliable they are. I personally use JDK 8 for my pi's. Andreas. Click to expand... Yes... exactly my thoughts! There are also a lot of other boards out there with ARM7 processors (32 bit) which will need Java 8 Upvote 0
amykonio said: Hi Erel. Raspian isn't available in 64-bit. I mention that because there are many questions about raspberry in the forum. I know there are some build of Java sdk 11 in 32-bit but I'm not sure how reliable they are. I personally use JDK 8 for my pi's. Andreas. Click to expand... Yes... exactly my thoughts! There are also a lot of other boards out there with ARM7 processors (32 bit) which will need Java 8