JackKirk Well-Known Member Licensed User Longtime User Sep 4, 2018 #1 This is a bit weird. I have a very large B4J app that does video processing in an AWS EC2 instance. The main procedure has a total of 16 steps - which I have successfully broken out into separate ResumableSub subs - 1 per step. So no one sub is particularly large. I can successfully compile it from the B4J IDE - either with Release or Release(obfuscated). When I try to compile it using B4JBuilder I get: System.Exception: Error: src\b4j\example\main.java:3138: error: code too large }public static String _process_globals() throws Exception{ ^ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error Click to expand... I am assuming there is some option I can throw at B4JBuilder to fix this but what? Any help appreciated... Last edited: Sep 4, 2018
This is a bit weird. I have a very large B4J app that does video processing in an AWS EC2 instance. The main procedure has a total of 16 steps - which I have successfully broken out into separate ResumableSub subs - 1 per step. So no one sub is particularly large. I can successfully compile it from the B4J IDE - either with Release or Release(obfuscated). When I try to compile it using B4JBuilder I get: System.Exception: Error: src\b4j\example\main.java:3138: error: code too large }public static String _process_globals() throws Exception{ ^ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error Click to expand... I am assuming there is some option I can throw at B4JBuilder to fix this but what? Any help appreciated...
Erel B4X founder Staff member Licensed User Longtime User Sep 4, 2018 #2 It is strange as the command line builder invokes the same Java compiler. What is the size of Process_Globals? Upvote 0
It is strange as the command line builder invokes the same Java compiler. What is the size of Process_Globals?
JackKirk Well-Known Member Licensed User Longtime User Sep 5, 2018 #3 Erel, My apologies, In response to your post I dug deeper and realised what I was doing wrong. Explanation is a bit involved and definitely not of interest to forum members. Thanks... Upvote 0
Erel, My apologies, In response to your post I dug deeper and realised what I was doing wrong. Explanation is a bit involved and definitely not of interest to forum members. Thanks...