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 6197203
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T03:46:42+00:00 2026-05-24T03:46:42+00:00

I am trying to install a local version of the Validator.nu server and it

  • 0

I am trying to install a local version of the Validator.nu server and it keeps failing on trying to build the HTML Parser.

It says it can’t find the JAVA_HOME variable which I have set in my .bashrc file and shows correctly when I type “echo $JAVA_HOME” at the prompt

Ideas appreciated thanks

Error output

"hg" pull --update -R build https://bitbucket.org/validator/build/
Not trusting file build/.hg/hgrc from untrusted user dave, group dave
Not trusting file /home/dave/src/checker/build/.hg/hgrc from untrusted user dave, group dave
warning: bitbucket.org certificate with fingerprint 81:2b:08:90:dc:d3:71:ee:e0:7c:b4:75:ce:9b:6c:48:94:56:a1:fe not verified (check hostfingerprints or web.cacerts config setting)
pulling from https://bitbucket.org/validator/build/
warning: bitbucket.org certificate with fingerprint 81:2b:08:90:dc:d3:71:ee:e0:7c:b4:75:ce:9b:6c:48:94:56:a1:fe not verified (check hostfingerprints or web.cacerts config setting)
searching for changes
no changes found
Error: The JAVA_HOME environment variable is not set.
Set the JAVA_HOME environment variable to the pathname of the directory where your JDK is installed.
  • 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-24T03:46:42+00:00Added an answer on May 24, 2026 at 3:46 am

    After tackling this for the last 4 days I have managed to get the validator.nu server running on my local Ubuntu VM and so I thought I would update this thread in case anyone else runs in to the same issues.

    I am still not 100% sure where the original issue with the JAVA_HOME variable was coming from but I suspect (although I am not an expert at this) that it had something to do with the way I was using sudo to run the python build.

    I was initially following the instructions on http://about.validator.nu/#src but using

    $ sudo python build/build.py all
    

    This was because part of the build needed the correct permissions to work.

    This is my step-by-step process which starts from a clean install of Ubuntu 11.

    • installed ubuntu 11
    • opened the terminal
    • sudo /bin/bash <———– I THINK THIS IS THE CRUCIAL LINE
    • apt-get install mercurial
    • apt-get install subversion
    • apt-get install openjdk-6-jre
    • apt-get install openjdk-6-jdk
    • export JAVA_HOME=/usr/lib/jvm/java-6-openjdk
    • follow rest of http://about.validator.nu/#src instructions

    I’m going to need to do it again when I set this up for the internal network for our build scripts so i’ll edit this if I’ve missed out on anything.

    Hope this saves another person’s headache and lost days!

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

Sidebar

Related Questions

I'm trying to install rails on Ubuntu 9.10. gem list --local *** LOCAL GEMS
I am trying to write a local program management and install system for my
I'm trying to setup a SQL database for a local program management and install
Trying to install the RMagick gem is failing with an error about being unable
Trying to install pear package and keep getting this strange error. Can you shed
I'm trying to install SQL Server 2005 Developer Edition on my Windows 7 Ultimate
I'm trying to install the latest happstack-server on osx. They just added a dependency
Trying to install this ipython version. infact there's a django-starter project which uses buildout
I'm trying to install redmine on a Centos server. I already have PHP and
I'm trying to install MySQL_python 1.2.2 (I specifically need this version, not the current

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.