Recent

Author Topic: LAMW could not find tools.jar [SOLVED]  (Read 1519 times)

Segator

  • Full Member
  • ***
  • Posts: 168
    • https://github.com/Nenirey
LAMW could not find tools.jar [SOLVED]
« on: November 14, 2020, 10:44:08 pm »
I recently update the lamw with the recents androidx changes and i can't build then, i attached the error, am using gradle 6.6.1, jdk 1.8.0_181 and android ndk r16b, i try to build the AppJCenterToyTikerServiceDemo1.
« Last Edit: November 15, 2020, 12:47:03 am by Segator »
i am Reinier, Nenirey and Segator :) https://github.com/Nenirey

jmpessoa

  • Hero Member
  • *****
  • Posts: 2330
Re: LAMW could not find tools.jar
« Reply #1 on: November 15, 2020, 12:00:04 am »

the error is:

"Could not find "tools.jar"  in  your java installation/folder...   

so fix your java!
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

Segator

  • Full Member
  • ***
  • Posts: 168
    • https://github.com/Nenirey
Re: LAMW could not find tools.jar
« Reply #2 on: November 15, 2020, 12:15:17 am »
but my java is fine bucause i can build with Ant (actually lamw with androidx) and with gradle lamw before the androidx changes, maybe some minimum version of java is needed now?
i am Reinier, Nenirey and Segator :) https://github.com/Nenirey

jmpessoa

  • Hero Member
  • *****
  • Posts: 2330
Re: LAMW could not find tools.jar
« Reply #3 on: November 15, 2020, 12:17:24 am »


you checked for

"tools.jar"  file in  your java installation/folder  ???? 
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

Segator

  • Full Member
  • ***
  • Posts: 168
    • https://github.com/Nenirey
Re: LAMW could not find tools.jar
« Reply #4 on: November 15, 2020, 12:25:10 am »
yes is present in c:\Program Files\Java\jdk1.8.0_181\lib\tools.jar , is in a wrong plase? maybe is needed some %% variable system set?
i am Reinier, Nenirey and Segator :) https://github.com/Nenirey

jmpessoa

  • Hero Member
  • *****
  • Posts: 2330
Re: LAMW could not find tools.jar
« Reply #5 on: November 15, 2020, 12:30:23 am »

 " jdk 1.8.0_181"

and 

 " jre 1.8.0_191"    ????   
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

Segator

  • Full Member
  • ***
  • Posts: 168
    • https://github.com/Nenirey
Re: LAMW could not find tools.jar
« Reply #6 on: November 15, 2020, 12:45:52 am »
finally i solved it coping the jdk lib folder to the jre lib folder, i don't not why they install in the wrong place  %), thanks for the replys jmpessoa.
i am Reinier, Nenirey and Segator :) https://github.com/Nenirey

 

TinyPortal © 2005-2018