Category:B4J: Difference between revisions

Content added Content deleted
(updated home page link)
(better docs)
Line 1: Line 1:
{{language
{{language
|site=http://www.basic4ppc.com/android/b4j.html}}
|site=http://www.basic4ppc.com/android/b4j.html}}
B4J is a development tool very similar to Basic4android. Instead of generating Android applications, B4J generates standard Java applications. These applications can run on Windows, Linux and Mac computers.
B4J is a 100% free development tool, similar to Basic4android that generates cross platform, desktop, server and web applications.
B4J follows the same concepts of Basic4android, providing a simple and powerful development tool.


Q: Is B4J completely free, including for commercial purposes?<br>
B4J is designed to support all types of applications. In the first version there are two types, UI apps and Console apps.
A: Yes.


Q: What are the requirements for UI apps developers with B4J?<br>
UI apps are based on JavaFX 2 UI framework. These apps require Java 1.7 (update 6)+.
A: B4J UI apps depend on Java FX. Java FX is part of Java JRE 7 (build 6+). B4J UI apps will run on Windows, Mac, Linux and ARM Linux (Raspberry Pi for example) computers.


Q: Which file should be distributed?<br>
Console apps will usually not show any UI. These apps require Java 1.6+.
A: When you compile your project in Release mode, the complete app is packaged in a single jar file under the Objects folder. You should distribute this jar file.


Q: Can I reuse Basic4android code with B4J?<br>
In the future there might be more types such as server apps...
A: Most of the non-UI code can be reused. See this tutorial for more information.