Skip to content

Enhancement of install script (1.5.120906) #19

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1.openjdk or any version of JRE has been installed except 
sun-java6-jdk/sun-java6-jre
2.execute "install" script
3.installation succeeded but error occurs when starting namenode and jobtracker:
/opt/crawlzilla/nutch/bin/hadoop: line 258: /usr/lib/jvm/java-6-sun/bin/java: 
No such file or directory
/opt/crawlzilla/nutch/bin/hadoop: line 289: /usr/lib/jvm/java-6-sun/bin/java: 
No such file or directory


What is the expected output? What do you see instead?
The "install" script is good enough to recognize my Java version, however 
1. in the config file: Crawlzilla_Install/conf/nutch_conf/hadoop-env.sh, the 
JAVA_HOME has been fixed as /usr/lib/jvm/java-6-sun
I personally suggest this line should be changed like
export JAVA_HOME=$(dirname $(dirname $(readlink -e $(which java))))
2. Ubuntu 13.04 has no longer provided sun-java6-jdk sun-java6-jre 
sun-java6-fonts. In this cases, is it possible to set the install_array to
"openjdk-7-jdk openjdk-7-jre-lib"?


What version of the product are you using? On what operating system?
I'm using Crawlzilla-1.5.120906.tar.gz on Ubuntu 13.04 amd64.

Please provide any additional information below.
Thank you for everything!! Thank you for creating Crawlzilla!!

Original issue reported on code.google.com by maxubu...@gmail.com on 11 Oct 2013 at 5:55

Attachments:

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions