B4J Question [BANano] [SOLVED] Does it support running the the generated jar file outside the IDE with "java -jar"?

Mashiane

Expert
Licensed User
Longtime User
Hi there

Is it possible to run a generated jar file of ones project outside the IDE?

Currently B4JBuilder works well, I am not able to figure out how to get the proper "web" content out from running "javar -jar" from the command line.

Any help would be appreciated and thanks in advance
 
Solution
BANano is not supposed to work outside the IDE or standalone. It is a plugin for the B4J IDE, hence it should only work when used from within it. It needs all the B4X source code (including the ones in the .b4xlibs) and B4J installed to work as intended. BANano is a 'one-time' process like building a .jar in B4J. Just like B4J transpiles B4X code to Java once, BANano transpiles B4X code to JavaScript once. It is only needed to re-transpile if the developer makes changes to the B4X code.

I'll add some extra checks so that this is more clear if someone tries to do this.

Alwaysbusy

alwaysbusy

Expert
Licensed User
Longtime User
BANano is not supposed to work outside the IDE or standalone. It is a plugin for the B4J IDE, hence it should only work when used from within it. It needs all the B4X source code (including the ones in the .b4xlibs) and B4J installed to work as intended. BANano is a 'one-time' process like building a .jar in B4J. Just like B4J transpiles B4X code to Java once, BANano transpiles B4X code to JavaScript once. It is only needed to re-transpile if the developer makes changes to the B4X code.

I'll add some extra checks so that this is more clear if someone tries to do this.

Alwaysbusy
 
Upvote 2
Solution
Top