Skip to content

Error No such file or directory-Errno::ENOENT #14

@Jasmeet2011

Description

@Jasmeet2011

HI, I am trying to read a word document but i keep getting the error below. I am using Windows 10 and
'echo %JAVA_HOME%' gives this
'C:\Program Files\Java\jdk1.8.0_191'

'C:/Ruby26-x64/lib/ruby/2.6.0/open3.rb:213:in spawn': No such file or directory - C:\Program Files\Java\jdk1.8.0_191/bin/java -Djava.awt.headless=true -jar C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/henkei-1.23.1/jar/tika-app-1.23.jar --config=C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/henkei-1.23.1/jar/tika-config.xml -t (Errno::ENOENT) from C:/Ruby26-x64/lib/ruby/2.6.0/open3.rb:213:in popen_run'
from C:/Ruby26-x64/lib/ruby/2.6.0/open3.rb:159:in popen2' from C:/Ruby26-x64/lib/ruby/2.6.0/open3.rb:342:in capture2'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/henkei-1.23.1/lib/henkei.rb:229:in client_read' from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/henkei-1.23.1/lib/henkei.rb:33:in read'
from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/henkei-1.23.1/lib/henkei.rb:81:in text' from -:3:in

'

If i go to command prompt and run
'java -Djava.awt.headless=true -jar C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/henkei-1.23.1/jar/tika-app-1.23.jar --config=C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/henkei-1.23.1/jar/tika-config.xml -t'
There is no error.
Can you pl guide.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions