-
Notifications
You must be signed in to change notification settings - Fork 215
How to compile JAR ? Compatibility with ESP32 ? #38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
ESP32 plugin here: https://github.com/me-no-dev/arduino-esp32fs-plugin This is built using Arduino and not Processing :) |
Hi. Thanks for the link. But I still would like to be able to compile (myself) the .java to .jar. I got quite the same errors. Could you tell me the exacts steps to compile/build the .java to .jar ? This would be great. Thanks in advance. Best Regards. |
Please have a look at travis-ci build script in this repository, it has
exact steps.
…On Tue, Oct 24, 2017, 02:42 O19E4 ***@***.***> wrote:
Hi. Thanks for the link. But I still would like to be able to compile
(myself) the .java to .jar. I got quite the same errors. Could you tell me
the exacts steps to compile/build the .java to .jar ? This would be great.
Thanks in advance.
Best Regards.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#38 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEJceu1TVye9o_OFx_RS0Ky-FKseGR0vks5svN4FgaJpZM4QBqRa>
.
|
I got this same problem. The problem is you have to tell javac where those classes are. So I checked out the make.sh file, and saw on line 22 that that's the command you need for javac. Adapting to Windows and got this to work by running: |
I get the following:
Changing target 1.8 to target 17 fixed the problem. This creates multiple class files in the /bin folder. If I run jar -cf esp32fs.jar .\bin\com\esp32\mkspiffs*.class then it generates a jar file although when I copy it to the tools folder the Arduino IDE runs but then closes shortly after (the releases version of the jar runs fine though). Any ideas? |
Hi.
I planed to edit the ESP8266FS.java according to espressif/arduino-esp32#411, copercini 17 July.
I installed "jdk-8u152-windows-x64.exe" and, starting a bash GUI (providen with GIT installation) from "C:\Program Files (x86)\Arduino\tools\ESP8266FS\tool", I got following errors (see below).
Thanks in advance ;)
Regards.
The text was updated successfully, but these errors were encountered: