Android Question JDK Error could not find androideasingfunctions-1.0.0.jar

Multiverse app

Active Member
Licensed User
Longtime User
I just reinstalled B4A, and I'm facing issues with jdk.

when I set the path "C:\Program Files\Java\jdk1.8.0_241\bin\javac.exe" I get the following error:
B4X:
B4A Version: 9.80
Java Version: 8
Parsing code.    (0.23s)
Building folders structure.    (0.02s)
Compiling code.    (1.47s)
Compiling layouts code.    (0.06s)
Organizing libraries.    (0.00s)
    (AndroidX SDK)
Generating R file.    (0.82s)
Compiling debugger engine code.    (4.10s)
Compiling generated Java code.    Error
Cannot find: C:\Program Files (x86)\Anywhere Software\Basic4android\libraries\androideasingfunctions-1.0.0.jar


And when I set the path as "C:\java\jdk-11.0.1\bin\javac.exe": I get the following error:
B4X:
B4A Version: 9.80
Java Version: 8
Parsing code.    (0.23s)
Building folders structure.    (0.04s)
Compiling code.    (1.24s)
Compiling layouts code.    (0.05s)
Organizing libraries.    (0.02s)
    (AndroidX SDK)
Generating R file.    (0.83s)
Compiling debugger engine code.    Error
Error: could not open `C:\java\jdk-11.0.1\lib\jvm.cfg'

Any solutions?
 

drgottjr

Expert
Licensed User
Longtime User
regarding the first issue, the .jar shouldn't have been put in with your b4a core. it should have gone in the add'l libraries folder. as to where you can find it, apparently here

once you have it (in your add'l libraries folder), you can simply refer to it in your app with:
B4X:
#AdditionalJar: androideasingfunctions-1.0.0            ' you don't need the .jar ext
(or maybe it's already there. did you look? if it's there, then use the #AdditionalJar line above)

as to #2, someone else will have to step forward.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…