EV3 Brick is the third generation of LEGO Mindstorms with the enough CPU & Memory to
run a complete Debian distro
and a JVM
.
When you run a program in Java, you open a terminal and type:
java -jar ./yourJar.jar
But when you are in a competition like FLL, you need some utility to load programs easily and this project try to tackle this problem.
- Run a Jar from another Jar
- Develop a UI to load files in a default folder from EV3
- Download files from github repos and run
- Package in the same program (JRI, Program, Dependencies) JEP 343
Currently, it is possible to execute a Jar from another Jar. Build the project:
mvn clean package
and copy the jar from target
folder to docs
and execute it from there.
In the folder docs, exist a jar created for the example demo.jar
java -jar menu-0.1.0-SNAPSHOT.jar
Running another jar
Hello World