File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 33if [[ -z " $INSTALLDIR " ]]; then
44 INSTALLDIR=" $HOME /Documents/Arduino"
55fi
6+ if [[ -z " $IDEDIR " ]]; then
7+ IDEDIR=" /Applications/Arduino.app/Contents/Java/"
8+ # IDEDIR="../../../"
9+ fi
610echo " INSTALLDIR: $INSTALLDIR "
711
8- pde_path=` find ../../../ -name pde.jar`
9- core_path=` find ../../../ -name arduino-core.jar`
10- lib_path=` find ../../../ -name commons-codec-1.7.jar`
12+ pde_path=` find $IDEDIR -name pde.jar`
13+ core_path=` find $IDEDIR -name arduino-core.jar`
14+ lib_path=` find $IDEDIR -name commons-codec-1.7.jar`
1115if [[ -z " $core_path " || -z " $pde_path " ]]; then
1216 echo " Some java libraries have not been built yet (did you run ant build?)"
1317 return 1
@@ -19,7 +23,7 @@ echo "lib_path: $lib_path"
1923set -e
2024
2125mkdir -p bin
22- javac -target 1.8 -cp " $pde_path :$core_path :$lib_path " \
26+ /Library/Java/JavaVirtualMachines/openlogic-openjdk-8.jdk/Contents/Home/bin/ javac -target 1.8 -cp " $pde_path :$core_path :$lib_path " \
2327 -d bin src/ESP32FS.java
2428
2529pushd bin
You can’t perform that action at this time.
0 commit comments