0

I am trying to extract tables from a PDF file using Python (Pycharm).

I tried the following code:

 from tabula import wrapper
 object = wrapper.read_pdf("C:/Users/Ojasvi/Desktop/sample.pdf")

However, the error i got was:

"tabula.errors.JavaNotFoundError: `java` command is not found from this Python process. Please ensure Java is installed and PATH is set for `java`"
Omkar
  • 2,085
  • 3
  • 15
  • 27
Ojasvi Jain
  • 49
  • 1
  • 5

1 Answers1

2

You probably need to add java to your system path. You can check those posts, they should help you in solving your problem:

dome
  • 796
  • 5
  • 19