Re: Jperf problem
> I'm really interested in using Iperf for network research. I would like
> to use it with Jperf as i've tried it under Windows and works very well.
> The thing is i need to run it on Linux too but am getting the following
> errors:
>
> Exception in thread "main"
> java.lang.ArrayIndexOutOfBoundsException: 2
> at JperfGUI.<init>(JperfGUI.java:141)
> at Jperf.main(Jperf.java:38)
>
> I am running Jperf wih the following command as instructed on the
webpage:
>
> headbangc1:/home/cscott/backup/benchmarking/jperf-1.0#java -classpath
> ./jcommon-0.7.2.jar:./jfreechart-0.9.6.jar:./jperf.jar: Jperf
>
> All .jar's are in the path, and iperf works correctly. My OS is Debian
> GNU/Linux with a 2.4.27-1-386 kernel running jre1.5.0_01
>
> Could someone point me in the right direction? Any help would be greatly
> appreciated.
> Cheers.
>
Is iperf in your $PATH ?
Try
echo $PATH
and see if iperf is in there. If not,
export PATH=$PATH:/path/to/iperf
and see if the errors persist.
If this fixes it, add it to your .bashrc file (found in your user's home
directory)
-Ron