I tried to set up sqoop (sqoop-1.4.3.bin__hadoop-1.0.0) on Ubuntu. I can run the basic sqoop help etc without problems. When I run the following I get an error:
Scoop creates java classes that represent the schema of the table you are importing in. So to create the classes you need the jdk instead of the jre.
Set the JAVA_HOME in the ./bashrc and the $HADOOP_HOME/conf/hadoop-env.sh as well.
./bashrc
$HADOOP_HOME/conf/hadoop-env.sh
That should work.