https://github.com/ev3dev-lang-java/menu
A UX to run programs in EV3
https://github.com/ev3dev-lang-java/menu
Last synced: about 1 month ago
JSON representation
A UX to run programs in EV3
- Host: GitHub
- URL: https://github.com/ev3dev-lang-java/menu
- Owner: ev3dev-lang-java
- License: apache-2.0
- Created: 2019-09-01T08:56:18.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-09-01T10:25:52.000Z (over 6 years ago)
- Last Synced: 2025-10-24T22:28:49.342Z (2 months ago)
- Language: Java
- Size: 60.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ev3dev.menu
## Motivation
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.
## Goals
- [x] 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](https://openjdk.java.net/jeps/343)
## Initial works
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
```
## References
- http://lejos.org/
- https://sourceforge.net/p/lejos/ev3/code/ci/master/tree/EV3Menu/src/lejos/ev3/startup/JarMain.java
- https://openjdk.java.net/jeps/343