You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Ben McCann (JIRA)" <ji...@apache.org> on 2012/04/22 01:04:33 UTC

[jira] [Created] (NUTCH-1345) JAVA_HOME should not be required

Ben McCann created NUTCH-1345:
---------------------------------

             Summary: JAVA_HOME should not be required
                 Key: NUTCH-1345
                 URL: https://issues.apache.org/jira/browse/NUTCH-1345
             Project: Nutch
          Issue Type: Improvement
    Affects Versions: 1.4
            Reporter: Ben McCann
            Priority: Minor


Trying to run Nutch spits out the message "Error: JAVA_HOME is not set."  I already have java on my path, so I really wish I didn't need to set JAVA_HOME.  It's an extra step to get up and running an is not updated by Ubuntu's update-alternatives, so it makes it a lot harder to switch between versions of Java.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Re: [jira] [Updated] (NUTCH-1345) JAVA_HOME should not be required

Posted by Simão Fontes <si...@gmail.com>.
Hello Ben,

Shouldn't Java home be kept but has an optional argument.
Imagine testing nutch on 2 different jdk to see what problems come up
(jdk 32bits vs jdk 64bits).

Just inputing my 2 cents.
Simão Fontes

On Mon, Apr 23, 2012 at 7:36 PM, Ben McCann (JIRA) <ji...@apache.org> wrote:
>
>     [ https://issues.apache.org/jira/browse/NUTCH-1345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> Ben McCann updated NUTCH-1345:
> ------------------------------
>
>    Description: Trying to run Nutch spits out the message "Error: JAVA_HOME is not set."  I already have java on my path, so I really wish I didn't need to set JAVA_HOME.  It's an extra step to get up and running and is not updated by Ubuntu's update-alternatives, so it makes it a lot harder to switch between versions of Java.  (was: Trying to run Nutch spits out the message "Error: JAVA_HOME is not set."  I already have java on my path, so I really wish I didn't need to set JAVA_HOME.  It's an extra step to get up and running an is not updated by Ubuntu's update-alternatives, so it makes it a lot harder to switch between versions of Java.)
>
>> JAVA_HOME should not be required
>> --------------------------------
>>
>>                 Key: NUTCH-1345
>>                 URL: https://issues.apache.org/jira/browse/NUTCH-1345
>>             Project: Nutch
>>          Issue Type: Improvement
>>    Affects Versions: 1.4
>>            Reporter: Ben McCann
>>            Priority: Minor
>>         Attachments: nutch, nutch.patch
>>
>>
>> Trying to run Nutch spits out the message "Error: JAVA_HOME is not set."  I already have java on my path, so I really wish I didn't need to set JAVA_HOME.  It's an extra step to get up and running and is not updated by Ubuntu's update-alternatives, so it makes it a lot harder to switch between versions of Java.
>
> --
> This message is automatically generated by JIRA.
> If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>



-- 
Web Operations engineer at arquivo.pt
https://sites.google.com/site/simaofontes/

[jira] [Commented] (NUTCH-1345) JAVA_HOME should not be required

Posted by "Lewis John McGibbney (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NUTCH-1345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13259622#comment-13259622 ] 

Lewis John McGibbney commented on NUTCH-1345:
---------------------------------------------

Hi Ben. Do you wish to submit a patch for this?
                
> JAVA_HOME should not be required
> --------------------------------
>
>                 Key: NUTCH-1345
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1345
>             Project: Nutch
>          Issue Type: Improvement
>    Affects Versions: 1.4
>            Reporter: Ben McCann
>            Priority: Minor
>
> Trying to run Nutch spits out the message "Error: JAVA_HOME is not set."  I already have java on my path, so I really wish I didn't need to set JAVA_HOME.  It's an extra step to get up and running an is not updated by Ubuntu's update-alternatives, so it makes it a lot harder to switch between versions of Java.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (NUTCH-1345) JAVA_HOME should not be required

Posted by "Ben McCann (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NUTCH-1345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ben McCann updated NUTCH-1345:
------------------------------

    Description: Trying to run Nutch spits out the message "Error: JAVA_HOME is not set."  I already have java on my path, so I really wish I didn't need to set JAVA_HOME.  It's an extra step to get up and running and is not updated by Ubuntu's update-alternatives, so it makes it a lot harder to switch between versions of Java.  (was: Trying to run Nutch spits out the message "Error: JAVA_HOME is not set."  I already have java on my path, so I really wish I didn't need to set JAVA_HOME.  It's an extra step to get up and running an is not updated by Ubuntu's update-alternatives, so it makes it a lot harder to switch between versions of Java.)
    
> JAVA_HOME should not be required
> --------------------------------
>
>                 Key: NUTCH-1345
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1345
>             Project: Nutch
>          Issue Type: Improvement
>    Affects Versions: 1.4
>            Reporter: Ben McCann
>            Priority: Minor
>         Attachments: nutch, nutch.patch
>
>
> Trying to run Nutch spits out the message "Error: JAVA_HOME is not set."  I already have java on my path, so I really wish I didn't need to set JAVA_HOME.  It's an extra step to get up and running and is not updated by Ubuntu's update-alternatives, so it makes it a lot harder to switch between versions of Java.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (NUTCH-1345) JAVA_HOME should not be required

Posted by "Ben McCann (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NUTCH-1345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ben McCann updated NUTCH-1345:
------------------------------

    Attachment: nutch
                nutch.patch

Here's a patch and the file with the patch applied.
                
> JAVA_HOME should not be required
> --------------------------------
>
>                 Key: NUTCH-1345
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1345
>             Project: Nutch
>          Issue Type: Improvement
>    Affects Versions: 1.4
>            Reporter: Ben McCann
>            Priority: Minor
>         Attachments: nutch, nutch.patch
>
>
> Trying to run Nutch spits out the message "Error: JAVA_HOME is not set."  I already have java on my path, so I really wish I didn't need to set JAVA_HOME.  It's an extra step to get up and running an is not updated by Ubuntu's update-alternatives, so it makes it a lot harder to switch between versions of Java.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira