I ran this with my project, and in the simplest mode it worked the first time I ran it.
I then added an instruction to write the resulting exe to a different folder, and received an "access denied" error.
I then removed this instruction - to go back to the original simplest mode and now get these errors:
I did recompile before running this last attempt. The complete path is C:\Local B4X\B4J Desktop Music Machine
I then added an instruction to write the resulting exe to a different folder, and received an "access denied" error.
I then removed this instruction - to go back to the original simplest mode and now get these errors:
B4X:
B4JPackager11 Version 1.20
Exe name: DesktopMusicMachine.exe
InputJar: C:\Local B4X\B4J Desktop Music Machine\Objects\DesktopMusicMachine.jar
main$ResumableSub_PrepareFolders.resume (java line: 1213)
java.io.FileNotFoundException: C:\LOCALB~1\B4JDES~1\Objects\temp\FindDosPath.exe (Access is denied)
at java.base/java.io.FileOutputStream.open0(Native Method)
at java.base/java.io.FileOutputStream.open(FileOutputStream.java:291)
at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:234)
at anywheresoftware.b4a.objects.streams.File.OpenOutput(File.java:439)
at anywheresoftware.b4a.objects.streams.File.Copy(File.java:337)
at b4j.example.main$ResumableSub_PrepareFolders.resume(main.java:1213)
at b4j.example.main._preparefolders(main.java:1047)
at b4j.example.main$ResumableSub_Start.resume(main.java:1518)
at b4j.example.main._start(main.java:1497)
at b4j.example.main._appstart(main.java:125)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:91)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:78)
at b4j.example.main.main(main.java:28)