i have this error when im try to run ANT on my server .
BlocklyCompile:
[java] Exception in thread "main" java.lang.IllegalArgumentException: File not found at: /root/appinventor-sources/appinventor/blocklyeditor/../lib/closure-library/closure/goog
[java] at com.google.common.base.Preconditions.checkArgument(Preconditions.java:88)
[java] at org.plovr.Manifest.getInputs(Manifest.java:393)
[java] at org.plovr.Manifest.getFiles(Manifest.java:369)
[java] at org.plovr.Manifest.getFiles(Manifest.java:363)
[java] at org.plovr.Manifest.getAllDependencies(Manifest.java:324)
[java] at org.plovr.Manifest.getInputsInCompilationOrder(Manifest.java:193)
[java] at org.plovr.Manifest.getCompilerArguments(Manifest.java:177)
[java] at org.plovr.CompileRequestHandler.compile(CompileRequestHandler.java:94)
[java] at org.plovr.cli.BuildCommand.runCommandWithOptions(BuildCommand.java:58)
[java] at org.plovr.cli.BuildCommand.runCommandWithOptions(BuildCommand.java:31)
[java] at org.plovr.cli.AbstractCommandRunner.runCommand(AbstractCommandRunner.java:41)
[java] at org.plovr.cli.Command.execute(Command.java:47)
[java] at org.plovr.cli.Main.mainWithExitCode(Main.java:56)
[java] at org.plovr.cli.Main.main(Main.java:30)
/root/appinventor-sources/appinventor/build.xml:16: The following error occurred while executing this line:
/root/appinventor-sources/appinventor/build-common.xml:282: The following error occurred while executing this line:
/root/appinventor-sources/appinventor/blocklyeditor/build.xml:63: Java returned: 1
my config is :
java -version
java version "1.8.0_241"
Java(TM) SE Runtime Environment (build 1.8.0_241-b07)
Java HotSpot(TM) 64-Bit Server VM (build 25.241-b07, mixed mode)
javac -version
javac 1.8.0_241
ant -version
Apache Ant(TM) version 1.9.14 compiled on March 12 2019
BUILD FAILED
/root/appinventor-sources/appinventor/build.xml:16: The following error occurred while executing this line:
/root/appinventor-sources/appinventor/appengine/build.xml:553: Java returned: 137
[java] Compiling module com.google.appinventor.YaClient
[java] Ignored 3 units with compilation errors in first pass.
[java] Compile with -strict or with -logLevel set to DEBUG or WARN to see all errors.
[java] Ignored 2 units with compilation errors in first pass.
[java] Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
[java] Computing all possible rebind results for 'com.google.appinventor.client.editor.youngandroid.BlocklyPanel.BlocklySource'
[java] Rebinding com.google.appinventor.client.editor.youngandroid.BlocklyPanel.BlocklySource
[java] Invoking generator com.google.gwt.query.rebind.JsniBundleGenerator
[java] JsniBundleGenerator - importing external javascript: com/google/appinventor/client/editor/youngandroid/blockly.js
[java] Computing all possible rebind results for 'com.google.appinventor.client.utils.HTML5DragDrop.HTML5DragDropSupport'
[java] Rebinding com.google.appinventor.client.utils.HTML5DragDrop.HTML5DragDropSupport
[java] Invoking generator com.google.gwt.query.rebind.JsniBundleGenerator
[java] JsniBundleGenerator - importing external javascript: com/google/appinventor/client/utils/html5dnd.js
[java] Compiling 1 permutation
[java] Compiling permutation 0...
[java] Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000d5853000, 239775744, 0) failed; error='Cannot allocate memory' (errno=12)
[java] #
[java] # There is insufficient memory for the Java Runtime Environment to continue.
[java] # Native memory allocation (mmap) failed to map 239775744 bytes for committing reserved memory.
[java] # An error report file with more information is saved as:
[java] # /root/appinventor-sources/appinventor/appengine/hs_err_pid19635.log
BUILD FAILED
/root/appinventor-sources/appinventor/build.xml:16: The following error occurred while executing this line:
/root/appinventor-sources/appinventor/appengine/build.xml:553: Java returned: 1
See this issue which I created a few months ago because I have no knowledge about installation so you can check This I am not sure that is your solution is there or not but just check it
There are a lot of reasons the page might be blank. What errors do you see in the Network tab of your browser dev tools? Do you see any error messages in the console? Do you see any error messages in the various server logs? What’s the output of netstat -ntlp?
Do you have Apache acting as a reverse proxy? If not, that would likely explain why you're just seeing a blank screen. If you are, you may want to look at the apache error logs.
If you want something simpler, try stopping apache and then restarting your dev server. Note that the dev_server.sh has no security, so you'll want to take that into consideration if you're running it directly on port 80.