CCNx: Java + Ant issues

Hi, there everybody, how is it going?

Recently, I’ve tried to install CCNx routing protocol on my Gentoo desktop and I got troubles with Java + Ant when I did “make test”. A missconfiguration issue.

My JAVA_HOME and ANT_HOME were okay, but my CLASSPATH variable wasn’t set. It was empty…

$ echo $JAVA_HOME
$ echo $ANT_HOME

And I fixed it by doing:

$ export CLASSPATH=$JAVA_HOME
$ echo $CLASSPATH

Append ANT_HOME/bin and JAVA_HOME/bin to PATH:

$ export PATH=$ANT_HOME/bin:$JAVA_HOME/bin:$PATH

That’s all,
Hope I helped you..

(I know, this post is incredibly simple 🙂 )

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s