Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7525683
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T03:37:09+00:00 2026-05-30T03:37:09+00:00

i am trying to run Nutch with Cygwin. I am having problems setting the

  • 0

i am trying to run Nutch with Cygwin. I am having problems setting the JAVA_HOME.

 $ export JAVA_HOME='/cygdrive/f/program files/java/jdk1.6.0_21'

When i run nutch command

$ bin/nutch crawl

i get

cygpath: can't convert empty path
bin/nutch: line 268: /cygdrive/f/program: No such file or directory
bin/nutch: line 268: exec: /cygdrive/f/program: cannot execute: No such file or directory

It appears that the space between program and files causes the problem /cygdrive/f/**program files**/java/jdk1.6.0_21

Is there a way that i can escape the space? Is there a better way to do this? Thanks

EDIT

At the end of the day, i had to re-install java in another directory with no space in its name.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T03:37:10+00:00Added an answer on May 30, 2026 at 3:37 am

    Try to use double quotes in:

    export JAVA_HOME="/cygdrive/f/program files/java/jdk1.6.0_21"
    

    and wherever the script uses the JAVA_HOME variable, for example:

    JAVA="$JAVA_HOME"/bin/java
    

    Regards

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to run Nutch on my Windows machine. I have Nutch, Java, Tomcat,
Trying to run my program through java web start. I get the following exception
I am trying run a program from a qmake .pro file which modifies the
Trying to run my program in FreeBSD OS, I have the following results: $
Trying to run a C++ program , I get segmentation faults which appear to
I wrote this C program for Win32/c compiler but while i'm trying run this
I'm trying run a simple Java/MySQL web app tutorial in NetBeans. I am able
Trying to run a simple Hello World C++ program on Eclipse (Galileo) CDT plugin
Trying to run a java test using bluecove, I got: Native Library bluecove_x64 not
I'm trying to run the Nutch crawler in a way that I can access

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.