S Squiffy Active Member Licensed User Longtime User Oct 14, 2020 #1 I don't know if this is old news to people here, but the B4J IDE (including the designer) runs on Ubuntu 20.4 with the latest Crossover (V20). Crossover even has B4J as a known app, so the install is relatively painless. But - and there's always a but - when I try to run a simple program B4J complains "Robocopy.exe" is missing. I'm googling it all, but whilst I am has anyone else solved this? So, so close ...
I don't know if this is old news to people here, but the B4J IDE (including the designer) runs on Ubuntu 20.4 with the latest Crossover (V20). Crossover even has B4J as a known app, so the install is relatively painless. But - and there's always a but - when I try to run a simple program B4J complains "Robocopy.exe" is missing. I'm googling it all, but whilst I am has anyone else solved this? So, so close ...
Erel B4X founder Staff member Licensed User Longtime User Oct 14, 2020 #2 Good news! Squiffy said: But - and there's always a but - when I try to run a simple program B4J complains "Robocopy.exe" is missing. Click to expand... This one is very simple. Delete the selected line: It means that automatic synchronization of files from the shared files folder will not work. Not a big deal. Upvote 0
Good news! Squiffy said: But - and there's always a but - when I try to run a simple program B4J complains "Robocopy.exe" is missing. Click to expand... This one is very simple. Delete the selected line: It means that automatic synchronization of files from the shared files folder will not work. Not a big deal.
alwaysbusy Expert Licensed User Longtime User Oct 14, 2020 #3 As Crossover also has a Mac version, does this mean we can do the same to run B4J on Mac? Upvote 0
S Squiffy Active Member Licensed User Longtime User Oct 14, 2020 #4 Erel said: Good news! This one is very simple. ... Click to expand... Thank you, that worked. Next error : Error occurred during initialization of VM Could not reserve enough space for 2097152KB object heap Click to expand... Assume this is a Java thing. Is that a setting in B4J or something I need to address with the Java installation? I have that sinking feeling i might have spoken too soon ... Upvote 0
Erel said: Good news! This one is very simple. ... Click to expand... Thank you, that worked. Next error : Error occurred during initialization of VM Could not reserve enough space for 2097152KB object heap Click to expand... Assume this is a Java thing. Is that a setting in B4J or something I need to address with the Java installation? I have that sinking feeling i might have spoken too soon ...
Erel B4X founder Staff member Licensed User Longtime User Oct 14, 2020 #5 Close the IDE. Find the ini file (on Windows it is: C:\Users\<user>\AppData\Roaming\Anywhere Software\B4J and set MaxRamForDex to 1024. Upvote 0
Close the IDE. Find the ini file (on Windows it is: C:\Users\<user>\AppData\Roaming\Anywhere Software\B4J and set MaxRamForDex to 1024.
S Squiffy Active Member Licensed User Longtime User Oct 14, 2020 #6 alwaysbusy said: As Crossover also has a Mac version, does this mean we can do the same to run B4J on Mac? Click to expand... I tried on the free trial version for Linux. Seems fully functional so if you can give it a go and report back that would be great! Upvote 0
alwaysbusy said: As Crossover also has a Mac version, does this mean we can do the same to run B4J on Mac? Click to expand... I tried on the free trial version for Linux. Seems fully functional so if you can give it a go and report back that would be great!
S Squiffy Active Member Licensed User Longtime User Oct 14, 2020 #7 Erel said: Close the IDE. Find the ini file (on Windows it is: C:\Users\<user>\AppData\Roaming\Anywhere Software\B4J and set MaxRamForDex to 1024. Click to expand... Blow me down with a feather. It works! This has made my morning I'm sure there'll be snags a long the way, but until then, happy days. Upvote 0
Erel said: Close the IDE. Find the ini file (on Windows it is: C:\Users\<user>\AppData\Roaming\Anywhere Software\B4J and set MaxRamForDex to 1024. Click to expand... Blow me down with a feather. It works! This has made my morning I'm sure there'll be snags a long the way, but until then, happy days.
alwaysbusy Expert Licensed User Longtime User Oct 14, 2020 #8 Squiffy said: Seems fully functional so if you can give it a go and report back that would be great! Click to expand... Don't have a Mac myself, but if anyone who has can try it, would be nice to know as it is a much requested thing. Upvote 0
Squiffy said: Seems fully functional so if you can give it a go and report back that would be great! Click to expand... Don't have a Mac myself, but if anyone who has can try it, would be nice to know as it is a much requested thing.
udg Expert Licensed User Longtime User Oct 14, 2020 #9 It means that automatic synchronization of files from the shared files folder will not work Click to expand... Could robocopy be substituted by a properly written shell script? I mean, if the IDE instead of calling robocopy launches a script that does exactly the same smart moves of it, doesn't it solve the problem? BTW, it could be a script or any other executable code.. Upvote 0
It means that automatic synchronization of files from the shared files folder will not work Click to expand... Could robocopy be substituted by a properly written shell script? I mean, if the IDE instead of calling robocopy launches a script that does exactly the same smart moves of it, doesn't it solve the problem? BTW, it could be a script or any other executable code..
EnriqueGonzalez Expert Licensed User Longtime User Oct 14, 2020 #10 Maaan i really hope so! i would ditch windows forever Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Oct 14, 2020 #11 udg said: Could robocopy be substituted by a properly written shell script? I mean, if the IDE instead of calling robocopy launches a script that does exactly the same smart moves of it, doesn't it solve the problem? BTW, it could be a script or any other executable code.. Click to expand... It can be substituted with many simple things, however as we are talking about B4J here then this feature is not needed anyway. Once we see that it actually works we can pay attention to the smaller details. Upvote 0
udg said: Could robocopy be substituted by a properly written shell script? I mean, if the IDE instead of calling robocopy launches a script that does exactly the same smart moves of it, doesn't it solve the problem? BTW, it could be a script or any other executable code.. Click to expand... It can be substituted with many simple things, however as we are talking about B4J here then this feature is not needed anyway. Once we see that it actually works we can pay attention to the smaller details.
vecino Well-Known Member Licensed User Longtime User Oct 19, 2020 #12 Hello, this is good news. I want to install it but I don't know what "crossover" is. Upvote 0
makis_best Well-Known Member Licensed User Longtime User Oct 19, 2020 #13 I am interested about it also. I try to use Wine instead of Crossover. I report soon what happen. Upvote 0
makis_best Well-Known Member Licensed User Longtime User Oct 19, 2020 #14 vecino said: Hello, this is good news. I want to install it but I don't know what "crossover" is. Click to expand... It is a Linux application let you run windows applications inside Linux Upvote 0
vecino said: Hello, this is good news. I want to install it but I don't know what "crossover" is. Click to expand... It is a Linux application let you run windows applications inside Linux
vecino Well-Known Member Licensed User Longtime User Oct 19, 2020 #15 Thanks, I didn't know her. I will try it. Upvote 0
Jim Brown Active Member Licensed User Longtime User Oct 19, 2020 #16 I would be interested in trying to get B4X working under Linux too. I tried using PlayOnLinux to install B4J but get this log: "err:mscoree:CLRRuntimeInfo_GetRuntimeHost Wine Mono is not installed" The above is when installed as a 64 bit application. When installing as 32 bit and launching I just see "Error in main. B4J crashed." Last edited: Oct 19, 2020 Upvote 0
I would be interested in trying to get B4X working under Linux too. I tried using PlayOnLinux to install B4J but get this log: "err:mscoree:CLRRuntimeInfo_GetRuntimeHost Wine Mono is not installed" The above is when installed as a 64 bit application. When installing as 32 bit and launching I just see "Error in main. B4J crashed."
EnriqueGonzalez Expert Licensed User Longtime User Oct 19, 2020 #17 PlayOnLinux works with recipes to make the apps work. if someone hasnt found the right recipe it will try something generic and most likely fail, i used playonlinux with witcher 3 that of course run flawlessly Crossover uses the same approach but it has better settings to find the right recipe. theoretically you could do it to with vanilla wine but it could take several trials Upvote 0
PlayOnLinux works with recipes to make the apps work. if someone hasnt found the right recipe it will try something generic and most likely fail, i used playonlinux with witcher 3 that of course run flawlessly Crossover uses the same approach but it has better settings to find the right recipe. theoretically you could do it to with vanilla wine but it could take several trials
makis_best Well-Known Member Licensed User Longtime User Oct 19, 2020 #18 I try to do the same with wine but I get one error after installation saying An error occurred. Object reference not set to an instance of an object Click to expand... Any idea? Upvote 0
I try to do the same with wine but I get one error after installation saying An error occurred. Object reference not set to an instance of an object Click to expand... Any idea?
EnriqueGonzalez Expert Licensed User Longtime User Oct 20, 2020 #19 i was able to make the installation with the following preps: Crossover win7 32 bits netframework 2.0 netframework 2.0 sp2 netframework 4.0 netframework 4.6.2 b4j without 4.6.2 the ide opened but as a black screen, theoretically because of the wpf parts. i will anotate my findings here as i make progress Upvote 0
i was able to make the installation with the following preps: Crossover win7 32 bits netframework 2.0 netframework 2.0 sp2 netframework 4.0 netframework 4.6.2 b4j without 4.6.2 the ide opened but as a black screen, theoretically because of the wpf parts. i will anotate my findings here as i make progress
EnriqueGonzalez Expert Licensed User Longtime User Oct 20, 2020 #20 Next is the JDK choosing, we cant use JDK 11 because it is 64 bits and the bottle is 32 bits. (the reason i used 32 bits it was because Crossover sugested me that 64 bits were incompatible, i will try to do it after this test.) So, Crossover actually recomends: Azul Downloads Click here to download the Azul Zulu Builds of OpenJDK for Java 8, 11, 17, 21, 25 for Linux, Windows and macOS. Also download Azul Prime. www.azul.com java with zulu jdk 8 i586 Erel said: Close the IDE. Find the ini file (on Windows it is: C:\Users\<user>\AppData\Roaming\Anywhere Software\B4J and set MaxRamForDex to 1024. Click to expand... this was found in: home/<user>/.cxoffice/<bottlename>/dosdevices/c:/users/crossover/Application Data/Anywhere Software/B4J i was able to compile a server app and a UI app without issue. Upvote 0
Next is the JDK choosing, we cant use JDK 11 because it is 64 bits and the bottle is 32 bits. (the reason i used 32 bits it was because Crossover sugested me that 64 bits were incompatible, i will try to do it after this test.) So, Crossover actually recomends: Azul Downloads Click here to download the Azul Zulu Builds of OpenJDK for Java 8, 11, 17, 21, 25 for Linux, Windows and macOS. Also download Azul Prime. www.azul.com java with zulu jdk 8 i586 Erel said: Close the IDE. Find the ini file (on Windows it is: C:\Users\<user>\AppData\Roaming\Anywhere Software\B4J and set MaxRamForDex to 1024. Click to expand... this was found in: home/<user>/.cxoffice/<bottlename>/dosdevices/c:/users/crossover/Application Data/Anywhere Software/B4J i was able to compile a server app and a UI app without issue.